New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
返回当前纪元的具体通胀值。
cURL
curl --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "1", "method": "getInflationRate" } '
{ "jsonrpc": "2.0", "id": "1", "result": { "total": 0.149, "validator": 0.148, "foundation": 0.001, "epoch": 100 } }
您的Helius API密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议版本。
2.0
"2.0"
请求的唯一标识符。
"1"
要调用的 RPC 方法名称。
getInflationRate
"getInflationRate"
成功检索到通货膨胀率信息。
与请求匹配的标识符。
当前 Solana 代币经济通胀指标的详细细分。
显示 子属性
此页面对您有帮助吗?