> For the complete documentation index, see [llms.txt](https://docs.coinvera.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coinvera.io/integration/solana/rpc/getinflationgovernor.md).

# getInflationGovernor

The `getInflationGovernor` RPC method returns the **current inflation governance parameters** for the Solana cluster. These parameters define how new SOL is issued over time—shaping the network’s **tokenomics**, **staking incentives**, and **long-term monetary policy**.

***

#### ✅ Common Use Cases

* **Economic Modeling**\
  Analyze how SOL issuance is structured over time to forecast total supply growth, dilution, and monetary policy effects.
* **Staking Reward Calculations**\
  While `getInflationRate` gives the current annual rate, `getInflationGovernor` reveals the underlying **inflation trajectory**, which affects long-term staking returns.
* **Tokenomics Transparency**\
  Understand how inflation is tapered and what portion is allocated to the **Solana Foundation**, helping projects and investors assess sustainability and incentive structures.

***

#### 🛠 Request Parameters

This method accepts an **optional configuration object**:

* **`commitment`** (*string, optional*):\
  The commitment level for querying the ledger. Common values:
  * `finalized` *(default)*
  * `confirmed`
  * `processed`

***

#### 📦 Response Structure

The response includes an object with the following inflation parameters (all `f64` floating-point numbers):

| Field            | Type | Description                                                                          |
| ---------------- | ---- | ------------------------------------------------------------------------------------ |
| `initial`        | f64  | Initial annual inflation rate (e.g., `0.15` = 15%).                                  |
| `terminal`       | f64  | Long-term terminal inflation rate (e.g., `0.015` = 1.5%).                            |
| `taper`          | f64  | Year-over-year decrease rate for inflation (e.g., `0.15` = 15% reduction each year). |
| `foundation`     | f64  | Portion of inflation allocated to the Solana Foundation (e.g., `0.05` = 5%).         |
| `foundationTerm` | f64  | Duration in years over which the foundation allocation is distributed.               |

***

#### 💡 Example: Fetch Inflation Governance Parameters

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getInflationGovernor"
}
```

With optional commitment:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getInflationGovernor",
  "params": [
    { "commitment": "confirmed" }
  ]
}
```

***

**Code Examples**

{% tabs %}
{% tab title="Nodejs" %}

```javascript
const fetch = require('node-fetch');

async function getInflationGovernor(rpcUrl) {
  try {
    const response = await fetch(rpcUrl, {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        jsonrpc: '2.0',
        id: 1,
        method: 'getInflationGovernor',
        "params":[{"commitment":"confirmed"}]
      }),
    });

    const data = await response.json();
    
    // Print the exact full response
    console.log('Full RPC Response:');
    console.log(JSON.stringify(data, null, 2));
    
    return data;
  } catch (error) {
    console.error('Error getting health:', error.message);
    return null;
  }
}

// Example usage
const RPC_URL = 'https://rpc.coinvera.io/?x-api-key=your-coinvera-x-api-key';

getInflationGovernor(RPC_URL);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
import json

def get_inflation_governor(rpc_url):
    try:
        response = requests.post(
            rpc_url,
            headers={
                'Content-Type': 'application/json',
            },
            json={
                'jsonrpc': '2.0',
                'id': 1,
                'method': 'getInflationGovernor',
                'params': [{'commitment': 'confirmed'}]
            }
        )
        
        data = response.json()
        
        # Print the exact full response
        print('Full RPC Response:')
        print(json.dumps(data, indent=2))
        
        return data
        
    except Exception as error:
        print(f'Error getting health: {error}')
        return None

# Example usage
RPC_URL = 'https://rpc.coinvera.io/?x-api-key=your-coinvera-x-api-key'
get_inflation_governor(RPC_URL)
```

{% endtab %}
{% endtabs %}

**Example Response**

```json
{
  "jsonrpc": "2.0",
  "result": {
    "foundation": 0,
    "foundationTerm": 0,
    "initial": 0.08,
    "taper": 0.15,
    "terminal": 0.015
  },
  "id": 1
}
```

***

#### 🧠 Developer Tips

* **Static but Upgradable**\
  These parameters are typically set at genesis or through network upgrades, and do not change frequently unless through formal governance.
* **Foundation Allocation**\
  The `foundation` and `foundationTerm` define a predefined, temporary allocation of inflationary SOL to the Solana Foundation—supporting ecosystem funding and operations during the early lifecycle of the network.
* **Understand Long-Term Staking Impacts**\
  These parameters control the **future trajectory** of staking rewards and inflation-driven issuance, making them critical inputs for long-term validator and delegator modeling.
* **Combine with `getInflationRate`**\
  Use in conjunction with `getInflationRate` to compare **current effective rates** vs. **governed targets**.
