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:"block_results"
required
JSON-RPC method name.
params
object
The parameters for method block_results: [height].Positional parameters for block_results:
  • params[]: Integer - height to return. If no height is provided, it will fetch the latest block.

Returns

result
object
Block results information.