Steemit API Documentation - Block Endpoints

in #steemit7 years ago

get_block

params: block number(uint32_t)

get_block_header

params: block number(uint32_t)

Example responses

get_block
{
"id": 2,
"result": {
"previous": "003d08ff118b27e093103b580daca817342f9596",
"timestamp": "2016-08-11T22:00:06",
"witness": "silversteem",
"transaction_merkle_root": "a4ed1b655c56040fd77857c2983f390fa30852cd",
"extensions": [],
"witness_signature": "206e7847032dd57c821fb45f880123c57a88fef17e11e4da218b7ece631d4c8338124ad02bca19710fa2376672dc2c531469f3499a208c4bf01bb990cde4ec03f0",
"transactions": [{
"ref_block_num": 2303,
"ref_block_prefix": 3760687889,
"expiration": "2016-08-11T22:00:33",
"operations": [
["witness_update", {
"owner": "supercomputing05",
"url": "http://fxxk.com",
"block_signing_key": "STM5b3wkzd5cPuW8tYbHpsM6qo26R5eympAQsBaoEfeMDxxUCLvsY",
"props": {
"account_creation_fee": "1.000 STEEM",
"maximum_block_size": 65536,
"sbd_interest_rate": 1000
},
"fee": "0.000 STEEM"
}]
],
"extensions": [],
"signatures": []
}
}

get_block_header
{
"id": 4,
"result": {
"previous": "0001d4bf70af1312e019091fcd82261870744146",
"timestamp": "2016-03-28T20:53:33",
"witness": "steemit45",
"transaction_merkle_root": "0000000000000000000000000000000000000000",
"extensions": []
}
}