cardano::shelley::TransactionBody struct

The body of a transaction.

CDDL description:

transaction_body =
  { 0 : set<transaction_input>
  , 1 : [* transaction_output]
  , 2 : coin ; fee
  , 3 : uint ; ttl
  , ? 4 : [* certificate]
  , ? 5 : withdrawals
  , ? 6 : update
  , ? 7 : metadata_hash
  }

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 body CBOR object for serialization.

Function documentation

cppbor::Map cardano::shelley::TransactionBody::serializer() const final

Create a transaction body CBOR object for serialization.

Returns CBOR map object.