cardano::shelley::TransactionOutput struct

A transaction output.

CDDL description:

transaction_output = [address, amount : coin]

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

Public variables

Address address
The address of the recipient.
Coin amount
The amount of the output (lovelace).

Function documentation

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

Create a transaction output CBOR object for serialization.

Returns CBOR array object.