Transaction
Submit signed transactions, optionally waiting for inclusion or finality.
Submit transaction (POST)
Add a signed transaction to the mempool and broadcast it. Returns as soon as the node accepts it. Rejections are HTTP 200 with `error` set to the reason and no `hash`.
Submit transaction (GET)
Same as `POST /api/tx/submit`, with the packed transaction Base58-encoded in the path. Suits small transactions only: the node rejects request lines over 8 KiB. Rejections are HTTP 200 with `error` set to the reason and no `hash`.
Submit and wait for confirmation (POST)
Submits, then polls about 6 s (60 x 100 ms) until the transaction is included in an entry, or finalized when `finalized` is present. If it is not seen in time, the node closes the connection without a JSON reply; look the hash up with `/api/chain/tx/{txid}` instead. Rejections are HTTP 200 with `error` set to the reason and no `hash`.
Submit and wait for confirmation (GET)
Same as `POST /api/tx/submit_and_wait`, with the packed transaction Base58-encoded in the path. Submits, then polls about 6 s (60 x 100 ms) until the transaction is included in an entry, or finalized when `finalized` is present. If it is not seen in time, the node closes the connection without a JSON reply; look the hash up with `/api/chain/tx/{txid}` instead. Rejections are HTTP 200 with `error` set to the reason and no `hash`.