發送資產(EVM + Solana)
透過冪等的 POST 請求在 EVM 與 Solana 上發送原生資產與代幣。
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 呼叫 transfer();SPL 可能在需要時建立 ATA。授權
標頭
Provide a unique Idempotency-Key per user to ensure single submission.
主體
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.
回應
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).