Skip to content

Conversation

@Alex6323
Copy link
Contributor

Closes #298

@Alex6323 Alex6323 linked an issue Oct 27, 2025 that may be closed by this pull request
Comment on lines +464 to +472
/// let gas_coin = ObjectId::from_str(
/// "0x0b0270ee9d27da0db09651e5f7338dfa32c7ee6441ccefa1f6e305735bcfc7ab",
/// )?;
///
/// let mut builder = TransactionBuilder::new(from_address).with_client(client);
/// builder
/// .send_coins([coin], to_address, 50000000000u64)
/// .gas(gas_coin)
/// .gas_budget(1000000000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would also remove the gas_coin, .gas() and .gas_budget() here as they are not needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tx builder: document TransactionBuilder::send_coins()

3 participants