Bitcoin ABC documentation

Blocks

block(hashOrHeight)

Fetch a single block. See block.

Live editor
function DemoBlock() {
    return (
        <Json
            fn={async () => {
                return await chronik.block(
                    '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f',
                );
            }}
        />
    );
}
render(<DemoBlock />);
Result

blockTxs(hashOrHeight, page?, pageSize?)

Transactions in a block. See blockTxs.

Live editor
function DemoBlockTxs() {
    return (
        <Json
            fn={async () => {
                return await chronik.blockTxs(0);
            }}
        />
    );
}
render(<DemoBlockTxs />);
Result

blocks(startHeight, endHeight)

Block summaries for an inclusive height range. See blocks.

Live editor
function DemoBlocks() {
    return (
        <Json
            fn={async () => {
                return await chronik.blocks(50, 52);
            }}
        />
    );
}
render(<DemoBlocks />);
Result