Transaction class
- Annotations
-
- @JS("core.Transaction")
Constructors
- Transaction.new([TransactionCtorFields opts])
Properties
- feePayer ↔ PublicKey?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- recentBlockhash ↔ Blockhash
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → Uint8List?
-
no setter
-
signatures
→ List<
SignaturePubkeyPair> -
no setter
Methods
-
add(
TransactionInstruction items, [TransactionInstruction instr]) → Transaction -
addSignature(
PublicKey pubkey, Uint8List signature) → void -
compileMessage(
) → Message -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
partialSign(
List< Signer> signers) → void -
serialize(
[SerializeConfig? config]) → Uint8List -
serializeMessage(
) → Uint8List -
setSigners(
List< PublicKey> keys) → void -
sign(
Signer signers, [Signer secondSigner]) → void -
toString(
) → String -
A string representation of this object.
inherited
-
verifySignatures(
) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
from(
dynamic buffer) → Transaction -
populate(
Message message, List< String> signatures) → Transaction