Path Parameters
- granteestringREQUIRED
The address of the grantee
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
Allowances granted for grantee by granter
- granterstring
The address that grants the allowance
- granteestring
The address that receives and can spend the granted allowance
- allowanceobject
The allowance details including spend limits, expiration, and message permissions
- @typestring
The type of the outer allowance object (e.g., /cosmos.feegrant.v1beta1.AllowedMsgAllowance)
- allowanceobject
The nested basic allowance object specifying limits and expiration
- @typestring
The type of the inner allowance object (e.g., /cosmos.feegrant.v1beta1.BasicAllowance)
- spend_limitarray
An array specifying the maximum amount of tokens the grantee is allowed to spend (can be empty if unlimited)
- expirationstring | null
The expiration timestamp of the allowance, or null if no expiration
- allowed_messagesarray
An array of specific message types the grantee is allowed to execute
- paginationobject
The pagination object which contains the following fields:
- next_keystring | null
The key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results
- totalstring
(Optional) Total number of results (uint64 string) when PageRequest.count_total was set; omitted when count_total was not set