getInflationGovernor

Returns the current inflation governor.

https://api.1inch.com/web3/501
Supported on:
Solana

Request

Request
object
jsonrpc
* string (Enum)
2.0
method
* string
params
array
items
any
id
* number
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const response = await fetch('https://api.1inch.com/web3/501', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${API_KEY}`,
  },
  body: JSON.stringify({
    jsonrpc: '2.0',
    method: 'getInflationGovernor',
    params: [],
    id: 1,
  }),
});

const data = await response.json();
console.log(data);

Response

Inflation Governor Response

Inflation Governor Response
object
foundation
* number
foundationTerm
* number
initial
* number
taper
* number
terminal
* number
additionalProperties
none
JSON
1
2
3
4
5
6
7
8
{
  "foundation": 0.05,
  "foundationTerm": 7,
  "initial": 0.15,
  "taper": 0.15,
  "terminal": 0.015
}

Did you find what you need?