跳轉到主要內容
POST
Send contract transaction (EVM)
僅 EVM。需要 Idempotency-Key 標頭。

授權

x-api-key
string
header
必填

標頭

Idempotency-Key
string<uuid>
必填

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

主體

application/json
chain
string
必填

EVM chain slug.

to
string
必填

Target contract address.

data
string
必填

Calldata hex string (0x-prefixed).

from
string | null

Optional sender wallet; defaults to user's default wallet for the chain.

value
string | null

Optional native value in wei as a string.

回應

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