Skip to main content

qc_chainId

Returns the EIP-155 chain ID. Quantum Chain mainnet is 20803 (0x5143).

qc_blockNumber

Returns the number of the most recent block.

qc_syncing

Returns false if the node is fully synced, or an object with sync progress.
When synced:
When syncing:

qc_getBlockByNumber

Returns a block by number. Set fullTx to true to include full transaction objects instead of just hashes.

qc_getBlockByHash

Returns a block by its hash. Same parameters as qc_getBlockByNumber but accepts a block hash.

qc_getHeaderByNumber

Returns a block header by number.

qc_getHeaderByHash

Returns a block header by its hash.

qc_getUncleCountByBlockNumber

Returns the number of uncles in a block by block number.

qc_getUncleCountByBlockHash

Returns the number of uncles in a block by block hash.

qc_getUncleByBlockNumberAndIndex

Returns uncle block data by block number and uncle index.

qc_getUncleByBlockHashAndIndex

Returns uncle block data by block hash and uncle index.