跳转到主要内容
POST
Send native assets and tokens
需要 Idempotency-Key 头。ERC20 调用 transfer();SPL 可能在需要时创建 ATA。

授权

x-api-key
string
header
必填

请求头

Idempotency-Key
string<uuid>
必填

Provide a unique Idempotency-Key per user to ensure single submission.

请求体

application/json
chain
string
必填

Chain slug (e.g., base, base-sepolia, solana-devnet).

to
string
必填

Recipient wallet address (owner for token transfers).

asset
enum<string>
必填

Asset type to send.

可用选项:
native,
erc20,
spl
amount
string
必填

Amount in base units (wei/lamports/token units).

from
string | null

Optional sender wallet; defaults to user's default wallet for the chain.

token
string | null

Token address (EVM) or mint (Solana) when sending tokens.

响应

Submission accepted

id
string
必填

AFK transaction id for the submitted action.

status
enum<string>
必填

Submission status.

可用选项:
SUBMITTED
hash
string | null
必填

On-chain transaction hash/signature (may be null at submission time).

explorerUrl
string | null
必填

Direct link to the transaction on a chain explorer. Null until a hash/signature exists.

chainName
string
必填

Human-readable chain name for display (e.g., Base, Ethereum, Solana).