Skip to main content
POST
Send native assets and tokens
Requer cabeçalho Idempotency-Key. ERC20 chama transfer(); SPL pode criar ATA se necessário.

Autorizações

x-api-key
string
header
obrigatório

Cabeçalhos

Idempotency-Key
string<uuid>
obrigatório

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

Corpo

application/json
chain
string
obrigatório

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

to
string
obrigatório

Recipient wallet address (owner for token transfers).

asset
enum<string>
obrigatório

Asset type to send.

Opções disponíveis:
native,
erc20,
spl
amount
string
obrigatório

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.

Resposta

Submission accepted

id
string
obrigatório

AFK transaction id for the submitted action.

status
enum<string>
obrigatório

Submission status.

Opções disponíveis:
SUBMITTED
hash
string | null
obrigatório

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

explorerUrl
string | null
obrigatório

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

chainName
string
obrigatório

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