Skip to main content

/wallet/broadcasthex REST API Endpoint

Broadcast the protobuf encoded transaction hex string after sign.

Updated on
Oct 04, 2023

Body Parameters

transaction
string
REQUIRED

The transaction encoded in hexadecimal format after sign

Returns

result

It tells whether the broadcast was successful. It is true for successful broadcast and false for failed broadcast

code

A string indicating the status of the transaction. Possible values include SUCCESS for a successful transaction, and various error codes for failed transactions. In this case, the value of code is SIGERROR, which indicates that the transaction failed because of a signature error

txid

The transaction id

message

The additional information about the error, if any

transaction

The transaction object with the following fields:

raw_data

An object that contains the transaction details with the following fields:

contract

An array of contracts to be executed as part of the transaction

ref_block_bytes

The ref block bytes of the transaction

ref_block_hash

The ref block hash of the transaction

expiration

This is a timestamp indicating the expiration time of the transaction in milliseconds

data

The data included in the transaction

timestamp

This is a timestamp indicating the time at which the transaction was created in milliseconds

fee_limit

The maximum amount of energy that can be consumed by the transaction

signature

The signature(s) of the transaction

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