TransactionBuilder class
Constructors
- TransactionBuilder.new(String txType)
- TransactionBuilder.allParams({String? type, Uint8List? address, Uint8List? previousPublicKey, Uint8List? previousSignature, int? timestamp, Uint8List? originSignature, Data? data})
-
TransactionBuilder.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address ↔ Uint8List?
-
getter/setter pair
- data ↔ Data?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- originSignature ↔ Uint8List?
-
getter/setter pair
- previousPublicKey ↔ Uint8List?
-
getter/setter pair
- previousSignature ↔ Uint8List?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ int?
-
getter/setter pair
- type ↔ String?
-
getter/setter pair
Methods
-
addAuthorizedKey(
dynamic publicKey, dynamic encryptedSecretKey) → TransactionBuilder -
addNFTTransfer(
dynamic to, double amount, dynamic nftAddress) → TransactionBuilder -
addRecipient(
dynamic to) → TransactionBuilder -
addUCOTransfer(
dynamic to, double amount) → TransactionBuilder -
build(
dynamic seed, int index, {String curve = "ed25519", String hashAlgo = "sha256"}) → TransactionBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
originSign(
dynamic privateKey) → TransactionBuilder -
originSignaturePayload(
) → Uint8List -
previousSignaturePayload(
) → Uint8List -
setCode(
String code) → TransactionBuilder -
setContent(
dynamic content) → TransactionBuilder -
setSecret(
dynamic secret) → TransactionBuilder -
toJson(
) → Map< String, dynamic> -
toJSON(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited