struct
TransactionWitnessSetStructure 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
-
void deserialize(std::
span<const uint8_t> bytes) - Deserialize CBOR byte vector.
- void deserializer(const cppbor::Map& data) final
- Populate the object from the CBOR data.
-
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
void cardano:: babbage:: TransactionWitnessSet:: deserializer(const cppbor::Map& data) final
Populate the object from the CBOR data.
Parameters | |
---|---|
data | CBOR map object. |
cppbor::Map cardano:: babbage:: TransactionWitnessSet:: serializer() const final
Create a transaction witness set CBOR object for serialization.
Returns | CBOR map object. |
---|