transfer

Transfer Object

Transfers an object to a recipient address.

Usage

movement sui client transfer [OPTIONS] --to <TO> --object-id <OBJECT_ID> --gas-budget <GAS_BUDGET>

Options

  • --to <TO> Recipient address.

  • --object-id <OBJECT_ID> Object to transfer, in 20 bytes Hex string.

  • --gas <GAS> ID of the gas object for gas payment, in 20 bytes Hex string. If not provided, a gas object with at least gas_budget value will be selected.

  • --gas-budget <GAS_BUDGET> Gas budget for this transfer.

  • --serialize-unsigned-transaction Instead of executing the transaction, serialize the bcs bytes of the unsigned transaction data (TransactionData) using base64 encoding, and print out the string.

  • --serialize-signed-transaction Instead of executing the transaction, serialize the bcs bytes of the signed transaction data (SenderSignedData) using base64 encoding, and print out the string.

  • --json Return command outputs in json format.

Last updated