자산 전송 (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를 생성할 수 있습니다.비고
- EVM native: value 전송
- ERC20: 토큰
transfer(address,uint256)호출 - SOL native: lamports 전송
- SPL: SPL 토큰 전송(필요 시 ATA 생성 가능)
- 멱등성은 단일 제출을 보장하며 동일 본문 반복 시 원래 200 본문을 반환
인증
헤더
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).