Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 473 Bytes

File metadata and controls

25 lines (18 loc) · 473 Bytes

Block API

Block API

get_blocks

Get signed blocks.

vector<optional<signed_block>> graphene::app::block_api::get_blocks(
    uint32_t block_num_from, 
    uint32_t block_num_to)const

{% tabs %} {% tab title="Parameters" %}

  • block_num_from: The lowest block number
  • block_num_to: The highest block number {% endtab %}

{% tab title="Return" %} A list of signed blocks from block_num_from to block_num_to {% endtab %} {% endtabs %}