Function diem_types::transaction::helpers::create_user_txn
source · pub fn create_user_txn<T: TransactionSigner + ?Sized>(
signer: &T,
payload: TransactionPayload,
sender_address: AccountAddress,
sender_sequence_number: u64,
max_gas_amount: u64,
gas_unit_price: u64,
gas_currency_code: String,
txn_expiration_duration_secs: i64,
chain_id: ChainId
) -> Result<SignedTransaction>
Expand description
Craft a transaction request.