debank_get_user_approvals
Check which contracts have permission to spend your tokens or NFTs on any blockchain. Identify security risks from high approval exposure.
Instructions
Get user's token/NFT approvals and authorizations from DeBank.
Args: address: User's wallet address (required) chain_id: Blockchain ID (required) approval_type: "token" or "nft" (default: "token")
Returns: For tokens: Array of authorized tokens with spender info and exposure values For NFTs: Object with tokens, contracts, and total approved amounts
Security Note: This shows which contracts have permission to spend user's assets. High exposure values indicate security risk.
Examples: - Token approvals: debank_get_user_approvals(address="0x...", chain_id="eth") - NFT approvals: debank_get_user_approvals(address="0x...", chain_id="eth", approval_type="nft")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| chain_id | Yes | ||
| approval_type | No | token |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||