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": "getMultipleNewAddressProofsV2",
"params": [
{
"address": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"tree": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD"
}
]
}'
{
"context": {
"slot": 100
},
"value": [
{
"address": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"higherRangeAddress": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"lowElementLeafIndex": 1,
"lowerRangeAddress": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"merkleTree": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"nextIndex": 1,
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
]
}
成功从Solana压缩服务检索多个新的地址证明(V2)
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": "getMultipleNewAddressProofsV2",
"params": [
{
"address": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"tree": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD"
}
]
}'
{
"context": {
"slot": 100
},
"value": [
{
"address": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"higherRangeAddress": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"lowElementLeafIndex": 1,
"lowerRangeAddress": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"merkleTree": "11111118F5rixNBnFLmioWZSYzjjFuAL5dyoDVzhD",
"nextIndex": 1,
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
]
}