Nodes
Create node
Changed onThis 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 missing
- InvalidHeader - If the signature header is malformed
- InvalidBody - 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/v1/nodes
Request
- Base URLhttps://api.atoma.network
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Node public address registered successfully
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking