TypeScript
Nodes
Create node
This endpoint allows nodes to register or update their public address in the system. When a node comes online or changes its address, it can use this endpoint to ensure the system has its current address for routing requests.
Errors
Returns various AtomaProxyError variants:
MissingHeader- If the signature header is missingInvalidHeader- If the signature header is malformedInvalidBody- If:- The request body cannot be read
- The signature is invalid
- The body cannot be parsed
- The sui address doesn’t match the signature
InternalError- If:- The state manager channel is closed
- The registration event cannot be sent
- Node Sui address lookup fails
POST
TypeScript
Body
application/json
Response
Node public address registered successfully
The message of the response