Skip to main content
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).