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": "getMultipleNewAddressProofs",
"params": [
"11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs"
]
}'
{
"context": {
"slot": 100
},
"value": [
{
"address": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"higherRangeAddress": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"lowElementLeafIndex": 1,
"lowerRangeAddress": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"merkleTree": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"nextIndex": 1,
"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": "getMultipleNewAddressProofs",
"params": [
"11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs"
]
}'
{
"context": {
"slot": 100
},
"value": [
{
"address": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"higherRangeAddress": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"lowElementLeafIndex": 1,
"lowerRangeAddress": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"merkleTree": "11111117qkFjr4u54stuNNUR8fRF8dNhaP35yvANs",
"nextIndex": 1,
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
]
}