Aprovar token (EVM)
Aprove o allowance ERC20 para um gastador no EVM via requisição POST.
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.Autorizações
Cabeçalhos
Provide a unique Idempotency-Key per user to ensure single submission.
Corpo
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.
Resposta
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).