witness1 method
Transaction
witness1(})
Implementation
Transaction witness1(Transaction r1, {PoolHeader? header, ({Transaction tx, List<int> outpoint, List<int> parts})? next, List<int>? bundles}) {
final y = next ?? y1;
return svc.createWitnessTxn(signer, fundingB, r1, hex.decode(r0.serialize()), opPub, opPKH, ShieldedPoolAction.ROUND,
newOwnerPKH: hex.decode(opPKH),
newHeader: (header ?? f.h1).encode(),
nextSlot: y.outpoint,
slotParts: y.parts,
verifierBody: f.body,
bundles: bundles ?? f.bundles,
receipts: [f.receipt]);
}