EgldTransferTransaction class final

Represents a transaction for transferring EGLD (eGold) on the MultiversX blockchain.

This class extends the base Transaction class and is specifically designed for EGLD transfers between addresses.

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

EgldTransferTransaction.new({required NetworkConfiguration networkConfiguration, required Nonce nonce, required PublicKey sender, required PublicKey receiver, required Balance value, PublicKey? relayer, GasLimit additionnalGasLimit = const GasLimit(0)})
Creates a new EgldTransferTransaction instance.

Properties

chainId ChainId
finalinherited
data TransactionData
finalinherited
gasLimit GasLimit
finalinherited
gasPrice GasPrice
finalinherited
guardian → PublicKey?
finalinherited
guardianSignature Signature
finalinherited
hashCode int
The hash code for this object.
no setterinherited
nonce Nonce
finalinherited
receiver → PublicKey
finalinherited
relayer → PublicKey?
finalinherited
relayerSignature Signature
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender → PublicKey
finalinherited
signature Signature
finalinherited
transactionHash TransactionHash?
finalinherited
value Balance
finalinherited
version TransactionVersion
finalinherited

Methods

copyWith({Signature? newSignature, PublicKey? newGuardian, Signature? newGuardianSignature, TransactionHash? newTransactionHash, PublicKey? newSender, PublicKey? newRelayer, Signature? newRelayerSignature, GasLimit? newGasLimit}) Transaction
Creates a copy of this transaction with optional new values.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap({PublicKey? signedBy}) Map<String, dynamic>
Converts the transaction to a map representation.
inherited
toRequest() → SendTransactionRequest

Available on Transaction, provided by the ToSendTransactionRequest extension

Converts the transaction to a SendTransactionRequest.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited