Skip to main content

broadcast_tx_commit RPC Method

Sends a transaction and waits until transaction is fully complete (It has a 10 second timeout).

Updated on
Feb 12, 2025
Please note that this method has been deprecated, consider using send_tx method instead

Parameters

signed transaction
string

The signed transaction in base64 encoding

Returns

status
object

The status of the transaction

successValue
integer

(Optional) The amount successfully transferred

transaction
object

The transaction object

signer_id
string

(Optional) The account id of the transaction originator

public_key
string

(Optional) The public key of the signer

nonce
integer

(Optional) The number of transactions made by the sender prior to this one encoded as hexadecimal

receiver_id
string

(Optional) The account id of the transaction receiver

actions
object

An action built from near-api-js.transactions

transfer
object

The tokens transferred

deposit
integer

(Optional) The amount deposited

signature
string

(Optional) The standard ed25519 signature type

hash
string

(Optional) The hash of the block

transaction_outcome
object

The transaction result

proof
integer

(Optional) The proof of the transaction

block_hash
string

(Optional) The hash of the block this transaction was associated with

id
integer

(Optional) The transaction id

outcome
object

The outcome associated with transaction

logs
integer

(Optional) Logs for the application being executed by this transaction

receipt_ids
integer

(Optional) The ids of the receipt

gas_burnt
integer

(Optional) The gas burnt while executing the transaction

tokens_burnt
integer

(Optional) The amount of tokens burnt

executor_id
integer

(Optional) The id of the originator

status
object

The status of the transaction

successReceiptId
integer

(Optional) The transaction id of the successful receipt

receipts_outcome
object

The receipts outcome for the transaction

proof
integer

(Optional) The proof of the transaction

block_hash
string

(Optional) The hash of the block this transaction was associated with

id
integer

(Optional) The transaction id

outcome
object

The outcome associated with transaction

logs
integer

(Optional) Logs for the application being executed by this transaction

receipt_ids
integer

(Optional) The ids of the receipt

gas_burnt
integer

(Optional) The gas burnt while executing the transaction

tokens_burnt
integer

(Optional) The amount of tokens burnt

executor_id
integer

(Optional) The id of the originator

status
object

The status of the transaction

successReceiptId
integer

(Optional) The transaction id of the successful receipt

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free