Trade API
Execute
Submit a signed gasless intent, or broadcast a signed transaction.
POST
There are two ways to finalize a built transaction, depending on the
gasless flag you passed to /v1/buildTx:
- Gasless (
gasless: true) - the user signs the typed-data payload from the build response; you submit that signature to/v1/gasless/executeTxand DZap’s relay executes it. - Standard (
gasless: false) - the user signs the raw transaction from the build response; you submit the signed transaction to/v1/broadcast.
Execute a gasless intent
Body
Chain ID the intent targets.
The
txId from the gasless /v1/buildTx response.Either an EIP-2612 permit payload or a batch-permit payload, depending on what your wallet signed.
Response
Transaction status (
success, mining, error, etc.).On-chain transaction hash.
Broadcast a signed transaction
Body
The
txId from the non-gasless /v1/buildTx response.Chain ID to broadcast on.
The signed transaction payload. For most EVM steps this is a raw signed-transaction hex string. For HyperLiquid it’s an array of
{ message, primaryType, signatureChainId, signature, account } typed-data signature objects instead.Response
"success" or an error status.On-chain transaction hash. Present when
status is "success".Error details. Present when
status is not "success".Examples
Once submitted, poll
/v1/status with the resulting txnHash and chainId to track settlement - especially for cross-chain bridges.Last modified on July 14, 2026