Nodes
Create a node lock for confidential compute
Changed onThis endpoint attempts to find a suitable node and retrieve its public key for encryption through a two-step process:
- First, it tries to select an existing node with a public key directly.
- If no node is immediately available, it falls back to finding the cheapest compatible node and acquiring a new stack entry for it.
This endpoint is specifically designed for confidential compute scenarios where requests need to be encrypted before being processed by nodes.
Errors
- INTERNAL_SERVER_ERROR - Communication errors or missing node public keys
- SERVICE_UNAVAILABLE - No nodes available for confidential compute
post/v1/nodes/lock
Request
- Base URLhttps://api.atoma.network
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Node DH public key requested successfully
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
- warning
removed the request property
- warning
removed the request property
- warning