POST
/
igp_rules
curl -X POST "http://localhost:9090/igp_rules" \
  -H "Content-Type: application/json" \
  -d \
'{
  "policy": "None",
  "matching_list": [
    {
        "messageid": "0x03ae9509ddf792965c98729b43f0988d689ae17c79619e87e6c670f61eb1d4bc"
    }
  ]
}'
{
  "count": 4,
  "skipped": []
}
Add a new Interchain Gas Payment (IGP) rule.
This endpoint is only available when gas enforcers are configured.
curl -X POST "http://localhost:9090/igp_rules" \
  -H "Content-Type: application/json" \
  -d \
'{
  "policy": "None",
  "matching_list": [
    {
        "messageid": "0x03ae9509ddf792965c98729b43f0988d689ae17c79619e87e6c670f61eb1d4bc"
    }
  ]
}'
{
  "count": 4,
  "skipped": []
}