System
Last updated
Last updated
Description The subcommands can be used to send cyber.system contract action to the blockchain.
Subcommands
— Create a new account on the blockchain with initial resources.
— Register a new producer.
— Unregister an existing producer.
— Vote your stake through a proxy.
— Vote for a producer.
— List producers.
— Delegate bandwidth.
— Undelegate bandwidth.
— Claim undelegated bandwidth.
— List delegated bandwidth.
— Name bidding.
— Get bidname info.
— Set an account proxy level.
— Register an account as a proxy (for voting).
— Unregister an account as a proxy (for voting).
— Stake assets to gain resources.
— Cancel a delayed transaction.
Create a new account on the blockchain with initial resources.
(string) creator
— The name of the account creating the new account (required).
(string) name
— The name of the new account (required).
(string) OwnerKey
— The owner public key or permission level for the new account (required).
(string) ActiveKey
— The active public key or permission level for the new account.
--stake
TEXT — The amount of tokens delegated for the account
--transfer
— Transfer voting power and right to unstake tokens to receiver.
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'creator@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
'alice' creates 'bob' and transfers him 50 tokens irrevocably.
Register a new producer.
(string) account
— The account to register as a producer (required).
(string) producer_key
— The producer's public key (required).
--min-own-stake
— A min value the producer guarantees to stake.
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'account@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
Unregister an existing producer.
(string) account
— An account to unregister from producers (required).
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'account@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
This subcommand can be used to vote your stake through a proxy.
(string) voter
— The voting account (required).
(string) proxy
— The proxy accoun (required).
(string) quantity
— An asset quantity that the voter delegates to the proxy to vote for the producer (required).
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'voter@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
This subcommand can be used to vote for a producer.
(string) voter
— A voting account (required).
(string) producer
— An account to vote for (required).
(string) quantity
— An asset quantity that the voter votes for the producer (required).
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'voter@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
This subcommand can be used to obtain a list of producers.
No parameters required for this subcommand.
--json
, -j
— 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.
This subcommand can be used to delegate bandwidth.
(string) from
— The account to delegate bandwidth from (required).
(string) receiver
— The account to receive the delegated bandwidth (required).
(string) stake_quantity
— The amount of tokens to stake (required).
--transfer
— Transfer voting power and right to unstake tokens to receiver.
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'from@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
'alice' delegates 10 tokens to 'bob'
This subcommand can be used to undelegate bandwidth.
(string) from
— The account undelegating bandwidth (required).
(string) receiver
— The account to undelegate bandwidth from (required).
(string) unstake_quantity
— The amount of tokens to undelegate (required).
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'from@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
(string) from
— An account claims undelegated stake (required).
(string) receiver
— An account returning stake (required).
(string) token_code
— An asset symbol claimed (required).
No options required for this subcommand.
'alice' credits the amount of staked tokens returned from 'bob' to a stake.
This subcommand can be used to list delegated bandwidth.
(string) account
— The account delegated bandwidth (required).
--json
, -j
— Output in JSON format.
'alice' receives a list of users to whom she delegated bandwidth (staked tokens).
Name bidding subcommand.
(string) bidder
— The bidding account (required).
(string) newname
— The name which the bid is done for (required).
(string) bid
— The amount of system tokens to bid (it is asset structure) (required).
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'bidder@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
'accountname1' bids 100 tokens to buy 'alice' name at an auction.
This subcommand can be used to get bidname info.
(string) newname
— The name to lookup to lookup (required).
--json
, -j
— Output in JSON format.
This subcommand can be used to set an account proxy level.
(string) account
— An account whose proxy level will be set (required).
(uint) level
— A proxy level to set (required).
--symbol
— A symbol of an asset used in the system.
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'account@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
This subcommand can be used to register an account as a proxy (for voting).
(string) proxy
— A proxy account to register (required).
--symbol
TEXT — A token symbol used by producers.
--level
UINT — A proxy level (must be greater than 0, but less than MAX_LEVEL. Default MAX_LEVEL value is 1 ).
--fee
UINT — A part of the fee proxies get for a block producing (takes an ineteger value from 0 to 10000 inclusive (10000 means 100,00 %).
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'proxy@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
'alice' registers as a proxy having level=1 and fee=50(%).
Unregister an account as a proxy (for voting).
(string) proxy
— The proxy account to unregister (required).
--symbol
TEXT — A token symbol used by producers.
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'proxy@active').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
'alice' stops registering as a proxy account.
This subcommand can be used to stake assets to gain resources.
(string) account
— An account who stakes assets (required).
(string) quantity
— Assets quantity to stake (required).
--beneficiary
TEXT — An account gaining resources.
This subcommand can be used to cancel a delayed transaction.
(string) canceling_account
— Account from authorization on the original delayed transaction (required).
(string) canceling_permission
— Permission from authorization on the original delayed transaction (required).
(string) trx_id
— The transaction id of the original delayed transaction (required).
-x
, --expiration
TEXT — Set the time (in seconds) before a transaction expires, defaults to 30 s.
-f
, --force-unique
— Force the transaction to be unique. This will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times.
-s
, --skip-sign
— Specify if unlocked wallet keys should be used to sign transaction.
-j
, --json
— Print result as JSON.
-d
, --dont-broadcast
— Do not broadcast transaction to the network (just print to stdout
).
--return-packed
— Used in conjunction with --dont-broadcast
to get the packed transaction.
-r
, --ref-block
TEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).
-p
, --permission
TEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'canceling_account@canceling_permission').
--max-cpu-usage-ms
UINT — Set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit).
--max-net-usage
UINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-ram-usage
UINT — Set an upper limit on the ram usage budget (in bytes) for the transaction (defaults to 0 which means no limit).
--max-storage-usage
— Set an upper limit on the storage usage budget, (in bytes) for the transaction (defaults to 0 which means no limit).
--delay-sec
UINT — Set the delay_sec
seconds, defaults to 0 s.
--bandwidth-provider
TEXT — Set an account which provide own bandwidth for transaction.
--dont-declare-names
— Do not add declarenames
action for resolved account names.
This subcommand can be used to claim undelegated bandwidth.
This operation can only be performed 30 days after completion of undelegatebw
(see ).