Claimed Stacks management
Claimed Stack Management
Get All Claimed Stacks
Returns all claimed stacks for the currently registered node badges.
Response Status Codes
200 OK
: Successfully retrieved claimed stacks500 Internal Server Error
: Failed to retrieve claimed stacks from state manager
Response
Response Fields
stack_small_id
(integer): Unique small integer identifier for the stackstack_id
(string): Unique string identifier for the stackselected_node_id
(integer): ID of the node that claimed the stacknum_claimed_compute_units
(integer): Number of compute units claimed for settlementsettlement_time
(string): ISO timestamp when the settlement was initiatedattestation_status
(string): Current status of attestations ("Pending", "Complete", "Failed")requested_attestation_nodes
(string): JSON array of node IDs requested for attestationreceived_attestations
(integer): Number of attestations received so farrequired_attestations
(integer): Total number of attestations requiredsettlement_complete
(boolean): Whether the settlement process is complete
Get Node Claimed Stacks
Returns all claimed stacks for a specific node identified by its small ID.
Parameters
id
(path, integer): Node small ID
Response Status Codes
200 OK
: Successfully retrieved claimed stacks500 Internal Server Error
: Failed to retrieve claimed stacks from state manager
Response
Same format as Get All Claimed Stacks, filtered for the specified node.
Example Error Response
Notes
Claimed stacks represent stacks that have entered the settlement process
The settlement process requires attestations from other nodes
A stack is considered fully settled when:
Required number of attestations is received
All attestations are positive
No disputes are raised during the settlement period
The
requested_attestation_nodes
field contains a JSON-encoded array of node IDsSettlement status can be determined by comparing
received_attestations
withrequired_attestations
Last updated