How many transactions are there in each block?

Is it the case that each block corresponds to one transaction? I need to make sure that this is the case so that i don’t build logic with the wrong assumption at its foundation.

No, one consensus block can contain hundreds of messages.


If you are referring to the ICP ledger, yes one transaction per “block” but that is not the same as a consensus block.


Got it. And so , does the heartbeat method fire once per ICP ledger block, or once per consensus block? Also, how many kilobytes does each ICP ledger block take up?

1 Like

Heartbeat is per consensus block. Most consensus blocks are empty(unless your write data with heartbeat or have a very busy canister.