curl --request POST \
--url https://devnet.helius-rpc.com/getMultipleNewAddressProofs \
--header 'Content-Type: application/json' \
--data '
{
"id": "test-account",
"jsonrpc": "2.0",
"method": "getMultipleNewAddressProofs",
"params": [
"111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj"
]
}
'{
"id": "test-account",
"jsonrpc": "2.0",
"error": {
"code": 123,
"message": "<string>"
},
"result": {
"context": {
"slot": 100
},
"value": [
{
"address": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"higherRangeAddress": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"lowElementLeafIndex": 1,
"lowerRangeAddress": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"merkleTree": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"nextIndex": 1,
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
]
}
}Retrieve proofs that the new addresses are not taken already and can be created. Overview with RPC method guide.
curl --request POST \
--url https://devnet.helius-rpc.com/getMultipleNewAddressProofs \
--header 'Content-Type: application/json' \
--data '
{
"id": "test-account",
"jsonrpc": "2.0",
"method": "getMultipleNewAddressProofs",
"params": [
"111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj"
]
}
'{
"id": "test-account",
"jsonrpc": "2.0",
"error": {
"code": 123,
"message": "<string>"
},
"result": {
"context": {
"slot": 100
},
"value": [
{
"address": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"higherRangeAddress": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"lowElementLeafIndex": 1,
"lowerRangeAddress": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"merkleTree": "111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj",
"nextIndex": 1,
"proof": [
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
],
"root": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP",
"rootSeq": 1
}
]
}
}An ID to identify the request.
test-account The version of the JSON-RPC protocol.
2.0 The name of the method to invoke.
getMultipleNewAddressProofs A Solana public key represented as a base58 string.
An ID to identify the response.
test-account The version of the JSON-RPC protocol.
2.0 Show child attributes
Show child attributes
A Solana public key represented as a base58 string.
"111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj"
A Solana public key represented as a base58 string.
"111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj"
x >= 0A Solana public key represented as a base58 string.
"111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj"
A Solana public key represented as a base58 string.
"111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj"
x >= 0A 32-byte hash represented as a base58 string.
A 32-byte hash represented as a base58 string.
"11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
x >= 0Was this page helpful?