Shows ledger dump of transaction.
## Request Structure
`JSON object:`
```JSON
{
"method": "ledger",
"subcommand": ["info"],
"arguments": {
"net": "network_name",
"hash": "txhash",
"unspent": "null"
},
"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]]
**`hash`** - hash of the transaction `optional`
**`unspent`** - show only transactions with unspent outputs `optional`
### Curl Example
`Request:`
```powershell
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
"method": "ledger",
"subcommand": ["info"],
"arguments": {
"net": "Backbone",
"hash": "0x626EFCFDB7D79E918F3BA3B6EF13B39517652A7F4C6E77F6435FC636CD5ADB9C"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"Datum_tx_hash": "0x626EFCFDB7D79E918F3BA3B6EF13B39517652A7F4C6E77F6435FC636CD5ADB9C",
"TS_Created": "Tue, 29 Oct 2024 15:00:53 +0700",
"Token_ticker": "CELL",
"Token_description": null,
"first transaction": "",
"hash": "0x626EFCFDB7D79E918F3BA3B6EF13B39517652A7F4C6E77F6435FC636CD5ADB9C",
"tx created": "Tue, 29 Oct 2024 15:00:53 +0700",
"token ticker": "CELL",
"ITEMS": [
{
"item type": "IN",
"Tx prev hash": "0x8E162DFE60FF133F99B742C8F4797A70B064A645D909A836F3D46298545092C3",
"Tx out prev idx": 0
},
{
"item type": "OUT",
"Coins": "1.0",
"Value": "1000000000000000000",
"Address": "Rj7J7MiX2bWy8sNyZzyeda7uy5dv3zoQDgeKM7JQhXojihAJ2cUMsAyPp44mS2E6rJqz57PDUAKq6ubV887RCnJAQdNkMqv25L3LpuC8"
},
{
"item type": "OUT COND",
"ts_expires": "never",
"coins": "0.05",
"value": "50000000000000000",
"subtype": "DAP_CHAIN_TX_OUT_COND_SUBTYPE_FEE",
"uid": "0x0000000000000000",
"tsd_size": 0
},
{
"item type": "OUT",
"Coins": "2.0",
"Value": "2000000000000000000",
"Address": "Rj7J7MiX2bWy8sNyX332awQN5KEtihm3p7jwuemmRssX4otCGzoUWnfHf6XotbfjckLCyPgpZy8DM46G8LFDG6eVdfCUPUut7BD3pDFp"
},
{
"item type": "SIG",
"Type": "sig_dil",
"Public key hash": "0x16B550095A37960561E055C7281621B06A6FE71A7A1169FADCA3A4C2F80488DD",
"Public key size": 1196,
"Signature size": 2096,
"Sender addr": "Rj7J7MiX2bWy8sNyX332awQN5KEtihm3p7jwuemmRssX4otCGzoUWnfHf6XotbfjckLCyPgpZy8DM46G8LFDG6eVdfCUPUut7BD3pDFp"
}
],
"Spent OUTs": [
{
"OUT - ": 1,
"is spent by tx": "0x956486BBC574219CF92264FEBE9DAF6BFBA9A78EA20F00BD123212574D7E96CC"
},
{
"OUT - ": 2,
"is spent by tx": "0x03687FDF843E77280769AA3107005C45E2F631F9CC7AF161A15B4D4EB4371C46"
}
],
"all OUTs yet unspent": "no"
}
],
"id": 1
}
```