Business / Sales
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Method: POST get_block_economic_state
Returns increased issuance, miner reward, and the total transaction fee of a block. This RPC returns null if the block is not in the canonical chain. CKB delays CKB creation for miners. The output cells in the cellbase of block N are for the miner creating block N - 1 - ProposalWindow.farthest. In mainnet, ProposalWindow.farthest is 10, so the outputs in block 100 are rewards for miner creating block 89. Because of the delay, this RPC returns null if the block rewards are not finalized yet. For example, the economic state for block 89 is only available when the number returned by get_tip_block_number is greater than or equal to 100.
block_hash - string
Specifies the block hash which rewards should be analyzed.