发送资产(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).