Skip to main content

Parameters

chainId
string
default:"osmosis"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"tx_search"
required
JSON-RPC method name.
params
object
required
Transaction search parameters in the order: [query, prove, page, per_page, order_by, match_events]Positional parameters for tx_search:
  • params[0]: A transaction query string (e.g., “tx.height=1000”).
  • params[1]: Include proofs of the transaction inclusion in the block.
  • params[2]: Page number (1-based).
  • params[3]: Number of entries per page (max: 100).
  • params[4]: Order of transaction sorting (“asc” or “desc”), by height & index.
  • params[5]: Match attributes in query within events in addition to height & txhash.

Returns

result
object
The transactions returned with the search queries.