Add a listener to be triggered for each new Block;
listener
void onBlock(void Function(int blockNumber) listener) => on('block', listener);