Path Parameters
- granterstringREQUIRED
The address of the user granting an allowance of their funds
Query Parameters
- pagination.keystring
The value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set
- pagination.offsetstring
The numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set
- pagination.limitstring
The total number of results to be returned in the result page. If left empty it will default to a value to be set by each app
- pagination.count_totalboolean
When set to true it indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set
- pagination.reverseboolean
It is set to true if results are to be returned in the descending order
Returns
- allowancesarray
An array of fee allowances granted by one account to another
- granterstring
The address that granted the allowance
- granteestring
The address that received the allowance and is permitted to spend on behalf of the granter
- allowanceobject
The allowance object which contains the type, limits, and message restrictions
- @typestring
The type of the outer allowance (e.g., /cosmos.feegrant.v1beta1.AllowedMsgAllowance)
- allowanceobject
The nested basic allowance object with spend limit and expiration
- @typestring
The type of the basic allowance (e.g., /cosmos.feegrant.v1beta1.BasicAllowance)
- spend_limitarray
An array defining the maximum token amounts that can be spent (may be empty for no limit)
- expirationstring | null
The timestamp when the allowance expires (null if no expiration)
- allowed_messagesarray
An array of specific message types that the grantee is permitted to execute
- paginationobject
The pagination object which contains metadata for paginated responses
- next_keystring | null
(Optional) The key to query the next page of results; null if there are no more results
- totalstring
The total number of matching results available