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
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 --request POST \
--url https://mainnet.helius-rpc.com/ \
--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
}
]
}
成功从Solana区块链检索多个压缩账户证明
The response is of type object
.
curl --request POST \
--url https://mainnet.helius-rpc.com/ \
--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
}
]
}