getBlocks

Get a list of all blocks (both canonical and orphaned) on the Mina Blockchain. Orphaned blocks are blocks that didn’t enter the canonical chain. Transactions that enter orphaned blocks are failed and wait to be executed until they’re added in a canonical block.

Query Params
int32
required
≥ 0
Defaults to 0

Queried API page.

int32
required
1 to 50
Defaults to 20

Number of queried entries.

string
enum
required
Defaults to DESC

Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).

Allowed:
string

Address of the queried block producer (validator).

string
enum
required
Defaults to HEIGHT

Select sorting parameter.

Allowed:
string
enum
required
Defaults to ALL

Select the queried block type.

Allowed:
Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json