Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key

Get Wallet Token Approvals

GEThttps://deep-index.moralis.io/api/v2.2/wallets/:address/approvals

Retrieve active ERC20 token approvals for the specified wallet address

PATH PARAMS
addressstringrequired
he wallet address from which to retrieve active ERC20 token approvals
QUERY PARAMS
chainstring
The chain to query
cursorstring
The cursor returned in the previous response (used for getting the next page).
limitnumber
The desired page size of the result.
Responses
200Returns active ERC20 token approvals for the specified wallet address
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/wallets/0xcB1C1FdE09f811B294172696404e88E658659905/approvals?chain=eth&limit=25' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
{
"page": 2,
"page_size": 100,
"cursor": "",
"result": [
{
"block_number": "12526958",
"block_timestamp": "2021-04-02T10:07:54.000Z",
"transaction_hash": "0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09",
"value": "8409770570506626",
"value_formatted": "0.1",
"token": {
"address": "0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c",
"address_label": "",
"name": "Tether USD",
"symbol": "USDT",
"logo": "https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c.png",
"possible_spam": "",
"verified_contract": "",
"current_balance": "1000000000000000",
"current_balance_formatted": "0.1",
"usd_price": "1000000000000000",
"usd_at_risk": "1000000000000000"
},
"spender": {
"address": "0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c",
"address_label": "Binance 1",
"entity": "Opensea",
"entity_logo": "https://opensea.io/favicon.ico"
}
}
]
}