cardano::shelley::TransactionInput struct

A transaction input.

CDDL description:

transaction_input = [ transaction_id : $hash32
                    , index : uint
                    ]

Base classes

struct cardano::ArraySerializable
Virtual struct defining CBOR array serializability.

Public functions

void deserialize(std::span<const uint8_t> bytes)
Deserialize CBOR byte vector.
auto deserializer(const cppbor::Array& data) →  void final virtual
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::Array final
Populate a CBOR object for serialization.

Function documentation

void final cardano::shelley::TransactionInput::deserializer(const cppbor::Array& data) virtual

Populate the object from the CBOR data.

Parameters
data CBOR array object.

cppbor::Array cardano::shelley::TransactionInput::serializer() const final

Populate a CBOR object for serialization.

Returns CBOR array object.