طريقة RPC لـ getInflationGovernor
يُرجع حاكم التضخم الحالي
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getInflationGovernor",> "params": [> {> "commitment": "finalized"> }> ]> }> '
params
objectoptional
كائن التكوين.
result
Response
{"jsonrpc": "2.0","result": {"foundation": 0.05,"foundationTerm": 7,"initial": 0.15,"taper": 0.15,"terminal": 0.015},"id": 1}
object
سيكون حقل النتيجة كائن JSON يحتوي على الحقول التالية:
Is this page helpful?