TransactionBody class
Constructors
-
TransactionBody({required List<TransactionInput> inputs, required List<TransactionOutput> outputs, required BigInt fee, BigInt? ttl, List<Certificate>? certs, Withdrawals? withdrawals, Update? update, AuxiliaryDataHash? auxiliaryDataHash, BigInt? validityStartInterval, Mint? mint, ScriptDataHash? scriptDataHash, List<TransactionInput>? collateral, List<Ed25519KeyHash>? requiredSigners, ADANetwork? network, TransactionOutput? collateralReturn, BigInt? totalCollateral, List<TransactionInput>? referenceInputs})
-
-
TransactionBody.deserialize(CborMapValue cbor)
-
factory
-
TransactionBody.fromCborBytes(List<int> bytes)
-
factory
-
TransactionBody.fromJson(Map<String, dynamic> json)
-
factory
Methods
-
copyWith({List<TransactionInput>? inputs, List<TransactionOutput>? outputs, BigInt? fee, BigInt? ttl, List<Certificate>? certs, Withdrawals? withdrawals, Update? update, AuxiliaryDataHash? auxiliaryDataHash, BigInt? validityStartInterval, Mint? mint, ScriptDataHash? scriptDataHash, List<TransactionInput>? collateral, List<Ed25519KeyHash>? requiredSigners, ADANetwork? network, TransactionOutput? collateralReturn, BigInt? totalCollateral, List<TransactionInput>? referenceInputs})
→ TransactionBody
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize()
→ List<int>
-
Serializes the object to CBOR bytes.
inherited
-
serializeHex()
→ String
-
Serializes the object to hexadecimal string.
inherited
-
toCbor()
→ CborObject
-
Converts the object to a CBOR object.
override
-
toHash()
→ TransactionHash
-
-
toJson()
→ Map<String, dynamic>
-
Converts the object to a JSON representation.
override
-
toString()
→ String
-
A string representation of this object.
inherited