cardano::babbage::TransactionWitnessSet struct

Structure to hold the witnesses for a transaction.

transaction_witness_set =
   { ? 0: [* vkeywitness ]
   , ? 1: [* native_script ]
   , ? 2: [* bootstrap_witness ]
   , ? 3: [* plutus_v1_script ]
   , ? 4: [* plutus_data ]
   , ? 5: [* redeemer ]
   , ? 6: [* plutus_v2_script ] ; New
   }

Base classes

struct cardano::MapSerializable
Virtual struct defining CBOR map serializability.

Public functions

auto serialize() const →  std::vector<uint8_t>
Serialize the object as a CBOR byte vector.
auto serializer() const →  cppbor::Map final
Create a transaction witness set CBOR object for serialization.

Function documentation

cppbor::Map cardano::babbage::TransactionWitnessSet::serializer() const final

Create a transaction witness set CBOR object for serialization.

Returns CBOR map object.