Blocks

GET /blocks/height

master

Return the current blockchain height

Response JSON example:

{
"height": 7788
}

GET /blocks/last

master

Return the last block data

Response JSON example:

{
"version": 2,
"timestamp": 1479313809528,
"reference": "4MLXQDbARiJDEAoy5vZ8QYh1yNnDhdGhGWkDKna8J6QXb7agVpFEi16hHBGUxxnq8x4myG4w66DR4Ze8FM5dh8Gi",
"nxtconsensus": {
"basetarget": 464,
"generationsignature": "7WUV2TufaRAyjiCPFdnAWbn2Q7Jk7nBmWbnnDXKDEeJv"
},
"transactions": [
{
"type": 2,
"id": "64hxaxZvB9iD1cfRf1j8KPTXs4qE7SHaDWTZKoUvgfVZotaJUtSGa5Bxi86ufAfp5ifoNAGknBqS9CpxBKG9RNVR",
"fee": 100000,
"timestamp": 1479313757194,
"signature": "64hxaxZvB9iD1cfRf1j8KPTXs4qE7SHaDWTZKoUvgfVZotaJUtSGa5Bxi86ufAfp5ifoNAGknBqS9CpxBKG9RNVR",
"sender": "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8",
"senderPublicKey": "CRxqEuxhdZBEHX42MU4FfyJxuHmbDBTaHMhM3Uki7pLw",
"recipient": "3N8UPtqiy322NVr1fLP7SaK1AaCU7oPaVuy",
"amount": 1000000000
}
],
"generator": "3N5GRqzDBhjVXnCn44baHcz2GoZy5qLxtTh",
"signature": "4ZhZdLAvaGneLU4K4b2eTgRQvbBjEZrtwo1qAhM9ar3A3weGEutbfNKM4WJ9JZnV8BXenx8JRGVNwpfxf3prGaxd",
"fee": 100000,
"blocksize": 369
}

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