> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperlane.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# List IGP Rules

Get current Interchain Gas Payment (IGP) rules.

<Note>
  This endpoint is only available when gas enforcers are configured.
</Note>

<Expandable title="Response Body">
  <ResponseField name="policies" type="HashMap<String, GasEnforcementResponse[]">
    Policies

    <Expandable title="policies">
      <ResponseField name="policy" type="GasPaymentEnforcementPolicy">
        Gas payment enforcement policy
      </ResponseField>

      <ResponseField name="matching_list" type="String[]">
        Matching list
      </ResponseField>
    </Expandable>
  </ResponseField>
</Expandable>

<ResponseExample>
  ```json Response theme={null}
  {
    "policies": {
      "subtensor": [
        {
          "policy": "None",
          "matching_list": []
        }
      ]
    }
  }
  ```
</ResponseExample>

<RequestExample>
  ```bash curl theme={null}
  curl "http://localhost:9090/igp_rules"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('http://localhost:9090/igp_rules');
  const rules = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get('http://localhost:9090/igp_rules')
  rules = response.json()
  ```
</RequestExample>
