Returns information for fungible token allowances for an account.
This method will use 15
Compute Units.
Returns information for fungible token allowances for an account.
The order is governed by a combination of the spender id and the token id values, with spender id being the parent column. The token id value governs its order within the given spender id.
Note: The default order for this API is currently ASC
When filtering there are some restrictions enforced to ensure correctness and scalability.
The table below defines the restrictions and support for the endpoint
Query Param | Comparison Operator | Support | Description | Example |
---|---|---|---|---|
spender.id | eq | Y | Single occurrence only. | ?spender.id=X |
ne | N | |||
lt(e) | Y | Single occurrence only. | ?spender.id=lte:X | |
gt(e) | Y | Single occurrence only. | ?spender.id=gte:X | |
token.id | eq | Y | Single occurrence only. Requires the presence of a spender.id query | ?token.id=lt:Y |
ne | N | |||
lt(e) | Y | Single occurrence only. Requires the presence of an lte or eq spender.id query | ?spender.id=lte:X&token.id=lt:Y | |
gt(e) | Y | Single occurrence only. Requires the presence of an gte or eq spender.id query | ?spender.id=gte:X&token.id=gt:Y |
Both filters must be a single occurrence of gt(e) or lt(e) which provide a lower and or upper boundary for search.
Account alias or account id or evm address
^(\d{1,10}\.){0,2}(\d{1,10}|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))$
The maximum number of items to return
2
The order in which items are listed
"desc"
The ID of the spender to return information for
^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$
The ID of the token to return information for
^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$
OK
The granted amount of the spender's allowance.
100
Network entity ID in the format of shard.realm.num
"0.1.2"
^\d{1,10}\.\d{1,10}\.\d{1,10}$
Network entity ID in the format of shard.realm.num
"0.1.2"
^\d{1,10}\.\d{1,10}\.\d{1,10}$
A timestamp range an entity is valid for
"1586567700.453054000"
^\d{1,10}(\.\d{1,9})?$
The inclusive from timestamp in seconds
"1586567700.453054000"
^\d{1,10}(\.\d{1,9})?$
The exclusive to timestamp in seconds
Network entity ID in the format of shard.realm.num
"0.1.2"
^\d{1,10}\.\d{1,10}\.\d{1,10}$
"/api/v1/transactions?timestamp=lt:1657598275.517984411"