pub fn make_transaction(
    sender: AccountAddress,
    nonce: Nonce,
    expiry: TransactionTime,
    energy: GivenEnergy,
    payload: Payload
) -> PreAccountTransaction
Expand description

A convenience wrapper around sign_transaction that construct the transaction and signs it. Compared to transaction-type-specific wrappers above this allows selecting the amount of energy