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

Body

application/json

Represents a request to submit a node attestation proof.

This struct encapsulates the necessary parameters for submitting a node attestation proof.

stack_small_ids
integer[]
required

The small IDs of the stacks to attest to.

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_small_id
integer | null

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

Response

200
application/json
Node attestation proof successful

Represents a response to a node attestation proof request.

This struct contains the transaction digests, which are unique identifiers for the transactions associated with the attestation proof.

tx_digests
string[]
required

The transaction digests.