跳转到主要内容
POST
/
cURL
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

api-key
string
query
required

您的 Helius API 密钥。您可以在仪表板中免费获取一个。

Body

application/json
jsonrpc
enum<string>
default:2.0
required

JSON-RPC 协议的版本。

Available options:
2.0
id
string
default:1
required

用于标识请求的 ID。

method
enum<string>
default:getMultipleNewAddressProofsV2
required

要调用的方法名称。

Available options:
getMultipleNewAddressProofsV2
params
object[]
required

Response

成功从Solana压缩服务检索多个新的地址证明(V2)

context
object
required
value
object[]
required
I