Broadcast a signed UTXO transaction via LeoKit’s NowNodes proxy (currently ZEC only)
Documentation Index
Fetch the complete documentation index at: https://docs.leokit.dev/llms.txt
Use this file to discover all available pages before exploring further.
/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.
| Header | Value |
|---|---|
Content-Type | application/json |
Api-Key | Your API key |
| Field | Type | Required | Description |
|---|---|---|---|
chain | string | Yes | Chain identifier. Currently only zcash |
tx_hex | string | Yes | Hex-encoded signed transaction |
| Field | Description |
|---|---|
txid | Confirmed transaction ID returned by the upstream node |
| Status | Code | Description |
|---|---|---|
400 | BAD_REQUEST | Missing/invalid tx_hex, or chain not in the supported list |
405 | METHOD_NOT_ALLOWED | Non-POST request |
502 | BROADCAST_FAILED | Upstream node rejected the broadcast (returned in error body) |
503 | SERVICE_UNAVAILABLE | Server has no NowNodes API key configured |
/leokit/status to track confirmation.t-) transactions are forwarded to NowNodes’ BlockBook sendtx endpoint. Shielded (z-) transactions are not yet supported by this proxy.txid you’d get by calling NowNodes directly.Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4