struct
TransactionBodyThe 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
-
void deserialize(std::
span<const uint8_t> bytes) - Deserialize CBOR byte vector.
- auto deserializer(const cppbor::Map& 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::Map final virtual
- Populate a CBOR object for serialization.
Function documentation
void final cardano:: shelley:: TransactionBody:: deserializer(const cppbor::Map& data) virtual
Populate the object from the CBOR data.
Parameters | |
---|---|
data | CBOR map object. |
cppbor::Map final cardano:: shelley:: TransactionBody:: serializer() const virtual
Populate a CBOR object for serialization.
Returns | CBOR map object. |
---|