New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
返回签名列表的状态。每个签名必须是一个交易的第一个签名,即 txid。
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getSignatureStatuses", "params": [ [ "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW" ], { "searchTransactionHistory": true } ] } '
{ "jsonrpc": "2.0", "id": "1", "result": { "context": { "slot": 82 }, "value": [ { "slot": 48, "confirmations": 48, "err": null, "confirmationStatus": "finalized" }, null ] } }
您的Helius API密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议版本。
2.0
"2.0"
请求的唯一标识符。
"1"
要调用的 RPC 方法名称。
getSignatureStatuses
"getSignatureStatuses"
包含交易签名和可选配置对象的数组。
交易签名数组(最多 256 个),以 base-58 编码的字符串形式。
成功检索到签名状态。
JSON-RPC协议版本。
与请求匹配的标识符。
包含上下文和签名状态值。
显示 子属性
此页面对您有帮助吗?