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).