Get State Path For Commitment

Get the state path for the given commitment. The state path proves existence of the transition leaf to either a global or local state root.

ENDPOINT

GET https://api.data123.io/aleo/<API KEY>/v1/testnet3/statePath/{commitment}

Arguments

ParameterTypeRequestDescription

commitment

string

Yes

The record commitment in the best valid chain

Response

ParameterTypeDescription

global_state_root

string

The global state root

block_path

string

The Merkle path for the block hash

block_hash

string

The block hash

previous_block_hash

string

The previous block hash

header_root

string

The block header root

header_path

string

The Merkle path for the block header leaf

header_leaf

string

The block header leaf

transactions_path

string

The Merkle path for the transaction ID

transaction_id

string

The transaction ID

transaction_path

string

The Merkle path for the transaction leaf

transaction_leaf

string

The transaction leaf

transition_path

string

The Merkle path for the transition leaf

transition_leaf

string

The transition leaf

Request

curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/statePath/{commitment}

Last updated