Skip to main content

/cosmos/feegrant/v1beta1/allowances/{grantee} REST API Endpoint

Retrieves all the grants for an address.

Updated on
May 09, 2024

/cosmos/feegrant/v1beta1/allowances/{grantee} REST API Endpoint

Path Parameters

grantee
string
REQUIRED
The address of the grantee

Query Parameters

pagination.key
string
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.offset
string
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.limit
string
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_total
boolean
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.reverse
boolean
It is set to true if results are to be returned in the descending order

Returns

allowances
array
Allowance's granted for grantee by granter
granter
string
The address of the user granting an allowance of their funds
grantee
string
The address of the user being granted an allowance of another user's fund
allowance
object
Can be any of basic, periodic, allowed fee allowance
@type
string
The type of allowance (e.g., /cosmos.feegrant.v1beta1.AllowedMsgAllowance)
allowance
object
The nested allowance object containing the actual allowance details
@type
string
The type of the nested allowance (e.g., /cosmos.feegrant.v1beta1.BasicAllowance)
spend_limit
array
Array of spending limits with denomination and amount
denom
string
The denomination of the token (e.g., usei)
amount
string
The amount limit as a string
expiration
string
Expiration time for the allowance, can be null
allowed_messages
array
Array of message types that are allowed to be executed
pagination
object
The pagination object which contains the following fields:
next_key
string
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
total
string
string <uint64> (total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise)
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free