Skip to main content

Parameters

string
default:"osmosis"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"block"
required
JSON-RPC method name.
object
The parameters for method block: [height].Positional parameters for block:
  • params[]: Integer - height to return. If no height is provided, it will fetch the latest block.

Returns

object
Block information.