merge-coin

Merge Two Coin Objects into One Coin

Merge two coin objects into one coin.

Usage

movement sui client merge-coin [OPTIONS] --primary-coin <PRIMARY_COIN> --coin-to-merge <COIN_TO_MERGE> --gas-budget <GAS_BUDGET>

Options

  • --primary-coin <PRIMARY_COIN> Coin to merge into, in 20 bytes Hex string.

  • --coin-to-merge <COIN_TO_MERGE> Coin to be merged, 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 call.

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

Note: Options -h and -V are used to print help and version respectively.

Last updated