convertDataToCbor
Converts this transaction data to CBOR representation.
Transaction data in CBOR is passed as Tagged that holds serialized CBOR map. Each attribute in the map is encoded according to the data schema defined by TransactionType.
Return
CBOR-encoded transaction data