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
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getInflationReward", "params": [ [ "6dmNQ5jwLeLk5REvio1JcMshcbvkYMwy26sJ8pbkvStu" ] ] }'
{ "jsonrpc": "2.0", "id": "1", "result": [ { "epoch": 2, "effectiveSlot": 224, "amount": 2500, "postBalance": 499999442500, "commission": 5 } ] }
您的Helius API密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议版本。
2.0
"2.0"
请求的唯一标识符。
"1"
要调用的 RPC 方法名称。
getInflationReward
"getInflationReward"
方法的参数。
Show child attributes
成功检索到通胀奖励信息。
JSON-RPC协议版本。
与请求匹配的标识符。
每个请求账户的详细质押奖励信息数组,顺序与请求相同。
此页面对您有帮助吗?