Block
getBlock
Returns a latest block raw data.
Parameters
None
Return Value
Block raw data
Example
getBlockNumber
Returns a block raw data of block number.
Parameters
Name | Type | Description |
---|---|---|
blockNumber | Long | Block number to get. |
Return Value
Block raw data
Example
getBlockCount
Returns a list of creations per day for the last 15 days.
Parameters
None
Return Value
Name | Type | Description |
---|---|---|
totalCount | Long | Count block for the last 15 days. |
list | see below list item |
list item
Name | Type | Description |
---|---|---|
date | String | Date. ex) "1116" |
count | Long | count of day |
Example
getBlockList
Returns the block information list in units of pages.
Parameters
Name | Type | Description |
---|---|---|
pageNumber | Long | Page number to get. start from 1. |
pageSize | Integer | Number per page. |
order | Integer | 0 : Order of descending, 1 : Order of ascending |
Return Value
Name | Type | Description |
---|---|---|
pageNumber | Long | |
pageSize | Integer | |
totalPages | Long | |
totalElements | Long | |
list | list of block info |
Example
getBlockRecentList
Returns a list that is as recent as count from block information.
Parameters
Name | Type | Description |
---|---|---|
count | Integer | Number of recent count |
Return Value
Name | Type | Description |
---|---|---|
pageNumber | Long | |
pageSize | Integer | |
totalPages | Long | |
totalElements | Long | |
list | list of block info |
Example
Last updated