Skip to main content
Version: v4

FeeGrant

A grant through which a Corporation pays network transaction fees on behalf of a grantee account (IDX-DE-QRY-5).

idinteger<uint64>required

Indexer-assigned per-row id, used as the pagination cursor. The VPR FeeGrant has no on-chain id.

grantor_corporation_idinteger<uint64>required
granteestringrequired
msg_typesstring[]required

Message types the fee allowance applies to. Empty means the allowance carries no message filter and covers every type.

spend_limit object[]
  • Array [
  • denomstringrequired
    amountstringrequired
  • ]
  • remaining_spend object[]

    Present when spend_limit is set. Sourced from the underlying x/feegrant allowance's running balance; zero once the allowance is exhausted.

  • Array [
  • denomstringrequired
    amountstringrequired
  • ]
  • expirationstring<date-time>

    For periodic grants this is the allowance's current period_reset, the end of the current auto-renewing cycle.

    periodstring

    Reset period for spend_limit, as a duration (e.g. "86400s").

    FeeGrant
    {
    "id": 0,
    "grantor_corporation_id": 0,
    "grantee": "string",
    "msg_types": [
    "string"
    ],
    "spend_limit": [
    {
    "denom": "string",
    "amount": "string"
    }
    ],
    "remaining_spend": [
    {
    "denom": "string",
    "amount": "string"
    }
    ],
    "expiration": "2024-07-29T15:51:28.071Z",
    "period": "string"
    }