Skip to content

Add block proof to GetBlockByNumber endpoint #1863

@sergerad

Description

@sergerad

Modify the endpoint to allow users to specify whether they want a block proof to also be returned.

Both the fn argument and return type must be updated for this purpose:

    // Returns raw block data for the specified block number.
    rpc GetBlockByNumber(blockchain.BlockNumber) returns (blockchain.MaybeBlock) {}

Relevant comments

Metadata

Metadata

Assignees

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