Skip to main content
The RPC API exposes several methods for broadcasting signed transactions and tracking their execution. All transaction methods accept a base64-encoded signed_tx_base64 payload. Status methods accept either the same payload or a tx_hash + sender_account_id pair.

Quick Reference

Prefer send_tx and tx for new integrations. The broadcast_tx_async and broadcast_tx_commit methods are kept for backward compatibility but offer less control over when the call returns.

The wait_until Field

send_tx and tx accept an optional wait_until field that controls how long the RPC waits before returning a response. Each value waits for a stricter execution milestone than the previous one — pick the lowest level that satisfies your use case so you don’t pay extra latency. If the field is omitted, the RPC behaves as if EXECUTED_OPTIMISTIC was passed.
Higher wait_until levels can take several seconds. If your client has a short timeout, prefer INCLUDED or EXECUTED_OPTIMISTIC and poll tx for the stricter level.

Send Transaction

Broadcasts a signed transaction and waits for the requested execution milestone before returning.
  • method: send_tx
  • params: signed_tx_base64, optional wait_until

Transaction Status

Returns the status of a previously submitted transaction.
  • method: tx
  • params: either signed_tx_base64, or tx_hash + sender_account_id. Optional wait_until.

Transaction Status with Receipts

EXPERIMENTAL_tx_status returns the same payload as tx plus the full set of receipts produced by the transaction. Useful when debugging cross-contract calls.
  • method: EXPERIMENTAL_tx_status
  • params: same as tx

Receipt by Id

Fetches a single receipt by its id.
  • method: EXPERIMENTAL_receipt
  • params: receipt_id

Broadcast Async

Broadcasts a signed transaction and returns immediately with the transaction hash. Equivalent to send_tx with wait_until: "NONE".
  • method: broadcast_tx_async
  • params: a single positional string — the base64-encoded signed transaction.

Broadcast Commit

Broadcasts a signed transaction and waits for it to be included in a block. Equivalent to send_tx with wait_until: "EXECUTED_OPTIMISTIC".
  • method: broadcast_tx_commit
  • params: a single positional string — the base64-encoded signed transaction.

Error Handling