Blocks

GET /blocks/height

master
Return the current blockchain height
Response JSON example:
1
{
2
"height": 7788
3
}
Copied!

GET /blocks/last

master
Return the last block data
Response JSON example:
1
{
2
"version": 2,
3
"timestamp": 1479313809528,
4
"reference": "4MLXQDbARiJDEAoy5vZ8QYh1yNnDhdGhGWkDKna8J6QXb7agVpFEi16hHBGUxxnq8x4myG4w66DR4Ze8FM5dh8Gi",
5
"nxtconsensus": {
6
"basetarget": 464,
7
"generationsignature": "7WUV2TufaRAyjiCPFdnAWbn2Q7Jk7nBmWbnnDXKDEeJv"
8
},
9
"transactions": [
10
{
11
"type": 2,
12
"id": "64hxaxZvB9iD1cfRf1j8KPTXs4qE7SHaDWTZKoUvgfVZotaJUtSGa5Bxi86ufAfp5ifoNAGknBqS9CpxBKG9RNVR",
13
"fee": 100000,
14
"timestamp": 1479313757194,
15
"signature": "64hxaxZvB9iD1cfRf1j8KPTXs4qE7SHaDWTZKoUvgfVZotaJUtSGa5Bxi86ufAfp5ifoNAGknBqS9CpxBKG9RNVR",
16
"sender": "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8",
17
"senderPublicKey": "CRxqEuxhdZBEHX42MU4FfyJxuHmbDBTaHMhM3Uki7pLw",
18
"recipient": "3N8UPtqiy322NVr1fLP7SaK1AaCU7oPaVuy",
19
"amount": 1000000000
20
}
21
],
22
"generator": "3N5GRqzDBhjVXnCn44baHcz2GoZy5qLxtTh",
23
"signature": "4ZhZdLAvaGneLU4K4b2eTgRQvbBjEZrtwo1qAhM9ar3A3weGEutbfNKM4WJ9JZnV8BXenx8JRGVNwpfxf3prGaxd",
24
"fee": 100000,
25
"blocksize": 369
26
}
Copied!

GET /blocks/at/{height}

master
Return block data at the given height

GET /blocks/seq/{from}/{to}

master
Return block data at the given height range

GET /blocks/signature/{signature}

master
Return block data by a specified Base58encoded signature

GET /blocks/address/{address}/{from}/{to}

master
Get list of blocks generated by specified address
Last modified 2yr ago