Skip to main content

avm.getBlockByHeight RPC Method

Returns block at the given height.

Updated on
Jun 11, 2024

Parameters

blockHeight
string

The block height.

encoding
string

The encoding format to use. It can be either hex or json. Defaults is set to hex

Returns

block
string

The block data retrieved by height

encoding
string

Indicates that the block data is encoded in hexadecimal format

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