getFunctionName method

String? getFunctionName(
  1. String hexData
)

Get function name from transaction data

Implementation

String? getFunctionName(String hexData) {
  final selector = hexData.substring(0, 10).toLowerCase();
  return _functions[selector];
}