TokenLock created on the DAG L1 layer.
All endpoints return the following response headers:
- X-Id — The node’s public key identifier
- X-Session-Token — The current cluster session token
- Request-Signature — Cryptographic signature of the response for verification
Prerequisites: Before posting node collateral, you must create a
TokenLock via the DAG L1 /token-locks endpoint. The hash of that token lock transaction is used as tokenLockRef in collateral requests.POST /node-collateral
Submits a signed node collateral creation request. The collateral will be included in the next global snapshot.SignedCreateNodeCollateral
The node collateral creation payload
Array of cryptographic signature proofs from the source address owner
200 OK
Hash of the accepted node collateral creation transaction
400 Bad Request
Array of error cause objects with
message fields describing the rejection reason503 Service Unavailable
Node is not in Ready state.
PUT /node-collateral
Withdraws an existing node collateral position. The locked tokens are released after the unlock period has elapsed.SignedWithdrawNodeCollateral
Same envelope structure as POST /node-collateral but with a WithdrawNodeCollateral payload containing source, tokenLockRef, and parent.
Response 200 OK
Hash of the accepted node collateral withdrawal transaction
400 Bad Request
Invalid withdrawal request. Returns an ErrorResponse with rejection reasons.
Response 503 Service Unavailable
Node is not in Ready state.
GET /node-collateral//info
Returns all node collateral positions (active and pending withdrawal) for a given address.DAG wallet address to query
200 OK
The queried wallet address
Currently active node collateral positions
Collateral positions in the withdrawal pending state (same schema as
activeNodeCollaterals)503 Service Unavailable
Node is not in Ready state.
GET /node-collateral/last-reference/
Returns the last node collateral transaction reference for a given address. Use this to build theparent field for new collateral requests.
DAG wallet address
200 OK
Ordinal of the last node collateral transaction (0 if none)
Hash of the last node collateral transaction (empty string if none)
503 Service Unavailable
Node is not in Ready state.