Shows the last block in the chain.
## Request Structure
`JSON object:`
```JSON
{
"method": "block",
"subcommand": "last",
"arguments": {
"net": "network_name",
"chain": "chain_name"
},
"id": "1"
}
```
`Parameters:`
**`net`** - name of the Cellframe Network. The list of networks can be found in the `<Config_dir> \ etc \ network` folder or received using - [[Node Command - NET LIST]]
**`chain`** - the name of chain (`main` or `zerochain`)
If you make a request in the Cellframe network, use parameter `chain:main`.
### Curl Example
`Request:`
```actionscript
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
"method": "block",
"subcommand": "last",
"arguments": {
"net": "riemann",
"chain": "main"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"Last block num": 17744,
"Last block hash": "0x2104906B96D43F545A32950B1C1E59CF3AF7E9850F32F620454862B2544FC000",
"ts_created": "Wed, 16 Apr 2025 09:41:26 +0000",
"riemann.main has blocks": 17744
}
],
"id": 1
}
```