VERSION
Retrieves version information.
CLIENT
Retrieve basic version information about the client:
cline version client
Expected output:
v2.0.7
FULL
Retrieve full version information about the client:
cline version full
Expected output:
v2.0.7-0d87dff8bee56179aa01472dd00a089b2aa7b9fa-dirty
CREATE
Creates various items on the blockchain.
KEY
Create a key:
cline create key [options]
Expected output:
Private key: 5JfDwUpADzN5pN9NCSvx9mtfVFdsFLMLQXaUKB5DAKG1rA1Qbg8
Public key: INE8ax1GprXbTxjeAWE5bXGsl8cTin89xdekTRSvYwRUFpD1uK5ZnE
Optional arguments:
--to-console # Print the key pair to the console.
--file # Save the key pair in the provided file.
GET
INFO
Get current blockchain information:
cline get info
Output:
{
"server_version": "0d87dff8",
"chain_id": "54aaf66ac6bc5ce7cd1f035976401749542eaadf63ec36312889414e1dc272ed",
"head_block_num": 2527198,
"last_irreversible_block_num": 2527189,
"last_irreversible_block_id": "00268fd5e53d42ae81731344073513a67d4b44ff0677f249906e9db8b20e8b91",
"head_block_id": "00268fde7fa0cf788032efa1a87b6c7235a37877acf24e7f0c1868d6830bd08e",
"head_block_time": "2022-03-28T09:59:29.000",
"head_block_producer": "server1",
"virtual_block_cpu_limit": 200000000,
"virtual_block_net_limit": 1048576000,
"block_cpu_limit": 197998,
"block_net_limit": 1047968,
"server_version_string": "v2.0.7",
"fork_db_head_block_num": 2527198,
"fork_db_head_block_id": "00268fde7fa0cf788032efa1a87b6c7235a37877acf24e7f0c1868d6830bd08e",
"server_full_version_string": "v2.0.7-0d87dff8bee56179aa01472dd00a089b2aa7b9fa-dirty"
}
BLOCK
Retrieve a full block from the blockchain:
cline get block [option] block
Positionals:
block # the number of ID of the block to retrieve.
Options:
--header-state # get block header state from fork database instead.
Output:
{
"timestamp": "2022-03-28T10:03:31.500",
"producer": "devprod5",
"confirmed": 5,
"previous": "002691c1ed0f788ca15ab4ec0bc4d72efa5955a3e7bce8f7621b80d50a9dcfeb",
"transaction_mroot": "0000000000000000000000000000000000000000000000000000000000000000",
"action_mroot": "23bcb8a32dcf18076e967d06adf9c03139ccaea3a3b84b53de1b75be1f087d93",
"schedule_version": 10,
"new_producers": null,
"producer_signature": "SIG_K1_KdDUTsU1VZKfWQ4MpBk4kSx4kR9GHuFzMbcEMFZDtNVrvaikFkoYxkHMt5EkrpBoJJgvZeHxD2KZFNTSV1JbaVxutXWmuD",
"transactions": [],
"id": "002691c246daac1923b1c0e80ae23d39b30d3fbadb0459bf06270b86ed0b92e4",
"block_num": 2527682,
"ref_block_prefix": 3904942371
}
ACCOUNT
Retrieve an account from the blockchain:
cline get account [option] <account_name>
Positionals:
`account_name` # Represents the name of an account to retrieve.
Options:
-j # Save output as JSON.
Output:
created: 2022-02-18T15:43:25.000
permissions:
owner 1: 1 INE5z1ZD4rHSCDaiXREDGMgAAQm1pgAkmkc8Mj6hMNgHwcpmFQwbP
active 1: 1 INE6dH8EstohYdqVxgJLuBv9oNsHBwT8ACGr8wJHvgh9nJc3b9eau
memory:
quota: 1.001 MiB used: 3.365 KiB
net bandwidth:
staked: 1.0000 INR (total stake delegated from account to self)
delegated: 2.0000 INR (total staked delegated to account from others)
used: 0 bytes
available: 18.31 TiB
limit: 18.31 TiB
cpu bandwidth:
staked: 1.0000 INR (total stake delegated from account to self)
delegated: 2.0000 INR (total staked delegated to account from others)
used: 0 us
available: 1067 hr
limit: 1067 hr
INR balances:
liquid: 50000.0000 INR
staked: 2.0000 INR
unstaking: 0.0000 INR
total: 50002.0000 INR
producers: <not voted>
CODE
Retrieve the code and ABI for an account:
cline get code [options] account_name
Options:
--code TEXT # The name of the file to save the contract .wast/wasm to.
--abi TEXT # The name of the file to save the contract .abi to.
--wasm # Save contract as wasm.
The account_name
represents the name of an account to retrieve code for and is mandatory.
Output:
code hash: 86b610153cc930302d266bcd7d861a3ebebab73fa9a6120d88d0159eddbf59d1
ABI
Retrieve the ABI for an account:
cline get abi [options] name
Options:
-f # The name of the file to save the contract .abi to.
The account_name
represents the name of an account to retrieve code for and is mandatory.
Output:
{
"version": "inery::abi/1.1",
"types": [],
"structs": [{
"name": "create",
"base": "",
"fields": [{
"name": "name",
"type": "string"
},{
"name": "email",
"type": "string"
},{
"name": "number",
"type": "int32"
}
]
},{
"name": "read",
"base": "",
"fields": [{
"name": "id",
"type": "uint64"
}
]
},{
"name": "remove",
"base": "",
"fields": [{
"name": "id",
"type": "uint64"
}
]
},{
"name": "update",
"base": "",
"fields": [{
"name": "id",
"type": "uint64"
},{
"name": "name",
"type": "string"
},{
"name": "email",
"type": "string"
},{
"name": "number",
"type": "int32"
}
]
},{
"name": "user",
"base": "",
"fields": [{
"name": "id",
"type": "uint64"
},{
"name": "name",
"type": "string"
},{
"name": "email",
"type": "string"
},{
"name": "number",
"type": "int32"
}
]
}
],
"actions": [{
"name": "count",
"type": "count",
"ricardian_contract": ""
},{
"name": "create",
"type": "create",
"ricardian_contract": ""
},{
"name": "read",
"type": "read",
"ricardian_contract": ""
},{
"name": "remove",
"type": "remove",
"ricardian_contract": ""
},{
"name": "update",
"type": "update",
"ricardian_contract": ""
}
],
"tables": [{
"name": "users",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "user"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": []
}
TABLE
Retrieve the contents of a database table:
cline get table [options] account scope table
Options:
--limit # The maximum number of rows to return.
--lower # JSON object of lower bound value of key, defaults to first.
--upper # JSON object2 of upper bound value of key, defaults to last.
--reverse # Iterate in reverse order.
--key-type # The key type of index.
Positionals:
--limit # The maximum number of rows to return.
--lower # JSON object of lower bound value of key, defaults to first.
--upper # JSON object2 of upper bound value of key, defaults to last.
--reverse # Iterate in reverse order.
--key-type # The key type of index.
Example:
cline get table inery.test inery.test users
Output:
{
"rows": [{
"id": 0,
"name": "Inery Test",
"email": "[email protected]",
"number": 9725569843369
}
],
"more": false,
"next_key": ""
}
SCOPE
Retrieve a list of scopes and tables owned by a contract:
cline get scope [options] contract
Options:
--table # The name of the table as filter.
--limit # The maximum number of rows to return.
--lower # lower bound of scope.
--upper # upper bound of scope.
--reverse # Iterate in reverse order.
Positionals:
contract # The contract who owns the table.
Example:
cline get scope inery.test
Output:
{
"rows": [{
"code": "inery.test",
"scope": "inery.test",
"table": "users",
"payer": "inery.test",
"count": 1
}],
"more": ""
}
CURRENCY
Retrieve information related to standard currencies.
BALANCE
Retrieve the balance of an account for a given currency:
cline get currency balance [options] contract account
Options:
--json # Output in JSON format.
Positionals:
contract # The contract that operates the currency.
account # The account to query balances for.
Example:
cline get currency balance inery.token inery.test
Output:
400.0000 INR
STATS
Retrieve the stats of for a given currency:
cline get currency stats contract symbol
Positionals:
contract # The contract that operates the currency.
symbol # The symbol for the currency.
Example:
cline get currency stats inery.token INR
Output:
{
"INR": {
"supply": "353600000.0000 INR",
"max_supply": "353600000.0000 INR",
"issuer": "inery"
}
}
ACCOUNTS
Retrieve accounts associated with a public key:
cline get accounts [options] public_key
Positionals:
public_key # The public key to retrieve accounts for.
Options:
--json # Output in JSON format.
Example:
cline get accounts INE5z1ZD4rHSCDaiXREDGMgAAQm1pgAkmkc8Mj6hMNgHwcpmFQwbP
Output:
{
"account_names": [
"createacc",
"inery.test",
"inery.test1",
"inery.test2"
]
}
TRANSACTION
Retrieve a transaction from the blockchain:
cline get transaction [options] id
Positionals:
id TEXT # ID of the transaction to retrieve.
Options:
-b, --block-hint UINT # The block number this transaction may be in.
Example:
cline get transaction 824f248f65e38bf282636418a86b9a3b6e4b8636c45a4c6ef7ec21636cef4641 -b 1694783
Output:
{
"id": "824f248f65e38bf282636418a86b9a3b6e4b8636c45a4c6ef7ec21636cef4641",
"trx": {
"receipt": {
"status": "executed",
"cpu_usage_us": 357,
"net_usage_words": 18,
"trx": [
1,{
"signatures": [
"SIG_K1_K8dzy7qy8z5CT5qNmdTEMEDbaH2gY5oeQD8kVNij8rbzz4BeYoSUpf3HSDxJT5nmL7WnNJLtGWDFyhw3f1YvnRbFvLE2zk"
],
"compression": "none",
"packed_context_free_data": "",
"packed_trx": "14921c623ddcab91ad760000000001000000000435694400000000a86cd44501000000000435694400000000a8ed32323211537264616e205374616d656e6b6f7669631b737264616e7374616d656e6b6f7669633436407a6f686f2e636f6dabcc7c2600"
}
]
},
"trx": {
"expiration": "2022-02-28T09:12:52",
"ref_block_num": 56381,
"ref_block_prefix": 1991086507,
"max_net_usage_words": 0,
"max_cpu_usage_ms": 0,
"delay_sec": 0,
"context_free_actions": [],
"actions": [{
"account": "inery.test",
"name": "create",
"authorization": [{
"actor": "inery.test",
"permission": "active"
}
],
"data": {
"name": "Inery Blockchain",
"email": "[email protected]",
"number": 97166726398304472
},
"hex_data": "11537264616e205374616d656e6b6f7669631b737264616e7374616d656e6b6f7669633436407a6f686f2e636f6dabcc7c26"
}
],
"transaction_extensions": [],
"signatures": [
"SIG_K1_K8dzy7qy8z5CT5qNmdTEMEDbaH2gY5oeQD8kVNij8rbzz4BeYoSUpf3HSDxJT5nmL7WnNJLtGWDFyhw3f1YvnRbFvLE2zk"
],
"context_free_data": []
}
},
"block_time": "2022-02-28T09:12:22.500",
"block_num": 1694783,
"last_irreversible_block": 1694881,
"traces": []
}
SET
CODE
Create or update the code on an account:
cline set code [options] account [code-file]
Positionals:
account TEXT REQUIRED # The account to set code for.
code-file TEXT # The path containing the contract WASM.
Options:
transaction_option**
Example:
cline set code -j inery.test cloning.wasm
Output:
{
"transaction_id": "1b21ae6af018cb0856870ab7034cbdd516b1e4a94912521ba7432d1af064b6a9",
"processed": {
"id": "1b21ae6af018cb0856870ab7034cbdd516b1e4a94912521ba7432d1af064b6a9",
"block_num": 1702429,
"block_time": "2022-02-28T10:16:05.500",
"producer_block_id": null,
"receipt": {
"status": "executed",
"cpu_usage_us": 2348,
"net_usage_words": 926
},
"elapsed": 2348,
"net_usage": 7408,
"scheduled": false,
"action_traces": [{
"action_ordinal": 1,
"creator_action_ordinal": 0,
"closest_unnotified_ancestor_action_ordinal": 0,
"receipt": {
"receiver": "inery",
"act_digest": "0b3b818c883cfff4f638e4abebf857016453c326b9a051c48996ae7e22a421a5",
"global_sequence": 2139456,
"recv_sequence": 1703031,
"auth_sequence": [[
"inery.test",
1
]
],
"code_sequence": 2,
"abi_sequence": 2
},
"receiver": "inery",
"act": {
"account": "inery",
"name": "setcode",
"authorization": [{
"actor": "inery.test",
"permission": "active"
}
],
"data": {
"account": "inery.test",
"vmtype": 0,
"vmversion": 0,
"code": "0061736d0100000001a6011b60...nest 20 pages...00006000017f60027f7f1000b0488230000"
},
"context_free": false,
"elapsed": 2057,
"console": "",
"trx_id": "1b21ae6af018cb0856870ab7034cbdd516b1e4a94912521ba7432d1af064b6a9",
"block_num": 1702429,
"block_time": "2022-02-28T10:16:05.500",
"producer_block_id": null,
"account_mem_deltas": [{
"account": "inery.test",
"delta": 186890
}
],
"except": null,
"error_code": null
}
],
"account_mem_delta": null,
"except": null,
"error_code": null
}
}
ABI
Create or update the abi on an account:
cline set abi [options] account [abi-file]
Positionals:
account TEXT (required) # The account to set the ABI for.
abi-file TEXT # The path containing the contract ABI.
Options:
transaction_option**
Example:
cline set abi -j inery.test cloning.abi
Output:
{
"transaction_id": "6a7785ea6efb6fabb4fad31a3ef44bceaaa79c14d02cdbe0b3d61ac7b0a8151f",
"processed": {
"id": "6a7785ea6efb6fabb4fad31a3ef44bceaaa79c14d02cdbe0b3d61ac7b0a8151f",
"block_num": 1703095,
"block_time": "2022-02-28T10:21:38.500",
"producer_block_id": null,
"receipt": {
"status": "executed",
"cpu_usage_us": 311,
"net_usage_words": 45
},
"elapsed": 311,
"net_usage": 360,
"scheduled": false,
"action_traces": [{
"action_ordinal": 1,
"creator_action_ordinal": 0,
"closest_unnotified_ancestor_action_ordinal": 0,
"receipt": {
"receiver": "inery",
"act_digest": "b2d3e1732ae9b042560867cb59fb3fceca95da28fd2d90a15d495917a903d70b",
"global_sequence": 2140125,
"recv_sequence": 1703700,
"auth_sequence": [[
"inery.test",
4
]
],
"code_sequence": 2,
"abi_sequence": 2
},
"receiver": "inery",
"act": {
"account": "inery",
"name": "setabi",
"authorization": [{
"actor": "inery.test",
"permission": "active"
}
],
"data": {
"account": "inery.test",
"abi": "0e696e65696f3a3a6162692f312e31000b05636f756e740000066372656174650003046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047265616400010269640675696e7436340772656164616c6c00000a7265616462796e616d650001046e616d6506737472696e67097265616472616e67650002036c6f770675696e74363404686967680675696e7436340672656d6f766500010269640675696e7436340972656d6f7665616c6c00000c72656d6f766562796e616d650001046e616d6506737472696e670675706461746500040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047573657200040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e7433320a00000000803c354505636f756e740000000000a86cd44506637265617465000000000000908cba0472656164000000002046938cba0772656164616c6c0000809266fa938cba0a7265616462796e616d65000000506c9a9b8cba097265616472616e67650000000000a84da5ba0672656d6f766500000088d1a84da5ba0972656d6f7665616c6c00a0a499fea84da5ba0c72656d6f766562796e616d650000000000a86c52d506757064617465000100000000007c15d6036936340000047573657200000000"
},
"hex_data": "0000006088e025cd90040e696e65696f3a3a6162692f312e31000b05636f756e740000066372656174650003046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047265616400010269640675696e7436340772656164616c6c00000a7265616462796e616d650001046e616d6506737472696e67097265616472616e67650002036c6f770675696e74363404686967680675696e7436340672656d6f766500010269640675696e7436340972656d6f7665616c6c00000c72656d6f766562796e616d650001046e616d6506737472696e670675706461746500040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047573657200040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e7433320a00000000803c354505636f756e740000000000a86cd44506637265617465000000000000908cba0472656164000000002046938cba0772656164616c6c0000809266fa938cba0a7265616462796e616d65000000506c9a9b8cba097265616472616e67650000000000a84da5ba0672656d6f766500000088d1a84da5ba0972656d6f7665616c6c00a0a499fea84da5ba0c72656d6f766562796e616d650000000000a86c52d506757064617465000100000000007c15d6036936340000047573657200000000"
},
"context_free": false,
"elapsed": 149,
"console": "",
"trx_id": "6a7785ea6efb6fabb4fad31a3ef44bceaaa79c14d02cdbe0b3d61ac7b0a8151f",
"block_num": 1703095,
"block_time": "2022-02-28T10:21:38.500",
"producer_block_id": null,
"account_mem_deltas": [{
"account": "inery.test",
"delta": 528
}
],
"except": null,
"error_code": null
}
],
"account_mem_delta": null,
"except": null,
"error_code": null
}
}
CONTRACT
Create or update the contract on an account:
cline set contract [options] account [contract-dir] [wasm-file] [abi-file]
Positionals:
account TEXT(required) # The account to publish a contract for.
contract-dir TEXT # The path containing the .wasm and .abi.
wasm-file TEXT # The file containing the contract WASM.
abi-file TEXT # The ABI for the contract.
Options:
transaction_options**
Example:
cline set contract -j inery.test ./contracts cloning.wasm cloning.abi
Output:
{
"transaction_id": "1477087cdaf138303a8f4b1a6f5692fed50f058b0824200de300a0aaa27c0fe2",
"processed": {
"id": "1477087cdaf138303a8f4b1a6f5692fed50f058b0824200de300a0aaa27c0fe2",
"block_num": 1704843,
"block_time": "2022-02-28T10:36:12.500",
"producer_block_id": null,
"receipt": {
"status": "executed",
"cpu_usage_us": 3431,
"net_usage_words": 956
},
"elapsed": 3431,
"net_usage": 7648,
"scheduled": false,
"action_traces": [{
"action_ordinal": 1,
"creator_action_ordinal": 0,
"closest_unnotified_ancestor_action_ordinal": 0,
"receipt": {
"receiver": "inery",
"act_digest": "d72bf93b986b475e33582089da81a7a9b872425f96b5bc4ff8a110deca688b89",
"global_sequence": 2142661,
"recv_sequence": 1705459,
"auth_sequence": [[
"inery.test",
5
]
],
"code_sequence": 2,
"abi_sequence": 2
},
"receiver": "inery",
"act": {
"account": "inery",
"name": "setcode",
"authorization": [{
"actor": "inery.test",
"permission": "active"
}
],
"data": {
"account": "inery.test",
"vmtype": 0,
"vmversion": 0,
"code": "0061736d0100000001a6011b6000006000017f60027f7f006003...next 20 pages..
},
"context_free": false,
"elapsed": 2971,
"console": "",
"trx_id": "1477087cdaf138303a8f4b1a6f5692fed50f058b0824200de300a0aaa27c0fe2",
"block_num": 1704843,
"block_time": "2022-02-28T10:36:12.500",
"producer_block_id": null,
"account_mem_deltas": [{
"account": "inery.test",
"delta": 186890
}
],
"except": null,
"error_code": null
},{
"action_ordinal": 2,
"creator_action_ordinal": 0,
"closest_unnotified_ancestor_action_ordinal": 0,
"receipt": {
"receiver": "inery",
"act_digest": "7ca9b71bf31d744abcb6b89f31ebd2aa5296f28da2bca835e7438a73a9f378eb",
"global_sequence": 2142662,
"recv_sequence": 1705460,
"auth_sequence": [[
"inery.test",
6
]
],
"code_sequence": 2,
"abi_sequence": 2
},
"receiver": "inery",
"act": {
"account": "inery",
"name": "setabi",
"authorization": [{
"actor": "inery.test",
"permission": "active"
}
],
"data": {
"account": "inery.test",
"abi": "0e696e65696f3a3a6162692f312e31000b05636f756e740000066372656174650003046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047265616400010269640675696e7436340772656164616c6c00000a7265616462796e616d650001046e616d6506737472696e67097265616472616e67650002036c6f770675696e74363404686967680675696e7436340672656d6f766500010269640675696e7436340972656d6f7665616c6c00000c72656d6f766562796e616d650001046e616d6506737472696e670675706461746500040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047573657200040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e7433320a00000000803c354505636f756e740000000000a86cd44506637265617465000000000000908cba0472656164000000002046938cba0772656164616c6c0000809266fa938cba0a7265616462796e616d65000000506c9a9b8cba097265616472616e67650000000000a84da5ba0672656d6f766500000088d1a84da5ba0972656d6f7665616c6c00a0a499fea84da5ba0c72656d6f766562796e616d650000000000a86c52d506757064617465000100000000007c15d6036936340000047573657200000000"
},
"hex_data": "000000a008e125cd90040e696e65696f3a3a6162692f312e31000b05636f756e740000066372656174650003046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047265616400010269640675696e7436340772656164616c6c00000a7265616462796e616d650001046e616d6506737472696e67097265616472616e67650002036c6f770675696e74363404686967680675696e7436340672656d6f766500010269640675696e7436340972656d6f7665616c6c00000c72656d6f766562796e616d650001046e616d6506737472696e670675706461746500040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e743332047573657200040269640675696e743634046e616d6506737472696e6705656d61696c06737472696e67066e756d62657205696e7433320a00000000803c354505636f756e740000000000a86cd44506637265617465000000000000908cba0472656164000000002046938cba0772656164616c6c0000809266fa938cba0a7265616462796e616d65000000506c9a9b8cba097265616472616e67650000000000a84da5ba0672656d6f766500000088d1a84da5ba0972656d6f7665616c6c00a0a499fea84da5ba0c72656d6f766562796e616d650000000000a86c52d506757064617465000100000000007c15d6036936340000047573657200000000"
},
"context_free": false,
"elapsed": 178,
"console": "",
"trx_id": "1477087cdaf138303a8f4b1a6f5692fed50f058b0824200de300a0aaa27c0fe2",
"block_num": 1704843,
"block_time": "2022-02-28T10:36:12.500",
"producer_block_id": null,
"account_mem_deltas": [{
"account": "inery.test",
"delta": 528
}
],
"except": null,
"error_code": null
}
],
"account_mem_delta": null,
"except": null,
"error_code": null
}
}
ACCOUNT
PERMISSION
Set parameters dealing with account permissions:
cline set account permission [options] account permission [authority] [parent]
Positionals:
account TEXT(required) # The account to set/delete a permission authority for.
permission TEXT(required) # The permission name to set/delete an authority for.
authority TEXT [delete] NULL, [create/update] public key, JSON string or filename defining the authority, [code] contract name
parent TEXT [create] # The permission name of this parents permission, defaults to 'active'.
Options:
-b, --block-hint UINT # The block number this transaction may be in
Example:
cline set account permission -j inery.test mypermission INE5UQf4BcmPZ5vFQ68TFUjk994hCbFEDvJvJEUdrdTPVkvPE2Hv5
Output:
{
"transaction_id": "99bdd694b08f4fc262a8b9333038f7ab30b2cb82f295564e084344ee9630d101",
"processed": {
"id": "99bdd694b08f4fc262a8b9333038f7ab30b2cb82f295564e084344ee9630d101",
"block_num": 1705841,
"block_time": "2022-02-28T10:44:31.500",
"producer_block_id": null,
"receipt": {
"status": "executed",
"cpu_usage_us": 519,
"net_usage_words": 20
},
"elapsed": 519,
"net_usage": 160,
"scheduled": false,
"action_traces": [{
"action_ordinal": 1,
"creator_action_ordinal": 0,
"closest_unnotified_ancestor_action_ordinal": 0,
"receipt": {
"receiver": "inery",
"act_digest": "8ccf70b1939ae3c9ac7f6b845940c3e8c5ed1cfcab6fd66f3f78545da637817c",
"global_sequence": 2144591,
"recv_sequence": 1706459,
"auth_sequence": [[
"inery.test",
7
]
],
"code_sequence": 2,
"abi_sequence": 2
},
"receiver": "inery",
"act": {
"account": "inery",
"name": "updateauth",
"authorization": [{
"actor": "inery.test",
"permission": "active"
}
],
"data": {
"account": "inery.test",
"permission": "mypermission",
"parent": "active",
"auth": {
"threshold": 1,
"keys": [{
"key": "INE5UQf4BcmPZ5vFQ68TFUjk994hCbFEDvJvJEUdrdTPVkvPE2Hv5",
"weight": 1
}
],
"accounts": [],
"waits": []
}
},
"hex_data": "000000a008e125cd30a9c3d8c9abaa9700000000a8ed3232010000000100024d046d17c02c834a2b7b41c1e8e638f8145eb6132e1ef1b109ceb6e67d1f00ad01000000"
},
"context_free": false,
"elapsed": 258,
"console": "",
"trx_id": "99bdd694b08f4fc262a8b9333038f7ab30b2cb82f295564e084344ee9630d101",
"block_num": 1705841,
"block_time": "2022-02-28T10:44:31.500",
"producer_block_id": null,
"account_mem_deltas": [{
"account": "inery.test",
"delta": 338
}
],
"except": null,
"error_code": null
}
],
"account_mem_delta": null,
"except": null,
"error_code": null
}
}
TRANSFER
Transfer tokens from account to account:
cline transfer [options] sender recipient amount [memo]
Positionals:
sender TEXT(required) # The account sending tokens.
recipient TEXT(required) # The account receiving tokens.
amount TEXT(required) # The amount of tokens to send.
memo TEXT # The memo for the transfer.
Output:
{
"transaction_id": "682f4c92d8800c38f4f13722d7410edabd0bd235f947a9ca6d540d166cba4084",
"processed": {
"id": "682f4c92d8800c38f4f13722d7410edabd0bd235f947a9ca6d540d166cba4084",
"block_num": 1706736,
"block_time": "2022-02-28T10:51:59.000",
"producer_block_id": null,
"receipt": {
"status": "executed",
"cpu_usage_us": 413,
"net_usage_words": 16
},
"elapsed": 413,
"net_usage": 128,
"scheduled": false,
"action_traces": [{
"action_ordinal": 1,
"creator_action_ordinal": 0,
"closest_unnotified_ancestor_action_ordinal": 0,
"receipt": {
"receiver": "inery.token",
"act_digest": "35b2417f23273f6448186de99b28f71d75b4ba2ead469ff32f94996451d17a31",
"global_sequence": 2146326,
"recv_sequence": 440,
"auth_sequence": [[
"inery.test2",
11900
]
],
"code_sequence": 1,
"abi_sequence": 1
},
"receiver": "inery.token",
"act": {
"account": "inery.token",
"name": "transfer",
"authorization": [{
"actor": "inery.test2",
"permission": "active"
}
],
"data": {
"from": "inery.test1",
"to": "inery.test",
"quantity": "10.0000 INR",
"memo": ""
},
"hex_data": "0000000000008831000000a008e125cda086010000000000044253550000000000"
},
"context_free": false,
"elapsed": 157,
"console": "",
"trx_id": "682f4c92d8800c38f4f13722d7410edabd0bd235f947a9ca6d540d166cba4084",
"block_num": 1706736,
"block_time": "2022-02-28T10:51:59.000",
"producer_block_id": null,
"account_mem_deltas": [],
"except": null,
"error_code": null
},{
"action_ordinal": 2,
"creator_action_ordinal": 1,
"closest_unnotified_ancestor_action_ordinal": 1,
"receipt": {
"receiver": "inery.test2",
"act_digest": "35b2417f23273f6448186de99b28f71d75b4ba2ead469ff32f94996451d17a31",
"global_sequence": 2146327,
"recv_sequence": 11897,
"auth_sequence": [[
"inery.test2",
11901
]
],
"code_sequence": 1,
"abi_sequence": 1
},
"receiver": "inery.test2",
"act": {
"account": "inery.token",
"name": "transfer",
"authorization": [{
"actor": "inery.test2",
"permission": "active"
}
],
"data": {
"from": "inery.test2",
"to": "inery.test",
"quantity": "10.0000 INR",
"memo": ""
},
"hex_data": "0000000000008831000000a008e125cda086010000000000044253550000000000"
},
"context_free": false,
"elapsed": 12,
"console": "",
"trx_id": "682f4c92d8800c38f4f13722d7410edabd0bd235f947a9ca6d540d166cba4084",
"block_num": 1706736,
"block_time": "2022-02-28T10:51:59.000",
"producer_block_id": null,
"account_mem_deltas": [],
"except": null,
"error_code": null
},{
"action_ordinal": 3,
"creator_action_ordinal": 1,
"closest_unnotified_ancestor_action_ordinal": 1,
"receipt": {
"receiver": "inery.test",
"act_digest": "35b2417f23273f6448186de99b28f71d75b4ba2ead469ff32f94996451d17a31",
"global_sequence": 2146328,
"recv_sequence": 2,
"auth_sequence": [[
"inery.test2",
11902
]
],
"code_sequence": 1,
"abi_sequence": 1
},
"receiver": "inery.test",
"act": {
"account": "inery.token",
"name": "transfer",
"authorization": [{
"actor": "inery.test2",
"permission": "active"
}
],
"data": {
"from": "inery.test2",
"to": "inery.test",
"quantity": "10.0000 INR",
"memo": ""
},
"hex_data": "0000000000008831000000a008e125cda086010000000000044253550000000000"
},
"context_free": false,
"elapsed": 11,
"console": "",
"trx_id": "682f4c92d8800c38f4f13722d7410edabd0bd235f947a9ca6d540d166cba4084",
"block_num": 1706736,
"block_time": "2022-02-28T10:51:59.000",
"producer_block_id": null,
"account_mem_deltas": [],
"except": null,
"error_code": null
}
],
"account_mem_delta": null,
"except": null,
"error_code": null
}
}
NET
CONNECT
Start a new connection to a peer:
cline net connect [options] host
Positionals:
host TEXT REQUIRED # The hostname:port to connect to.
Example:
cline net connect dev-test3.inery.network:9010
Output:
"added connection"
DISCONNECT
Close an existing connection:
cline net disconnect [options] host
Positionals:
host TEXT REQUIRED # The hostname:port to disconnect from.
Example:
cline net disconnect dev-test3.inery.network:9010
Output:
"connection removed"
STATUS
Status of existing connection:
cline net status [options] host
Positionals:
host TEXT REQUIRED # The hostname: port to query status of connection.
Example:
cline net status dev-test3.inery.network:9010
Output:
{
"peer": "dev-test3.inery.network:9010",
"connecting": false,
"syncing": false,
"last_handshake": {
"network_version": 1206,
"chain_id": "54aaf66ac6bc5ce7cd1f035976401749542eaadf63ec36312889414e1dc272ed",
"node_id": "fdaee14abbecdeddf0bd607a47c9c3cbdbb6e139e6275b180d200d3244a4cda2",
"key": "INE1111111111111111111111111111111114T1Anm",
"time": "1646053423273766570",
"token": "0000000000000000000000000000000000000000000000000000000000000000",
"sig": "SIG_K1_111111111111111111111111111111111111111111111111111111111111111116uk5ne",
"p2p_address": "dev-test3.inery.network:9010 - fdaee14",
"last_irreversible_block_num": 1721998,
"last_irreversible_block_id": "001a468ec25df0806fa3d816af9908467b869bd564148dface2109865a656b8d",
"head_num": 1721999,
"head_id": "001a468fa902b9582f3fa453c2c8e727bb84e0086910e97811df9569850db22c",
"os": "linux",
"agent": "\"INE Test Agent\"",
"generation": 1
}
}
PEERS
Status of all existing peers:
cline net peers [options]
Positionals:
account TEXT # The account to set/delete a permission authority for.
permission TEXT # The permission name to set/delete an authority for.
authority TEXT [delete] NULL, [create/update] public key, JSON string or filename defining the authority, [code] contract name
parent TEXT [create] # The permission name of this parents permission, defaults to 'active'.
Example:
cline net peers
Output:
[{
"peer": "dev-test5.inery.network:9010",
"connecting": false,
"syncing": false,
"last_handshake": {
"network_version": 1206,
"chain_id": "54aaf66ac6bc5ce7cd1f035976401749542eaadf63ec36312889414e1dc272ed",
"node_id": "50917256e82a3b35fb2c4e046d0de4aa037b25b479f8ce156f42a3bf56670032",
"key": "INE1111111111111111111111111111111114T1Anm",
"time": "1646053423279984205",
"token": "0000000000000000000000000000000000000000000000000000000000000000",
"sig": "SIG_K1_111111111111111111111111111111111111111111111111111111111111111116uk5ne",
"p2p_address": "dev-test5.inery.network:9010 - 5091725",
"last_irreversible_block_num": 1721998,
"last_irreversible_block_id": "001a468ec25df0806fa3d816af9908467b869bd564148dface2109865a656b8d",
"head_num": 1721999,
"head_id": "001a468fa902b9582f3fa453c2c8e727bb84e0086910e97811df9569850db22c",
"os": "linux",
"agent": "\"INE Test Agent\"",
"generation": 1
}
},{
"peer": "dev-test4.inery.network:9010",
"connecting": false,
"syncing": false,
"last_handshake": {
"network_version": 1206,
"chain_id": "54aaf66ac6bc5ce7cd1f035976401749542eaadf63ec36312889414e1dc272ed",
"node_id": "39ecb8568b2d2551288356caadfd45ec4eed93cfacc7700c145d6771c7e6a9ef",
"key": "INE1111111111111111111111111111111114T1Anm",
"time": "1646053423291008507",
"token": "0000000000000000000000000000000000000000000000000000000000000000",
"sig": "SIG_K1_111111111111111111111111111111111111111111111111111111111111111116uk5ne",
"p2p_address": "dev-test4.inery.network:9010 - 39ecb85",
"last_irreversible_block_num": 1721998,
"last_irreversible_block_id": "001a468ec25df0806fa3d816af9908467b869bd564148dface2109865a656b8d",
"head_num": 1721999,
"head_id": "001a468fa902b9582f3fa453c2c8e727bb84e0086910e97811df9569850db22c",
"os": "linux",
"agent": "\"INE Test Agent\"",
"generation": 1
}
},{
"peer": "server1.inery.dev:9010",
"connecting": false,
"syncing": false,
"last_handshake": {
"network_version": 1206,
"chain_id": "54aaf66ac6bc5ce7cd1f035976401749542eaadf63ec36312889414e1dc272ed",
"node_id": "ec642fd8e5dbf2df26f180012e61b1078b59382fcb30d729fb24cc5c5b19437b",
"key": "INE1111111111111111111111111111111114T1Anm",
"time": "1646053423291901727",
"token": "0000000000000000000000000000000000000000000000000000000000000000",
"sig": "SIG_K1_111111111111111111111111111111111111111111111111111111111111111116uk5ne",
"p2p_address": "server1.inery.dev:9010 - ec642fd",
"last_irreversible_block_num": 1721998,
"last_irreversible_block_id": "001a468ec25df0806fa3d816af9908467b869bd564148dface2109865a656b8d",
"head_num": 1721999,
"head_id": "001a468fa902b9582f3fa453c2c8e727bb84e0086910e97811df9569850db22c",
"os": "linux",
"agent": "\"INE Test Agent\"",
"generation": 1
}
},{
"peer": "dev-test3.inery.network:9010",
"connecting": false,
"syncing": false,
"last_handshake": {
"network_version": 1206,
"chain_id": "54aaf66ac6bc5ce7cd1f035976401749542eaadf63ec36312889414e1dc272ed",
"node_id": "fdaee14abbecdeddf0bd607a47c9c3cbdbb6e139e6275b180d200d3244a4cda2",
"key": "INE1111111111111111111111111111111114T1Anm",
"time": "1646054100867418629",
"token": "0000000000000000000000000000000000000000000000000000000000000000",
"sig": "SIG_K1_111111111111111111111111111111111111111111111111111111111111111116uk5ne",
"p2p_address": "dev-test3.inery.network:9010 - fdaee14",
"last_irreversible_block_num": 1721998,
"last_irreversible_block_id": "001a4a89249f6f28245c39997376ca4d71158a0443a3987cc5b60a6305380c56",
"head_num": 1721999,
"head_id": "001a4a8a42e842df8e2bee76787affc343281ae4f3f06f8f9d54b9d83cd6415d",
"os": "linux",
"agent": "\"INE Test Agent\"",
"generation": 1
}
}]
WALLET
CREATE
Create a new wallet locally:
cline wallet create [options]
Options:
-h,--help # Print this help message and exit.
-n,--name TEXT # The name of the new wallet.
-f,--file TEXT # Name of file to write wallet password output to.
--to-console # Print password to console.
Example:
cline wallet create -n mywallet --to-console
Output:
Creating wallet: mywallet
Save password to use in the future to unlock this wallet.
Without password imported keys will not be retrievable.
"PW5JhkPXuBzmjy8vCe1pRaEvKbRxNs5LojS69YCTE5KPoEKkXbdPZ"
OPEN
Open an existing wallet:
cline wallet open [options]
Options:
-n,--name TEXT # The name of the wallet to open.
Example:
cline wallet open -n mywallet
Output:
Opened: mywallet
LOCK
Lock wallet:
cline wallet lock [options]
Options:
-n,--name TEXT # The name of the wallet to lock.
Example:
cline wallet lock -n mywallet
Output:
Locked: mywallet
LOCK_ALL
Lock all unlocked wallets:
cline wallet lock_all
Example:
cline wallet lock_all
Output:
Locked All Wallets
UNLOCK
Unlock wallet:
cline wallet unlock [options]
Options:
-n,--name TEXT # The name of the wallet to unlock.
--password TEXT # The password returned by wallet create.
Example:
cline wallet unlock -n mywallet --password PW5JhkPXuBzmjy8vCe1pRaEvKbRxNs5LojS69YCTE5KPoEKkXbdPZ
Output:
Unlocked: mywallet
IMPORT
Import private key into wallet:
cline wallet import [options]
Options:
-n,--name TEXT # The name of the wallet to import key into.
--private-key TEXT # Private key in WIF format to import.
Example:
cline wallet import -n mywallet --private-key 5Ht8Hp3cfMPBBbFJaTss2QMz7TWShiA6qeG7sLsEG8BUzKMdNwj
Output:
imported private key for: INE5PnPPJaw3cQcc573954cY7DUwUSKk37GmGYgrzBiUrPMrfw7Wg
REMOVE_KEY
Remove key from wallet:
cline wallet remove_key [options] key
Positionals:
key TEXT REQUIRED # Public key in WIF format to remove.
Options:
-n,--name TEXT # The name of the wallet to remove key from.
--password TEXT # The password returned by wallet create.
Example:
cline wallet remove_key -n mywallet --password PW5JhkPXuBzmjy8vCe1pRaEvKbRxNs5LojS69YCTE5KPoEKkXbdPZ INE5PnPPJaw3cQcc573954cY7DUwUSKk37GmGYgrzBiUrPMrfw7Wg
Output:
removed private key for: INE5PnPPJaw3cQcc573954cY7DUwUSKk37GmGYgrzBiUrPMrfw7Wg
CREATE_KEY
Create private key within wallet:
cline wallet create_key [options] [key_type]
Positionals:
key_type K1/R1 # Key type to create (K1/R1).
Options:
-n,--name TEXT=default # The name of the wallet to create key into.
Example:
cline wallet create_key -n mywallet K1
Output:
Created new private key with a public key of: "INE6bRLzTCa4b65p2asqqB25jErFNTXTLaTo17CuSSjdXDxfAy6fQ"
LIST
List opened wallets:
cline wallet list
tip
*
indicates an unlocked wallet.
Output:
Wallets:
[
"inery",
"default",
"mywallet *"
]
KEYS
List of public keys from all unlocked wallets:
cline wallet keys
Example:
cline wallet list
Output:
[
"INE65t8vkjd8e2VGZ5AnkMD2VGUcym6yYzRd3rLpRcQ825y6Q75kR",
"INE6bRLzTCa4b65p2asqqB25jErFNTXTLaTo17CuSSjdXDxfAy6fQ",
"PUB_R1_7raBQLvbZxg2cczxxKabrihv5bSmUvZFAqx1fcAi4VvT5SZEEw"
]
PRIVATE_KEYS
List of private keys from an unlocked wallet in wif or PVT_R1 format:
cline wallet private_keys [options]
Options:
-n,--name TEXT=default # The name of the wallet to list keys from.
--password TEXT # The password returned by wallet create.
Example:
cline wallet private_keys -n mywallet --password PW5JhkPXuBzmjy8vCe1pRaEvKbRxNs5LojS69YCTE5KPoEKkXbdPZ
Output:
[[
"INE65t8vkjd8e2VGZ5AnkMD2VGUcym6yYzRd3rLpRcQ825y6Q75kR",
"5KN5NiDHUEGHejxbmsiv5Fz3k74QSWCHWGLwECxH3oEpp4RP5D9"
],[
"INE6bRLzTCa4b65p2asqqB25jErFNTXTLaTo17CuSSjdXDxfAy6fQ",
"5Hqif7syrTk9D74yHp73Bqb6fusLmknJ5RqaQxyamKkhC4DGBEw"
],[
"PUB_R1_7raBQLvbZxg2cczxxKabrihv5bSmUvZFAqx1fcAi4VvT5SZEEw",
"PVT_R1_21S2zDFiW1ohbFh3dBbsUyH9UoYeRmFwFWwK1yLTbGVbxsi9NY"
]]
STOP
Stop kined:
cline wallet stop
PUSH
ACTION
Push a transaction with a single action:
cline push action [options] account action data
Positionals:
account TEXT REQUIRED # The account providing the contract to execute.
action TEXT REQUIRED # A JSON string or filename defining the action to execute.
data TEXT REQUIRED # The arguments to the contract.
Options:
transaction_options**
TRANSACTION
Push an arbitrary JSON transaction:
cline push transaction [options] transaction
Positionals:
transaction TEXT REQUIRED # The JSON string or filename defining the transaction to push.
Options:
transaction_options**
TRANSACTIONS
Push an array of arbitrary JSON transactions:
cline push transactions [options] transactions
Positionals:
transactions TEXT REQUIRED # The JSON string or filename defining the array of the transactions to push.
Options:
transaction_options**
SYSTEM
NEWACCOUNT
Create a new account on the blockchain with initial resources :
cline system newaccount [options] creator name OwnerKey [ActiveKey]
Positionals:
creator TEXT REQUIRED The name of the account creating the new account
name TEXT REQUIRED The name of the new account
OwnerKey TEXT REQUIRED The owner public key or permission level for the new account
ActiveKey TEXT The active public key or permission level for the new account
Options:
transaction_options**
Example:
cline system newaccount --transfer createacc inery.test3 INE65kTQsHjpMgW6XYUxm66gFFzcGTcRp5F4uk9Le4sDNpibBwZ6X --stake-net "1 INR" --stake-cpu "1 INR" --buy-mem-bytes 1048576
Output:
executed transaction: 318067ed94c8089da99acad2bdbf0e21676448847e3d4e98b19fa865697f2e36 336 bytes 3169 us
# inery <= inery::newaccount {"creator":"createacc","name":"inery.test3","owner":{"threshold":1,"keys":[{"key":"INE65kTQsHjpMgW6X...
# inery <= inery::buymembytes {"payer":"createacc","receiver":"inery.test3","bytes":1048576}
# inery <= inery::delegatebw {"from":"createacc","receiver":"inery.test3","stake_net_quantity":"1.0000 INR","stake_cpu_quantity":...
# inery.token <= inery.token::transfer {"from":"createacc","to":"inery.mem","quantity":"1.0000 INR","memo":"buy MEM"}
# inery.token <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# inery.token <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# createacc <= inery.token::transfer {"from":"createacc","to":"inery.mem","quantity":"1.0000 INR","memo":"buy MEM"}
# inery.mem <= inery.token::transfer {"from":"createacc","to":"inery.mem","quantity":"1.0000 INR","memo":"buy MEM"}
# createacc <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# inery.stake <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# createacc <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# inery.stake <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# inery.token <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# createacc <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
# inery.stake <= inery.token::transfer {"from":"createacc","to":"inery.stake","quantity":"2.0000 INR","memo":"stake bandwidth"}
warning: transaction executed locally, but may not be confirmed by the network yet ]
REGPRODUCER
Register a new producer
cline system regproducer [options] account producer_key [url] [location]
Positionals:
account TEXT REQUIRED The account to register as a producer
producer_key TEXT REQUIRED The producers public key
url TEXT url where info about producer can be found
location UINT=0 relative location for purpose of nearest neighbor scheduling
Options:
transaction_options**
Example:
cline system regproducer devprod3 INE7pnGzN3J44T83WVkJ4uHxXwy8VmTt5gysN4m31jWSvnJKe6hfg dev-test3.inery.network
Output:
executed transaction: 03b0b947866b0c441b2bddf0501460f6cce5c8049e56a6eff0639d97f99fdd27 160 bytes 907 us
# inery <= inery::regproducer {"producer":"devprod3","producer_key":"INE7pnGzN3J44T83WVkJ4uHxXwy8VmTt5gysN4m31jWSvnJKe6hfg","url":...
warning: transaction executed locally, but may not be confirmed by the network yet
UNREGPROD
Unregister an existing producer
cline system unregprod [options] account
Positionals:
account TEXT REQUIRED The account to unregister as a producer
Options:
transaction_options**
Example:
cline system unregprod devprod3
Output:
executed transaction: d010b3c4c0b7eec8d5f1232617deb8de52da45d479eb44aa2f4bcb8c9e7980cb 104 bytes 608 us
# inery <= inery::unregprod {"producer":"devprod3"}
warning: transaction executed locally, but may not be confirmed by the network yet
MAKEPROD
Producer can validate blocks
cline system makeprod [OPTIONS] SUBCOMMAND
Subcommands:
proxy Vote your stake through a proxy
prods Vote for one or more producers
approve Add one producer to list of voted producers
unapprove Remove one producer from list of voted producers
APPROVE
Add one producer to list of voted producers:
cline system makeprod approve [OPTIONS] voter producer
Positionals:
voter TEXT REQUIRED The voting account
producer TEXT REQUIRED The account to vote for
Options:
transaction_options**
Example:
cline system makeprod approve devprod3 devprod3
Output:
executed transaction: 46c50bcced294d2b9b0b8370a1e44e3a2cd40b2fa58708def80de81e2a601f43 120 bytes 1006 us
# inery <= inery::makeprod {"voter":"devprod3","proxy":"","producers":["devprod3"]}
warning: transaction executed locally, but may not be confirmed by the network yet
UNAPPROVE
Remove one producer from list of voted producers :
cline system makeprod unapprove [OPTIONS] voter producer
Positionals:
voter TEXT REQUIRED The voting account
producer TEXT REQUIRED The account to remove from voted producers
Options:
transaction_options**
Example:
cline system makeprod unapprove devprod3 devprod3
Output:
executed transaction: f14c182ff0c8bdd821f24ab8c47567ef3ab836f8def0d074589b9d9ab1940418 112 bytes 1123 us
# inery <= inery::makeprod {"voter":"devprod3","proxy":"","producers":[]}
warning: transaction executed locally, but may not be confirmed by the network yet
LISTPRODUCERS
List producers
Positionals:
cline system listproducers [OPTIONS]
Options:
-h,--help Print this help message and exit
-j,--json Output in JSON format
-l,--limit UINT The maximum number of rows to return
-L,--lower TEXT lower bound value of key, defaults to first
Example:
cline system listproducers
Output:
Producer Producer key Url
devprod2 INE6gcMFo6qUmcxDD3HFD6h3VkjEmfUevKWxYPf3wwBFiT8KSTn45 0.0.0.0:9010
devprod3 INE7pnGzN3J44T83WVkJ4uHxXwy8VmTt5gysN4m31jWSvnJKe6hfg 0.0.0.0:9010
devprod4 INE7rJAPUvuwENKYiM8ipu26kJsedRJgLyhvsA8sSh1qkvgh9jhUm 0.0.0.0:9010
devprod5 INE8Teu4vqwa2LLHSNFDMYtb6WVc9KGoeaYJzpQB8RJH5nbnq2jHa 0.0.0.0:9010
server1 INE7myeoLmQ3YRh3ZCBKzoSjNs71955pyFHf4fvUevpVSbwv7JDvh 0.0.0.0:9010
server2 INE5jxJySJyyLRw5H1C3xzbFE2EW1MyNL2bAjQDCfHAKswkUJVMAF 0.0.0.0:9010
BUYRESOURCES
Buy MEM
cline system buyresources [OPTIONS] payer receiver amount
Positionals:
payer TEXT REQUIRED The account paying for MEM
receiver TEXT REQUIRED The account receiving bought MEM
amount TEXT REQUIRED The amount of tokens to pay for MEM
Options:
transaction_options**
Example:
cline system buyresources inery inery.test "400 INR"
Output:
executed transaction: 2ec326e33a22f34d671d25d46809b4b9606313498578f9eb6caad34a34462a16 128 bytes 1503 us
# inery <= inery::buyresources {"payer":"inery","receiver":"inery.test","quant":"400.0000 INR"}
# inery.token <= inery.token::transfer {"from":"inery","to":"inery.mem","quantity":"400.0000 INR","memo":"buy MEM"}
# inery.token <= inery.token::transfer {"from":"inery","to":"inery.stake","quantity":"800.0000 INR","memo":"stake bandwidth"}
# inery <= inery.token::transfer {"from":"inery","to":"inery.mem","quantity":"400.0000 INR","memo":"buy MEM"}
# inery.mem <= inery.token::transfer {"from":"inery","to":"inery.mem","quantity":"400.0000 INR","memo":"buy MEM"}
# inery <= inery.token::transfer {"from":"inery","to":"inery.stake","quantity":"800.0000 INR","memo":"stake bandwidth"}
# inery.stake <= inery.token::transfer {"from":"inery","to":"inery.stake","quantity":"800.0000 INR","memo":"stake bandwidth"}
warning: transaction executed locally, but may not be confirmed by the network yet