Get
Last updated
Last updated
Description The subcommands can be used to retrieve various items and information from the blockchain.
Subcommands
— Retrieve the ABI for an account.
— Retrieve an account from the blockchain.
— Retrieve accounts associated with a public key.
— Retrieve all actions with specific account name referenced in authorization or receiver.
— Retrieve a full block from the blockchain.
— Retrieve the code and ABI for an account.
— Retrieve the balance of an account for a given currency.
— Retrieve the stats of for a given currency.
— Get current blockchain information.
— Retrieve the producer schedule.
— Retrieve a list of scopes and tables owned by a contract.
— Retrieve accounts which are servants of a given account.
— Retrieve the contents of a database table.
— Retrieve a transaction from the blockchain.
— Get transaction id given transaction object.
The subcommand retrieves the ABI for an account.
(string) name
— The name of the account whose abi should be retrieved (required).
-f
, --file
TEXT — The name of the file to save the contract .abi to instead of writing to console.
Retrieve and save abi for cyber.stake contract.
The subcommand retrieves an account from the blockchain.
(string) name
— The name of the account to retrieve (required).
(string) core-symbol
— The expected core symbol of the chain you are querying.
--json
, -j
— Output in JSON format.
Get formatted data for user cyberio.
Get JSON data for user cyberio.
The subcommand retrieves accounts associated with a public key.
(string) public_key
— The public key to retrieve accounts for (required).
--json
, -j
— Output in JSON format.
The subcommand retrieves all actions with specific account name referenced in authorization or receiver.
(string) account_name
— Name of account to query on (required).
(int_32) pos
— Sequence number of action for this account, -1 for last.
(int_32) offset
— Get actions [pos, pos + offset]
for positive offset or [pos - offset, pos]
for negative offset.
-j
, --json
— Print full json.
--full
— Do not truncate action output.
--pretty
— Pretty print full action json.
--console
— Print console output generated by action.
Retrieve and save abi for cyber.token contract.
The subcommand retrieves a full block from the blockchain.
(string) block
— The number or ID of the block to retrieve (required).
--header-state
— Get block header state from fork database instead.
or
Result output is a block object similar to the following
The subcommand retrieves the code and ABI for an account
(string) name
— The name of the account whose code should be retrieved (required).
-c
, --code
TEXT — The name of the file to save the contract .wast to.
-a
, --abi
TEXT — The name of the file to save the contract .abi to.
--wasm
— Save contract as wasm.
Simply output the hash of cyber.token contract
Retrieve and save abi for cyber.token contract.
Retrieve and save wast code for cyber.token contract.
The subcommand retrieves the balance of an account for a given currency.
(string) contract
— The contract that operates the currency (required).
(string) account
— The account to query balances for (required).
(string) symbol
— The symbol for the currency if the contract operates multiple currencies.
No options required for this subcomand.
Get balance of eosio from cyber.token contract for SYS symbol.
The subcommand retrieves the stats of for a given currency.
(string) contract
— The contract that operates the currency (required).
(string) symbol
— The symbol for the currency if the contract operates multiple currencies (required).
No options required for this subcomand.
Get stats of the SYS token from the cyber.token contract.
The subcommand gets current blockchain information.
No parameters required for this subcommand.
No options required for this subcommand.
This subcommand returns the current blockchain state information.
The subcommand retrieves the producer schedule.
No parameters required for this subcommand.
-j
, --json
— Output in JSON format.
This subcommand returns the current producer schedule.
The subcommand retrieves a list of scopes and tables owned by a contract
(string) contract
— The contract who owns the table (required).
-t
, --table
TEXT — The name of the table as filter.
-l
, --limit
UINT — The maximum number of rows to return.
-L
, --lower
TEXT — Lower bound of scope.
-U
, --upper
TEXT — Upper bound of scope.
-r
, --reverse
— Iterate in reverse order.
The subcommand retrieves accounts which are servants of a given account.
(string) account
— The name of the controlling account (required).
No options required for this subcommand.
Output
The subcommand retrieves the contents of a database table.
(string) account
— The account who owns the table (required).
(string) scope
— The scope within the contract in which the table is found (required).
(string) table
— The name of the table as specified by the contract abi (required).
--index
— Index name. The same as in abi decription. If not set the index name will be primary.
-b
, --binary
— Return the value as BINARY rather than using abi to interpret as JSON.
-l
, --limit
— The maximum number of rows to return.
-k
, --key
— Deprecated.
-L
, --lower
— JSON representation of lower bound value of key, defaults to first.
-U
, --upper
— JSON representation of upper bound value of key, defaults to last.
--key-type
— Deprecated.
--encode-type
— The encoding type of key_type (i64 , i128 , float64, float128) only support decimal encoding (e.g. 'dec'). i256 - supports both 'dec' and 'hex', ripemd160 and sha256 is 'hex' only.
-r
, --reverse
— Iterate in reverse order.
--show-payer
— show RAM payer.
Get the data from the accounts table for the cyber.token contract, for user cyberio.
The subcommand retrieves a transaction from the blockchain.
(string) id
— ID of the transaction to retrieve (required).
-b
, --block-hint
UINT — The block number this transaction may be in.
The subcommand gets transaction id given transaction object.
(string) transaction
— The JSON string or filename defining the transaction which transaction ID will be retrieved (required).
No options required for this subcommand.