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, in bech32 format.
The username of the receiver.
The address of the sender, in bech32 format.
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.
Legacy method, use the "guardianSignature" property instead. Applies the guardian signature on the transaction.
The signature, as computed by a signer.
Legacy method, use the "signature" property instead. Applies the signature on the transaction.
The signature, as computed by a signer.
Legacy method, use "TransactionComputer.computeTransactionFee()" instead.
Computes the current transaction fee based on the NetworkConfig and transaction properties
Legacy method, use the "data" property instead.
Legacy method, use "TransactionComputer.computeTransactionHash()" instead.
Legacy method, use the "options" property instead.
Legacy method, use the "value" property instead.
Legacy method, use the "version" property instead.
Legacy method, use the "options" property instead.
Question for review: check how the options are set by sdk-dapp, wallet, ledger, extension.
Legacy method, use the "value" property instead.
Legacy method, use the "version" property instead.
Legacy method, use "TransactionsConverter.transactionToPlainObject()" instead.
Converts the transaction object into a ready-to-serialize, plain JavaScript object. This function is called internally within the signing procedure.
Static
fromLegacy method, use "TransactionsConverter.plainObjectToTransaction()" instead. Converts 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.