NetworkStatusResponse
NetworkStatusResponse contains basic information about the node's view of a blockchain network.
Properties
Name | Type | Description | Required |
---|---|---|---|
current_block_identifier | BlockIdentifier | The block_identifier uniquely identifies a block in a particular network. | True |
current_block_timestamp | Int64 (>=0) | The timestamp of the block in milliseconds since the Unix Epoch. The timestamp is stored in milliseconds because some blockchains produce blocks more often than once a second. | True |
genesis_block_identifier | BlockIdentifier | The block_identifier uniquely identifies a block in a particular network. | True |
peers | []Peer | True |
Example
{
"current_block_identifier": {
"index": 1123941,
"hash": "0x1f2cc6c5027d2f201a5453ad1119574d2aed23a392654742ac3c78783c071f85"
},
"current_block_timestamp": 1582833600000,
"genesis_block_identifier": {
"index": 1123941,
"hash": "0x1f2cc6c5027d2f201a5453ad1119574d2aed23a392654742ac3c78783c071f85"
},
"peers": [
{
"peer_id": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
"metadata": {}
}
]
}