Skip to main content
POST
getAssetProof

Request Parameters

string
required
The unique identifier (mint address) of the compressed Solana NFT to retrieve the merkle proof for.

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
default:1
required

An ID to identify the request.

method
enum<string>
default:getAssetProof
required

The name of the DAS method to invoke.

Available options:
getAssetProof
params
object
required

Response

Successful response

last_indexed_slot
integer

All data up to and including this slot is guaranteed to have been indexed.

Example:

365750752

root
string

The root hash of the Solana state compression merkle tree that contains this compressed NFT.

Example:

"2o6Y6EiY3WXhoaEpei2pHmHLYnHDcEQVhgD89GrGHDBH"

proof
string[]

The array of merkle proof hashes needed to cryptographically verify this Solana compressed NFT exists in the tree.

node_index
integer

The position index of this compressed NFT in the Solana merkle tree structure.

Example:

16384

leaf
string

The leaf hash representing this compressed NFT's data in the Solana merkle tree.

Example:

"6YdZXw49M97mfFTwgQb6kxM2c6eqZkHSaW9XhhoZXtzv"

tree_id
string

The unique identifier of the Solana merkle tree where this compressed NFT is stored.

Example:

"2kuTFCcjbV22wvUmtmgsFR7cas7eZUzAu96jzJUvUcb7"

burnt
any