Skip to main content

BroadcastTx gRPC Method

Broadcasts a signed Injective Web3 transaction.

Updated on
Sep 17, 2026

Parameters

chain_id
integer

The numeric Web3 chain ID used in the EIP-712 signing domain; use 1 for Injective Mainnet.

tx
string

The Amino-encoded transaction JSON bytes, excluding the separately supplied protobuf messages and base64-encoded in JSON representations.

msgs
array

The Cosmos message JSON documents included in the transaction, each UTF-8 encoded and represented as base64 in JSON requests.

pub_key
object

The type and bytes of the signer’s ethsecp256k1 public key.

type
string

The protobuf type URL identifying the signer’s public-key format.

key
string

The hex-encoded ethsecp256k1 public-key bytes.

signature
string

The hex-encoded ethsecp256k1 signature produced by the transaction sender.

fee_payer
string

The Injective address of the account paying the transaction fee.

fee_payer_sig
string

The hex-encoded ethsecp256k1 signature produced by the fee payer.

mode
string

The transaction broadcast mode that controls when the request returns.

Returns

tx_hash
string

The Tendermint transaction hash encoded as a hexadecimal string.

height
string

The height of the returned Injective block.

index
integer

The zero-based position of the transaction within its block.

codespace
string

The module namespace that produced the transaction result code.

code
integer

The numeric transaction result code; zero indicates successful execution.

data
string

The result bytes returned by transaction execution, base64-encoded in JSON representations.

raw_log
string

The raw application log produced while executing the transaction.

timestamp
string

The UTC timestamp of the block immediately preceding transaction inclusion.

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