/// Create a new `RawTransaction` with a payload.
///
/// It can be either to publish a module, to execute a script, or to issue a writeset
/// transaction.
Create a new `RawTransaction` with a payload.
It can be either to publish a module, to execute a script, or to issue a writeset
transaction.
Create a new ` RawTransaction ` with a payload . It can be either to publish a module to execute a script or to issue a writeset transaction .
pub fn new(
        sender: AccountAddress,
        sequence_number: u64,
        payload: TransactionPayload,
        max_gas_amount: u64,
        gas_unit_price: u64,
        gas_currency_code: String,
        expiration_time: Duration,
        chain_id: ChainId,
    ) -> Self {
        RawTransaction {
            sender,
            sequence_number,
            payload,
            max_gas_amount,
            gas_unit_price,
            gas_currency_code,
            expiration_time,
            chain_id,
        }
    }
pub fn new ( sender : AccountAddress , sequence_number : u64 , payload : TransactionPayload , max_gas_amount : u64 , gas_unit_price : u64 , gas_currency_code : String , expiration_time : Duration , chain_id : ChainId , ) -> Self { RawTransaction { sender , sequence_number , payload , max_gas_amount , gas_unit_price , gas_currency_code , expiration_time , chain_id , } }
Create a new `RawTransaction` with a payload.
Create a new ` RawTransaction ` with a payload .
sender
AccountAddress
sequence_number
u64
payload
TransactionPayload
max_gas_amount
u64
gas_unit_price
u64
gas_currency_code
String
expiration_time
Duration
chain_id
ChainId