TransactionBody class

Mixed in types

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

Properties

auxiliaryDataHash AuxiliaryDataHash?
final
certs List<Certificate>?
final
collateral List<TransactionInput>?
final
collateralReturn TransactionOutput?
final
fee BigInt
final
hashCode int
The hash code for this object.
no setterinherited
inputs List<TransactionInput>
final
mint Mint?
final
network → ADANetwork?
final
outputs List<TransactionOutput>
final
referenceInputs List<TransactionInput>?
final
requiredSigners List<Ed25519KeyHash>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptDataHash ScriptDataHash?
final
totalCollateral BigInt?
final
ttl BigInt?
final
update Update?
final
validityStartInterval BigInt?
final
withdrawals Withdrawals?
final

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

Operators

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