Skip to main content
Broadcast a signed MultiversX transaction through the Relayer and verify that the Relayer accepted it.

Prerequisites

broadcast does not sign or fund transactions. Use it only after the user’s wallet or your signer produced a valid transaction signature.

1. Connect

Use any WebSocket client. This example uses websocat.

2. Subscribe To Status

If you already know the transaction hash, subscribe before broadcasting:
Expected acknowledgment:

3. Broadcast

Send a signed transaction over WebSocket:
The JSON above is an example payload. Replace every placeholder with fields from a transaction signed for the current sender nonce. REST variant:

4. Inspect The Acknowledgment

WebSocket success acknowledgment:
If status is partial or failed, inspect failed[].reason.

Verify

You have a valid quickstart result when:
  • The broadcast acknowledgment has status: "completed".
  • hashes[0] is present.
  • A txStatus event arrives for the subscribed hash, or the Gateway returns a status for that hash after finalization.

Common Failure

Next Steps