cardano::shelley::Transaction struct

A transaction.

CDDL description:

transaction =
  [ transaction_body
  , transaction_witness_set
  , transaction_metadata / null
  ]

Base classes

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

Public functions

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

Function documentation

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

Create a transaction CBOR object for serialization.

Returns CBOR array object.