CompiledMessage constructor
CompiledMessage(
- ByteArray data
Implementation
factory CompiledMessage(ByteArray data) => switch (TransactionVersion.fromByteArray(data)) {
TransactionVersion.legacy => _decompileLegacy(data),
TransactionVersion.v0 => _decodeV0(data),
};