Aprobar token (EVM)
Aprueba la allowance de un token ERC20 para un spender en EVM.
Documentation Index
Fetch the complete documentation index at: https://docs.afkcrypto.com/llms.txt
Use this file to discover all available pages before exploring further.
Idempotency-Key.Autorizaciones
Encabezados
Provide a unique Idempotency-Key per user to ensure single submission.
Cuerpo
EVM chain slug.
ERC20 token address to approve.
Spender (router) address to approve.
Allowance amount in token units (uint256 string).
Optional sender wallet; defaults to user's default wallet for the chain.
Respuesta
Submission accepted
AFK transaction id for the submitted action.
Submission status.
SUBMITTED On-chain transaction hash/signature (may be null at submission time).
Direct link to the transaction on a chain explorer. Null until a hash/signature exists.
Human-readable chain name for display (e.g., Base, Ethereum, Solana).