Transfer
Description
The subcommand can be used to transfer tokens from account to account.
Positional Parameters
(string) sender— The account sending tokens (required).(string) recipient— The account receiving tokens (required).(string) amount— The amount of tokens to send (required).(string) memo— The memo for the transfer.
Options
--contract,-cTEXT — The contract which controls the token.--pay-ram-to-open— Pay ram to open recipient's token balance row.-x,--expirationTEXT — 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 tostdout).--return-packed— Used in conjunction with--dont-broadcastto get the packed transaction.-r,--ref-blockTEXT — Set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake).-p,--permissionTEXT — An account and permission level to authorize, as in 'account@permission' (defaults to 'sender@active').--max-cpu-usage-msUINT — 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-usageUINT — Set an upper limit on the net usage budget (in bytes) for the transaction (defaults to 0 which means no limit).--max-ram-usageUINT — 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-secUINT — Set thedelay_secseconds, defaults to 0 s.--bandwidth-providerTEXT — Set an account which provide own bandwidth for transaction.--dont-declare-names— Do not adddeclarenamesaction for resolved account names.
Command
$ cleos transfer [OPTIONS] <sender> <recipient> <amount> [<memo>]Examples
'alice' transfers 100 CYBER to 'bob'.
$ cleos transfer alice bob "100.0000 CYBER" "use for voting only"Last updated