Skip to main content
POST
Broadcast UTXO transaction (ZEC)

Overview

/leokit/broadcast is a server-side proxy for broadcasting signed UTXO transactions on chains where public APIs don’t allow CORS from a browser. Currently the only supported chain is Zcash (ZEC), where the most reliable public node (NowNodes) requires a server-side API key. Use this endpoint when your client-side ZEC swap flow needs to push a signed transaction without exposing your NowNodes key.

Endpoint

Request

Headers

Body

Response

Success (200)

Errors

See the error codes catalog for the full list.

Example

Notes

  • Successful broadcasts return immediately once the upstream node accepts the transaction. Use /leokit/status to track confirmation.
  • ZEC transparent (t-) transactions are forwarded to NowNodes’ BlockBook sendtx endpoint. Shielded (z-) transactions are not yet supported by this proxy.
  • This endpoint is a thin pass-through: the same txid you’d get by calling NowNodes directly.

Authorizations

Api-Key
string
header
required

Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4

Body

application/json
chain
enum<string>
required

Currently only zcash is supported.

Available options:
zcash
tx_hex
string
required

Hex-encoded signed transaction.

Response

Broadcast accepted.

status
integer
required
data
object
required