Skip to main content
POST
Send native assets and tokens
Requiere encabezado Idempotency-Key. ERC20 llama a transfer(); SPL puede crear ATA si es necesario.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Idempotency-Key
string<uuid>
requerido

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

Cuerpo

application/json
chain
string
requerido

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

to
string
requerido

Recipient wallet address (owner for token transfers).

asset
enum<string>
requerido

Asset type to send.

Opciones disponibles:
native,
erc20,
spl
amount
string
requerido

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.

Respuesta

Submission accepted

id
string
requerido

AFK transaction id for the submitted action.

status
enum<string>
requerido

Submission status.

Opciones disponibles:
SUBMITTED
hash
string | null
requerido

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

explorerUrl
string | null
requerido

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

chainName
string
requerido

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