ZK Compression
getMultipleNewAddressProofsV2 Solana RPC Method
API Reference
Solana RPC APIs
- HTTP Methods
- WebSocket Methods
Solana APIs
- Digital Asset Standard (DAS)
- Priority Fee
- Enhanced Transactions
- ZK Compression
- Overview
- POSTgetCompressedAccount
- POSTgetCompressedAccountProof
- POSTgetCompressedAccountsByOwner
- POSTgetCompressedBalance
- POSTgetCompressedBalanceByOwner
- POSTgetCompressedMintTokenHolders
- POSTgetCompressedTokenAccountBalance
- POSTgetCompressedTokenAccountsByDelegate
- POSTgetCompressedTokenAccountsByOwner
- POSTgetCompressedTokenBalancesByOwner
- POSTgetCompressedTokenBalancesByOwnerV2
- POSTgetCompressionSignaturesForAccount
- POSTgetCompressionSignaturesForAddress
- POSTgetCompressionSignaturesForOwner
- POSTgetCompressionSignaturesForTokenOwner
- POSTgetIndexerHealth
- POSTgetIndexerSlot
- POSTgetLatestCompressionSignatures
- POSTgetLatestNonVotingSignatures
- POSTgetMultipleCompressedAccountProofs
- POSTgetMultipleCompressedAccounts
- POSTgetMultipleNewAddressProofs
- POSTgetMultipleNewAddressProofsV2
- POSTgetTransactionWithCompressionInfo
- POSTgetValidityProof
Data Streaming APIs
- LaserStream gRPC
Event Listening APIs
- Webhooks
Deprecated APIs
- Token Metadata
- Mint
ZK Compression
getMultipleNewAddressProofsV2 Solana RPC Method
Returns proofs that the new addresses are not taken already and can be created.
POST
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
}
]
}
Authorizations
Body
application/json
Response
200
application/json
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
}
]
}