Observes a finalized block on a chain.
typedef FinalizedHook = void Function(int chainId, Uint8List block);