Shred Delivery and Sender are now live! Get earliest access to raw Solana data and optimized transaction sending. Learn about Shred Delivery | Learn about Sender
简体中文
返回压缩程序用于验证账户有效性的证明。
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getCompressedAccountProof", "params": { "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP" } }'
{ "context": { "slot": 100 }, "value": { "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP", "leafIndex": 1, "merkleTree": "11111117353mdUKehx9GW6JNHznGt5oSZs9fWkVkB", "proof": [ "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP" ], "root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP", "rootSeq": 1 } }
您的 Helius API 密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议的版本。
2.0
用于标识请求的 ID。
用于检索 Solana 压缩账户证明数据的方法名称。
getCompressedAccountProof
Show child attributes
成功检索到请求的 Solana 压缩账户的默克尔证明
此页面对您有帮助吗?