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