Skip to main content

Broadcast gRPC Method

Broadcasts a signed transaction to the TRON network

Updated on
May 13, 2025

Broadcast gRPC Method

Parameters

tx
object
REQUIRED
The transaction to broadcast
raw_data
object
The raw transaction data
ref_block_bytes
string
Reference block bytes
ref_block_num
integer
Reference block number
ref_block_hash
string
Reference block hash
expiration
integer
Transaction expiration time
auths
array
Authorization data
data
string
Additional data (not used)
contract
array
Contract data
scripts
string
Scripts data (not used)
timestamp
integer
Transaction timestamp
fee_limit
integer
Maximum fee allowed for this transaction
signature
array
Transaction signatures (only supports size = 1, repeated for multi-sig extension)
ret
array
Transaction results
fee
integer
Fee paid for the transaction
ret
string
Result code (enum: Transaction_ResultCode)
contractRet
string
Contract execution result (enum: Transaction_ResultContractResult)
assetIssueID
string
Asset issue ID
withdraw_amount
integer
Amount withdrawn
unfreeze_amount
integer
Amount unfrozen
exchangeReceivedAmount
integer
Amount received in exchange
exchangeInjectAnotherAmount
integer
Amount injected in exchange
exchangeWithdrawAnotherAmount
integer
Amount withdrawn from exchange
exchange_id
integer
Exchange ID
shieldedTransactionFee
integer
Fee for shielded transaction
orderId
string
Order ID
orderDetails
array
Market order details
makerOrderId
string
Maker order ID
takerOrderId
string
Taker order ID
fillSellQuantity
integer
Quantity filled on sell side
fillBuyQuantity
integer
Quantity filled on buy side
withdraw_expire_amount
integer
Expired withdrawal amount
cancelUnfreezeV2Amount
object
Mapping of canceled unfreeze V2 amounts

Returns

result
boolean
Whether the broadcast was successful
code
string
The response code (enum: ReturnResponseCode)
SUCCESS
integer
Operation successful
SIGERROR
integer
Error in signature
CONTRACT_VALIDATE_ERROR
integer
Contract validation error
CONTRACT_EXE_ERROR
integer
Contract execution error
BANDWITH_ERROR
integer
Bandwidth error
DUP_TRANSACTION_ERROR
integer
Duplicate transaction error
TAPOS_ERROR
integer
TAPOS error
TOO_BIG_TRANSACTION_ERROR
integer
Transaction too large
TRANSACTION_EXPIRATION_ERROR
integer
Transaction expired
SERVER_BUSY
integer
Server busy
NO_CONNECTION
integer
No connection
NOT_ENOUGH_EFFECTIVE_CONNECTION
integer
Not enough effective connections
BLOCK_UNSOLIDIFIED
integer
Block not solidified
OTHER_ERROR
integer
Other error
message
string
The response message
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free