Envoyer un actif (EVM + Solana)
Envoyez des actifs natifs et des tokens sur EVM et Solana via des requêtes POST idempotentes.
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. ERC20 appelle transfer() ; SPL peut créer un ATA si nécessaire.Autorisations
En-têtes
Provide a unique Idempotency-Key per user to ensure single submission.
Corps
Chain slug (e.g., base, base-sepolia, solana-devnet).
Recipient wallet address (owner for token transfers).
Asset type to send.
native, erc20, spl Amount in base units (wei/lamports/token units).
Optional sender wallet; defaults to user's default wallet for the chain.
Token address (EVM) or mint (Solana) when sending tokens.
Réponse
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).