Shows actual information about specified token. ## Request Structure `JSON object:` ```JSON { "method": "token", "subcommand": ["info"], "arguments": { "net": "network_name", "name": "token_ticker" }, "id": "1" } ``` `Parameters:` **`net (network_name)`** - 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]] **`name`** - name of the token ### Curl Example `Request:` ```actionscript curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d ' { "method": "token", "subcommand": ["info"], "arguments": { "net": "riemann", "name": "CRINGE" }, "id": "1" }' ``` `Response:` ```json { "type": 2, "result": [ { "TOKENS": [ { "CRINGE": { "current state": { "-->Token name": "CRINGE", "type": "CF20", "flags": [ "STATIC_FLAGS" ], "description": "Updated: total supply increased on 5000 and the flags were set as STATIC", "Supply current": "5000", "Supply total": "15000", "Decimals": "18", "Auth signs valid": 2, "Auth signs total": 3, "Signatures public keys": [ { "line": 0, "hash": "0xE7D0E94E6792FE145A9691ECDFECA151BC1C7477C3E11979DA48E5752C14A2E1", "pkey_type": "DAP_PKEY_TYPE_SIGN_DILITHIUM", "bytes": 1196 }, { "line": 1, "hash": "0x0A57D6D1F3E72E9F2D1DDA6E6089AFEB0AADB953FB347E08C7B6575D65FA6D56", "pkey_type": "DAP_PKEY_TYPE_SIGN_DILITHIUM", "bytes": 1196 }, { "line": 2, "hash": "0x18A38ACF46876226F9AC130427870814503C19B00185A85F034DDC2058D699C1", "pkey_type": "DAP_PKEY_TYPE_SIGN_DILITHIUM", "bytes": 1196 } ], "Total emissions": 1 }, "declarations": [ { "status": "ACCEPTED", "Ledger return code": 0, "Datum": { "=== Datum Token Declaration ===": "", "hash": "0x8C21984193F7BF0746063B3B186F5C1BBB0676282713BC0C5B8D92B2488B8FF4", "ticker": "CRINGE", "size": 10226, "version": 2, "type": "DECL", "subtype": "CF20", "decimals": 18, "auth signs valid": 2, "auth signs total": 3, "total_supply": "10000", "flags": "NONE", "Signatures": "", "status": [ { "line": 1, "hash": "0xE7D0E94E6792FE145A9691ECDFECA151BC1C7477C3E11979DA48E5752C14A2E1", "sign_type": "sig_dil", "bytes": 2096 }, { "line": 2, "hash": "0x0A57D6D1F3E72E9F2D1DDA6E6089AFEB0AADB953FB347E08C7B6575D65FA6D56", "sign_type": "sig_dil", "bytes": 2096 }, { "line": 3, "hash": "0x18A38ACF46876226F9AC130427870814503C19B00185A85F034DDC2058D699C1", "sign_type": "sig_dil", "bytes": 2096 } ] } } ], "updates": [ { "status": "ACCEPTED", "Ledger return code": 0, "Datum": { "=== Datum Token Declaration ===": "", "hash": "0xD6B95071CFC459965DA8E0B35423D85A3D78B01B41C897B1E1F3F115406C8CDD", "size": 10287, "version": 2, "total_sign": 3, "flags_set": [ "STATIC_FLAGS" ], "description": "Updated:", "total_supply": "15000", "Signatures": "", "status": [ { "line": 1, "hash": "0xE7D0E94E6792FE145A9691ECDFECA151BC1C7477C3E11979DA48E5752C14A2E1", "sign_type": "sig_dil", "bytes": 2096 }, { "line": 2, "hash": "0x0A57D6D1F3E72E9F2D1DDA6E6089AFEB0AADB953FB347E08C7B6575D65FA6D56", "sign_type": "sig_dil", "bytes": 2096 }, { "line": 3, "hash": "0x18A38ACF46876226F9AC130427870814503C19B00185A85F034DDC2058D699C1", "sign_type": "sig_dil", "bytes": 2096 } ] } }, { "status": "ACCEPTED", "Ledger return code": 0, "Datum": { "=== Datum Token Declaration ===": "", "hash": "0x562FB0177E71EE299532467A937E181CB409714864FBC8620590CF0E62CA22C0", "size": 10305, "version": 2, "total_sign": 3, "description": "Updated: total supply increased on 5000 and the flags were set as STATIC", "Signatures": "", "status": [ { "line": 1, "hash": "0xE7D0E94E6792FE145A9691ECDFECA151BC1C7477C3E11979DA48E5752C14A2E1", "sign_type": "sig_dil", "bytes": 2096 }, { "line": 2, "hash": "0x0A57D6D1F3E72E9F2D1DDA6E6089AFEB0AADB953FB347E08C7B6575D65FA6D56", "sign_type": "sig_dil", "bytes": 2096 }, { "line": 3, "hash": "0x18A38ACF46876226F9AC130427870814503C19B00185A85F034DDC2058D699C1", "sign_type": "sig_dil", "bytes": 2096 } ] } } ] } }, {} ] } ], "id": 1 } ```