For the complete documentation index, see llms.txt. This page is also available as Markdown.

Blockflow

List blocks on the given time interval

get

Returns blocks produced within the specified time range.

Authorizations
api-keystringRequired
Query parameters
fromTsinteger · int64Required
toTsinteger · int64Optional
Responses
200

Valid response

application/json
get/blockflow/blocks

Blocks with events

get

List blocks with events on the given time interval

Authorizations
api-keystringRequired
Query parameters
fromTsinteger · int64Required
toTsinteger · int64Optional
Responses
200

Valid response

application/json
get/blockflow/blocks-with-events

Get Block by Hash

get

Retrieves detailed information about a block identified by its hash.

Authorizations
api-keystringRequired
Path parameters
block_hashstringRequired

The hash of the block to retrieve.

Example: 0000000000004612ec7dbcf08dc4f07e65ac767f9fe0c32b53a61c18761ef44c
Responses
200

Block information retrieved successfully.

application/json
hashstringRequired

Block hash.

Example: 0000000000004612ec7dbcf08dc4f07e65ac767f9fe0c32b53a61c18761ef44c
timestampintegerRequired

Unix timestamp in milliseconds when the block was created.

Example: 1754913020964
chainFromintegerRequired

Source chain ID.

Example: 3
chainTointegerRequired

Destination chain ID.

Example: 0
heightintegerRequired

Block height.

Example: 3117858
depsstring[]Required

List of dependent block hashes.

Example: 00000000000007d6582a5af7ce642de0454d790b0f8f55ccf30667c747eabf00
noncestringRequired

Nonce value.

Example: 1a4d00000000000000000000000000000022a74ad1b6753f
versionintegerRequiredExample: 0
depStateHashstringRequired

Dependency state hash.

Example: 0ad632ebff89ecb0d1af82f7de24372d8dc823dba623f2073983bcb8c56eedd2
txsHashstringRequired

Transactions hash.

Example: 480dc015f5267c1d27e5a665016254f72b83554e7992e6b4473a65566cdbb4a7
targetstringRequired

Mining target.

Example: 1a808a0f
ghostUnclesstring[]Required

List of ghost uncle block hashes.

get/blockflow/blocks/{block_hash}

Main chain block by ghost uncle

get

Get a mainchain block by ghost uncle hash

Authorizations
api-keystringRequired
Path parameters
ghost_uncle_hashstring · block-hashRequired
Responses
200

Valid response

application/json
hashstring · block-hashRequired
timestampinteger · int64Required
chainFrominteger · int32Required
chainTointeger · int32Required
heightinteger · int32Required
depsstring · block-hash[]Required
noncestring · hex-stringRequired
versionintegerRequired
depStateHashstring · 32-byte-hashRequired
txsHashstring · 32-byte-hashRequired
targetstring · hex-stringRequired
get/blockflow/main-chain-block-by-ghost-uncle/{ghost_uncle_hash}

Get Block with Events

get

Retrieves detailed block information along with any smart contract events emitted in the block.

Authorizations
api-keystringRequired
Path parameters
block_hashstringRequired

The hash of the block.

Example: 0000000000001ddd11912d103cae4d7596a49485ee7ea8e9c2acdc32b4480759
Responses
200

Block with events retrieved successfully.

application/json
eventsobject[]Optional

List of smart contract events emitted in the block.

get/blockflow/blocks-with-events/{block_hash}

Check if Block is in Main Chain

get

Returns whether the specified block is part of the main chain.

Authorizations
api-keystringRequired
Query parameters
blockHashstringRequired

The hash of the block to check.

Example: 0000000000001ddd11912d103cae4d7596a49485ee7ea8e9c2acdc32b4480759
Responses
200

Successfully checked block status.

application/json
isMainChainbooleanOptional

True if the block is in the main chain, false otherwise.

Example: true
get/blockflow/is-block-in-main-chain

Get Block Headers Hashes

get

Retrieves block header hashes filtered by source group, destination group, and block height.

Authorizations
api-keystringRequired
Query parameters
fromGroupintegerRequired

Source group number.

Example: 1
toGroupintegerRequired

Destination group number.

Example: 2
heightintegerRequired

Block height to filter.

Example: 3087063
Responses
200

List of block header hashes.

application/json
headersstring[]Optional

Array of block header hashes matching the criteria.

Example: 0000000000000edd995d369f408344e473eeb1beaa050911c393661a7ef71b46
get/blockflow/hashes

Get Chain Info by Groups

get

Returns the current chain height filtered by fromGroup and toGroup.

Authorizations
api-keystringRequired
Query parameters
fromGroupintegerRequired

Source group number.

Example: 1
toGroupintegerRequired

Destination group number.

Example: 2
Responses
200

Chain information retrieved successfully.

application/json
currentHeightintegerOptional

Current height of the blockchain for the specified group range.

Example: 3351911
get/blockflow/chain-info

Get Block Header by Hash

get

Returns detailed information about a block header identified by its hash.

Authorizations
api-keystringRequired
Path parameters
block_hashstringRequired

Hash of the block header to retrieve.

Example: 0000000000005c8d2761b8c0967d5e0dcbfe47a5678a80f676a54276d956e3ed
Responses
200

Block header retrieved successfully.

application/json
hashstringOptional

Unique hash of the block.

Example: 0000000000005c8d2761b8c0967d5e0dcbfe47a5678a80f676a54276d956e3ed
timestampintegerOptional

Timestamp of the block in milliseconds since epoch.

Example: 1754914650065
chainFromintegerOptional

Source chain group number.

Example: 3
chainTointegerOptional

Destination chain group number.

Example: 1
heightintegerOptional

Block height.

Example: 3087063
depsstring[]Optional

Array of dependent block hashes.

Example: ["00000000000077b5fa47c09862b5e5bdac2d607a0c2d5f47c6a809dfe648fe30","0000000000002607d92a86fe627d89508c772b8212c2e329ec01ff08b8a72e05","0000000000001bf5527420ea81e4cfbe9f876d8684789dad8141ea761624f6ba","00000000000051c9411b5c0d34753677a2c05f36f085dddb9a5ac6462559727c","00000000000025f9d5df85bee58053b9e0a66a707e6a20b385c5ab7afb566c9d","0000000000005266b43014907a76202f534ecf9370033aa72cca5112c8448dae","0000000000003979d68003f93bb1d10e82ef0a7ff62e19cdd94aa19d3f4379ef"]
get/blockflow/headers/{block_hash}

Last updated