getFunctionSignature function

Uint8List getFunctionSignature(
  1. String function_selector
)

Implementation

Uint8List getFunctionSignature(String function_selector) {
  final hash = keccakUtf8(function_selector);
  return hash.sublist(0, 4);
}