TransactionRaw constructor
TransactionRaw({})
Create a new TransactionRaw instance with specified parameters.
Implementation
TransactionRaw(
{required List<int> refBlockBytes,
this.refBlockNum,
required List<int> refBlockHash,
required this.expiration,
List<Authority>? auths,
List<int>? data,
required List<TransactionContract> contract,
List<int>? scripts,
required this.timestamp,
this.feeLimit})
: refBlockBytes = BytesUtils.toBytes(refBlockBytes, unmodifiable: true),
refBlockHash = BytesUtils.toBytes(refBlockHash, unmodifiable: true),
data = BytesUtils.tryToBytes(data, unmodifiable: true),
scripts = BytesUtils.tryToBytes(scripts, unmodifiable: true),
auths = auths == null ? null : List.unmodifiable(auths),
contract = List<TransactionContract>.unmodifiable(contract);