Returns information for all crypto allowances for an account.
This method will use 15 Compute Units.
15
Last updated 2 months ago
Account alias or account id or evm address
OK
const response = await fetch('https://mainnet.hedera.validationcloud.io/v1/YOUR_API_KEY/api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/crypto', { method: 'GET', headers: {}, }); const data = await response.json();
{ "allowances": [ { "amount_granted": 100, "owner": "0.1.2", "spender": "0.1.2", "timestamp": { "from": {}, "to": {} } } ], "links": { "next": "/api/v1/transactions?timestamp=lt:1657598275.517984411" } }