POST
/
nodes
/
claim-funds
curl --request POST \
  --url http://localhost:3001/nodes/claim-funds \
  --header 'Content-Type: application/json' \
  --data '{
  "gas": "<string>",
  "gas_budget": 1,
  "gas_price": 1,
  "node_badge_id": "<string>",
  "stack_small_ids": [
    123
  ]
}'
{
  "tx_digest": "<string>"
}

Body

application/json

Represents a request to claim funds from a stack.

This struct encapsulates the necessary parameters for claiming funds from a stack, including optional gas-related fields.

stack_small_ids
integer[]
required

The small IDs of the stacks to claim funds from.

gas
string

Optional gas object ID. If not provided, the default is None.

gas_budget
integer | null

Optional gas budget. If not provided, the default is None.

Required range: x >= 0
gas_price
integer | null

Optional gas price. If not provided, the default is None.

Required range: x >= 0
node_badge_id
string

Optional node badge IDs. If not provided, the default is None.

Response

200
application/json
Node claim funds successful

Represents a response to a node claim funds request.

This struct contains the transaction digest, which is a unique identifier for the transaction associated with the claim funds.

tx_digest
string
required

The associated transaction digest.