getBlockBranches

A page of blocks from branches of the block chain in descending order.

Blocks are returned that are ancestors of the block in the set of upper bounds and are not ancestors of any block in the set of lower bounds.

Path Params
number
enum
required

The version of the API.

Allowed:
string
enum
required

The version of the Chainweb protocol.

Allowed:
integer
required
≥ 0
Defaults to 0

the id of the chain to which the request is sent

Query Params
integer
≥ 0

Maximum number of records that may be returned. The actual number may be lower.

string

The cursor for the next page. This value can be found as value of the next property of the previous page.

integer
≥ 0

Minimum block height of the returned headers

integer
≥ 0

Maximum block height of the returned headers

Body Params

Upper and lower bounds of the queried branches

lower
array of objects

No blocks are returned that are predecessors of any block with an hash from this array.

lower
upper
array of objects

Returned block headers are predecessors of a block with an hash from this array. This includes blocks with hashes from this array.

upper
Responses

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