decode method

  1. @override
List<String> decode(
  1. Input input
)
override

Decode topics from input

Implementation

@override
List<String> decode(Input input) {
  // Use SequenceCodec to decode Vec<[u8; 32]>
  final byteArrays = _codec.decode(input);

  // Convert each byte array to hex string
  return byteArrays.map((bytes) => '0x${encodeHex(bytes)}').toList();
}