curl "http://localhost:9090/igp_rules"
const response = await fetch('http://localhost:9090/igp_rules');
const rules = await response.json();
import requests
response = requests.get('http://localhost:9090/igp_rules')
rules = response.json()
{
"policies": {
"subtensor": [
{
"policy": "None",
"matching_list": []
}
]
}
}
HTTP API
List IGP Rules
GET
/
igp_rules
curl "http://localhost:9090/igp_rules"
const response = await fetch('http://localhost:9090/igp_rules');
const rules = await response.json();
import requests
response = requests.get('http://localhost:9090/igp_rules')
rules = response.json()
{
"policies": {
"subtensor": [
{
"policy": "None",
"matching_list": []
}
]
}
}
Get current Interchain Gas Payment (IGP) rules.
This endpoint is only available when gas enforcers are configured.
Show Response Body
Show Response Body
{
"policies": {
"subtensor": [
{
"policy": "None",
"matching_list": []
}
]
}
}
curl "http://localhost:9090/igp_rules"
const response = await fetch('http://localhost:9090/igp_rules');
const rules = await response.json();
import requests
response = requests.get('http://localhost:9090/igp_rules')
rules = response.json()
Was this page helpful?
⌘I