Skip to main content

getAssetProofs RPC Method

Returns the merkle tree proof information for compressed assets.

Updated on
Jan 17, 2024

getAssetProofs RPC Method

Please note that this RPC method requires the Metaplex Digital Asset Standard API add-on enabled on your QuickNode endpoint.

Parameters

ids
array of strings
REQUIRED
The ids of the assets

Returns

result
array of objects
An array of objects containing the merkle tree proof information about the specified assets:
root
string
The root
proof
array of strings
The asset proof
node_index
integer
The node index of the asset
leaf
string
The leaf of the asset
tree_id
string
The merkle tree id of the asset
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc": "2.0","id": 1,"method": "getAssetProofs","params": {"ids": ["D85MZkvir9yQZFDHt8U2ZmS7D3LXKdiSjvw2MBdscJJa", "7NyFs3hmQjqJkp88mUMuKTWuMxhhPMbfpb948qn7JxWH"]}}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free