curl -X POST https://zap.dzap.io/v1/broadcast \
-H "Content-Type: application/json" \
-d '{
"txId": "0xabc...",
"chainId": 8453,
"txData": "0x02f8b0..."
}'
const result = await dzap.broadcastZapTx({
txId: '0xabc...',
chainId: 8453,
txData: '0x02f8b0...', // signed raw transaction
});
if (result.status === 'success') {
console.log('Broadcast tx hash:', result.txnHash);
} else {
console.error('Broadcast failed:', result.message);
}
{
"status": "success",
"data": {
"txnHash": "0xdef456...",
"txnId": "0xabc..."
}
}
{
"status": "error",
"data": {
"message": "transaction underpriced"
}
}
Fuse API
Broadcast Transaction
Submit a signed transaction built from a settled Fuse intent for the DZap relay to broadcast on-chain.
POST
/
v1
/
broadcast
curl -X POST https://zap.dzap.io/v1/broadcast \
-H "Content-Type: application/json" \
-d '{
"txId": "0xabc...",
"chainId": 8453,
"txData": "0x02f8b0..."
}'
const result = await dzap.broadcastZapTx({
txId: '0xabc...',
chainId: 8453,
txData: '0x02f8b0...', // signed raw transaction
});
if (result.status === 'success') {
console.log('Broadcast tx hash:', result.txnHash);
} else {
console.error('Broadcast failed:', result.message);
}
{
"status": "success",
"data": {
"txnHash": "0xdef456...",
"txnId": "0xabc..."
}
}
{
"status": "error",
"data": {
"message": "transaction underpriced"
}
}
After building a transaction with
/v1/buildTx (or /v1/bundle/buildTx) and signing the resulting calldata client-side, submit it here for the DZap relay to broadcast on-chain.
Body
string
required
The
txnId returned for the step in the build-transaction response.integer
required
Chain ID the transaction should be broadcast on.
string | object[]
required
The signed transaction payload. For most EVM steps this is a raw signed-transaction hex string. For HyperLiquid steps it’s an array of
{ message, primaryType, signatureChainId, signature, account } typed-data signature objects instead.Response
string
"success" or "error".string
On-chain transaction hash. Present when
status is "success".string
Echoes the
txId you submitted. Present when status is "success".string
Error details. Present when
status is "error".Examples
curl -X POST https://zap.dzap.io/v1/broadcast \
-H "Content-Type: application/json" \
-d '{
"txId": "0xabc...",
"chainId": 8453,
"txData": "0x02f8b0..."
}'
const result = await dzap.broadcastZapTx({
txId: '0xabc...',
chainId: 8453,
txData: '0x02f8b0...', // signed raw transaction
});
if (result.status === 'success') {
console.log('Broadcast tx hash:', result.txnHash);
} else {
console.error('Broadcast failed:', result.message);
}
{
"status": "success",
"data": {
"txnHash": "0xdef456...",
"txnId": "0xabc..."
}
}
{
"status": "error",
"data": {
"message": "transaction underpriced"
}
}
Once broadcast, poll
/v1/status (with chainId and txnHash) to track settlement, especially for cross-chain steps.Last modified on July 29, 2026