Skip to content

Commit

Permalink
fix to transfer CLI command (MystenLabs#8168)
Browse files Browse the repository at this point in the history
- adjust the `transfer` command description
- increase gas budget value (it is to small to execute the command
successfully)

Co-authored-by: Szymon Wolny <[email protected]>
  • Loading branch information
szymcio32 and Szymon Wolny authored Feb 8, 2023
1 parent b875d64 commit 617c9b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/build/cli-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ You can transfer mutable objects you own to another address using the command be
sui client transfer [OPTIONS] --to <TO> --object-id <OBJECT_ID> --gas-budget <GAS_BUDGET>

OPTIONS:
--coin-object-id <OBJECT_ID>
--object-id <OBJECT_ID>
Object to transfer, in 20 bytes Hex string

--gas <GAS>
Expand All @@ -239,7 +239,7 @@ To transfer an object to a recipient, you need the recipient's address,
the object ID of the object to transfer, and, optionally, the ID of the coin object for the transaction fee payment. If not specified, a coin that meets the budget is picked. Gas budget sets a cap for how much gas to spend. We are still finalizing our gas metering mechanisms. For now, just set something large enough.
```shell
sui client transfer --to 0xf456ebef195e4a231488df56b762ac90695be2dd --object-id 0x66eaa38c8ea99673a92a076a00101ab9b3a06b55 --gas-budget 100
sui client transfer --to 0xf456ebef195e4a231488df56b762ac90695be2dd --object-id 0x66eaa38c8ea99673a92a076a00101ab9b3a06b55 --gas-budget 1000
```
## Create an example NFT
Expand Down

0 comments on commit 617c9b6

Please sign in to comment.