跳到主要内容
版本:3.1

System-Rex-Rentcpu

Positionals

  • from TEXT - Account buying REX tokens (required)
  • receiver TEXT - Account to whom rented CPU bandwidth is staked (required)
  • loan_payment TEXT - Loan fee to be paid, used to calculate amount of rented bandwidth (required)
  • loan_fund TEXT - Loan fund to be used in automatic renewal, can be 0 tokens (required)

Options

  • -h,--help Print this help message and exit
  • -x,--expiration TEXT - set the time in seconds before a transaction expires, defaults to 30s
  • -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
  • -d,--dont-broadcast - Don't broadcast transaction to the network (just print to stdout)
  • -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)
  • --delay-sec UINT set the delay_sec seconds, defaults to 0s
  • -j,--json print result as json

Examples

cleos system rex rentcpu accountname1 accountname2 "1 EOS" 0