transfer-sui

Transfer MOV and Pay Gas with the Same MOV Coin Object

Transfers MOV and pays gas using the same MOV coin object. If an amount is specified, only that amount is transferred. Otherwise, the entire object is transferred.

Usage

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

Options

  • --to <TO> Recipient address.

  • --sui-coin-object-id <MOV_COIN_OBJECT_ID> MOV coin object to transfer, represented by its ID in a 20 bytes Hex string. This is also the gas object.

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

  • --amount <AMOUNT> The amount to transfer. If not specified, the entire coin object will be transferred.

  • --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