The bitcoin_blocks_rpc table provides detailed information about Bitcoin blockchain blocks. A block is a collection of transactions, and is identified by a block hash. Each block contains a reference to the previous block, forming a chain of blocks.
Inputs
Args
Types
Info
fromBlock
BIGINT
Block number to start scanning from.
toBlock
BIGINT
Block number to stop scanning at.
url
VARCHAR
URL of the Bitcoin node.
Outputs
Column names
Types
Info
bits
VARCHAR
The value of the nBits field in the block header
chainwork
VARCHAR
Expected number of hashes required to produce the chain up to this block
confirmations
BIGINT
The number of confirmations (blocks in the longest chain linking to this block)
difficulty
DOUBLE
Proof-of-work difficulty as a multiple of the minimum difficulty