Metode RPC getInflationGovernor
Mengembalikan pengatur inflasi saat ini
$ 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
Objek konfigurasi.
result
Response
{"jsonrpc": "2.0","result": {"foundation": 0.05,"foundationTerm": 7,"initial": 0.15,"taper": 0.15,"terminal": 0.015},"id": 1}
object
Bidang hasil akan berupa objek JSON dengan bidang-bidang berikut:
Is this page helpful?