Get Network Book Nodes
Get the network address book nodes.
This method will use 20
Compute Units.
Returns the network's list of nodes used in consensus
Query parameters
file.idstringOptionalExample:
The ID of the file entity
{"summary":"--","value":""}
Pattern: ^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$
limitinteger · int32 · min: 1 · max: 100OptionalDefault:
The maximum number of items to return
25
Example: 2
node.idstringOptionalExample:
The ID of the node
{"summary":"--","value":""}
Pattern: ^((eq|gt|gte|lt|lte):)?\d{1,19}$
orderundefined · enumOptionalDefault:
The order in which items are listed
asc
Example: desc
Possible values: Responses
200
OK
application/json
400
Invalid parameter
application/json
get
GET /v1/YOUR_API_KEY/api/v1/network/nodes HTTP/1.1
Host: mainnet.hedera.validationcloud.io
Accept: */*
{
"nodes": [
{
"description": "address book 1",
"file_id": "0.0.102",
"max_stake": 50000,
"memo": "0.0.4",
"min_stake": 1000,
"node_account_id": "0.0.4",
"node_cert_hash": "0x01d173753810c0aae794ba72d5443c292e9ff962b01046220dd99f5816422696e0569c977e2f169e1e5688afc8f4aa16",
"node_id": 1,
"public_key": "0x4a5ad514f0957fa170a676210c9bdbddf3bc9519702cf915fa6767a40463b96f",
"reward_rate_start": 1000000,
"service_endpoints": [
{
"ip_address_v4": "128.0.0.6",
"port": 50216
}
],
"stake": 20000,
"stake_not_rewarded": 19900,
"stake_rewarded": 100,
"staking_period": {
"from": "1655164800.000000000",
"to": "1655251200.000000000"
},
"timestamp": {
"from": "187654.000123457",
"to": null
}
}
],
"links": {
"next": "/api/v1/transactions?timestamp=lt:1657598275.517984411"
}
}
Last updated
Was this helpful?