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": "getCompressionSignaturesForAccount",
"params": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
}
}'
{
"context": {
"slot": 100
},
"value": {
"items": [
{
"blockTime": 1714081554,
"signature": "5J8H5sTvEhnGcB4R8K1n7mfoiWUD9RzPVGES7e3WxC7c",
"slot": 100
}
]
}
}
成功从Solana区块链检索到指定账户的压缩签名
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": "getCompressionSignaturesForAccount",
"params": {
"hash": "11111112cMQwSC9qirWGjZM6gLGwW69X22mqwLLGP"
}
}'
{
"context": {
"slot": 100
},
"value": {
"items": [
{
"blockTime": 1714081554,
"signature": "5J8H5sTvEhnGcB4R8K1n7mfoiWUD9RzPVGES7e3WxC7c",
"slot": 100
}
]
}
}