i can get a BlockInfo through the fabric-gatway-Java repo, for example:
Channel channel = network.getChannel();
BlockInfo blockInfo = channel.queryBlockByNumber(Long.parseLong(txId));
But how can I get a BlockInfo through the fabric-gatway repo? I haven't seen any similar interfaces.