pay

Pay Coins to Recipients

Pay coins to recipients following specified amounts, with input coins. The length of recipients must be the same as that of amounts.

Usage

movement sui client pay [OPTIONS] --gas-budget <GAS_BUDGET>

Options

  • --input-coins <INPUT_COINS>... The input coins to be used for paying recipients, following the specified amounts.

  • --recipients <RECIPIENTS>... The recipient addresses. This must be of the same length as the amounts.

  • --amounts <AMOUNTS>... The amounts to be paid, following the order of recipients.

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

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

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