Skip to main content
GET
/
api
/
v1
/
accounts
/
{idOrAliasOrEvmAddress}
/
allowances
/
crypto
Get crypto allowances for an account info
curl --request GET \
  --url https://mainnet.mirrornode.hedera.com/api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/crypto
{
  "allowances": [
    {
      "amount": 75,
      "amount_granted": 100,
      "owner": "0.0.2",
      "spender": "0.0.2",
      "timestamp": {
        "from": "1586567700.453054000",
        "to": "1586567700.453054000"
      }
    }
  ],
  "links": {
    "next": null
  }
}

Path Parameters

idOrAliasOrEvmAddress
string
required

Account alias or account id or evm address

Pattern: ^(\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}))$

Query Parameters

limit
integer<int32>
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
order
enum<string>
default:desc

The order in which items are listed

Available options:
asc,
desc
spender.id
string

The ID of the spender to return information for

Pattern: ^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$

Response

OK

allowances
object[]