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
Allowance's granted for grantee by granter
- granterstring
The address of the user granting an allowance of their funds
- granteestring
The address of the user being granted an allowance of another user's fund
- allowanceobject
Can be any of basic, periodic, allowed fee allowance
- @typestring
A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one / character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading . is not accepted)
- spend_limitarray
The spend limit array which contains the following fields:
- denomstring
The denomination (or token) for which the spending limit applies
- amountstring
The maximum amount of the corresponding denomination that can be spent under the allowance
- expirationstring
The time when the grant will expire and will be pruned. If null, then the grant doesn't have a time expiration
- paginationobject
The pagination object which contains the following fields:
- next_keystring
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
string <uint64> (total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise)