Shows actual information about specified token

CLI Example

Command syntax:

token info 
-net <net_name> 
-name <token_ticker>

Options:

-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-name - ticker (name) of the token

Example:

Command:

cellframe-node-cli token info 
-net Backbone 
-name CELL

Response:

        TOKENS:
 
                CELL:
                    current state:
                        -->Token name: CELL
                        type: CF20
                        flags: NONE
                        description: The token description is not set
                        Supply current: 0
                        Supply total: 0
                        Decimals: 18
                        Auth signs valid: 4
                        Auth signs total: 8
                        Signatures public keys:
 
#signatures
 
 
                        Total emissions: 24763
 
                    declarations:
 
                            status: ACCEPTED
                            Ledger return code: 0
                            Datum:
                                === Datum Token Declaration ===:
                                hash: 0xB1F56F4BD0C8F3F99BE753F8F223C9754C116ED593A488E2D605593F8F4956E5
                                ticker: CELL
                                size: 18188
                                version: 2
                                type: DECL
                                subtype: CF20
                                decimals: 18
                                auth signs valid: 3
                                auth signs total: 5
                                total_supply: 0
                                flags: NONE
                                Signatures:
                                status:
 
#signatures
 
                    updates:
 
                            status: ACCEPTED
                            Ledger return code: 0
                            Datum:
                                === Datum Token Declaration ===:
                                hash: 0x487F98375D4613535B0E6B9886D5D8A2C8B8707F634C26412395F552BA918CA3
                                size: 13864
                                version: 2
                                total_sign: 3
                                total_signs_valid: 4
                                total_pkeys_add: 0xB33EDC176790E7FEFD98167996E97892507BB3B1C81E1C99C50BC86BDEE8B6F0
                                Signatures:
                                status:
 
#signatures
 

JSON-RPC Example

Command:

curl -X POST http://rpc.cellframe.net/connect -d '{"method":"token", "params":["token;info;-net;Backbone;-name;CELL"], "id":"1"}'

Response:

{
  "type": 0,
  "result": "same as cli response",
  "errors": null,
  "id": 1
}