Skip to main content
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).