New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
简体中文
返回压缩程序用于验证账户有效性的多个证明。
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getMultipleCompressedAccountProofs", "params": [ "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP" ] } '
{ "context": { "slot": 100 }, "value": [ { "hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP", "leafIndex": 1, "merkleTree": "11111117SQekjmcMtR25wEPPiL6m1Mb5586NkLL4X", "proof": [ "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP" ], "root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP", "rootSeq": 1 } ] }
您的 Helius API 密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议的版本。
2.0
用于标识请求的 ID。
要调用的方法名称。
getMultipleCompressedAccountProofs
一个32字节的哈希,以base58字符串表示。
成功从Solana区块链检索多个压缩账户证明
显示 子属性
100
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
x >= 0
一个Solana公钥,以base58字符串表示。
"11111117SQekjmcMtR25wEPPiL6m1Mb5586NkLL4X"
此页面对您有帮助吗?