Skip to content

how to get a BlockInfo by fabric-gateway? #582

@diandiankou

Description

@diandiankou

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions