Creates a new Transaction object.
The chain ID of the Network (e.g. "1" for Mainnet).
The payload of the transaction.
The maximum amount of gas to be consumed when processing the transaction.
The gas price to be used.
The address of the guardian, in bech32 format.
The signature of the guardian.
The nonce of the transaction (the account sequence number of the sender).
The options field, useful for describing different settings available for transactions.
The address of the receiver.
The username of the receiver.
The relayer address.
Note: in the next major version, sender, receiver and guardian will also have the type Address, instead of string.
The signature of the relayer.
The address of the sender.
The username of the sender.
The signature.
The value to transfer.
The version, required by the Network in order to correctly interpret the contents of the transaction.
Checks the integrity of the guarded transaction
Converts the transaction object into a ready-to-serialize, plain JavaScript object. This function is called internally within the signing procedure.
Converts a transaction to a ready-to-broadcast object. Called internally by the network provider.
StaticnewConverts a plain object transaction into a Transaction Object.
Raw data of a transaction, usually obtained by calling toPlainObject()
An abstraction for creating and signing transactions.