Skip to main content

index.getContainerRange RPC Method

Returns containers with indices in [startIndex, startIndex+1, ... , startIndex + numToFetch - 1]. numToFetch must be in [0,1024].

Updated on
Nov 02, 2023

Parameters

startIndex
integer

The beginning index.

numToFetch
integer

The number of containers to fetch.

encoding
string

Encoding can be "hex" only.

Returns

containers
array

An array of container objects in the requested index range.

id
string

The container's ID.

bytes
string

The byte representation of the container.

timestamp
string

The time at which the node accepted the container.

encoding
string

Encoding is "hex" only.

index
string

How many containers were accepted in this index before this one.

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