sign method

  1. @override
Future<Uint8List> sign(
  1. Uint8List payload, {
  2. int? chainId,
  3. bool isEIP1559 = false,
})

Signs the payload with a private key. The output will be like the bytes representation of the eth_sign RPC method, but without the "Ethereum signed message" prefix. The payload parameter contains the raw data, not a hash.

Implementation

@override
Future<Uint8List> sign(Uint8List payload,
    {int? chainId, bool isEIP1559 = false}) {
  throw UnimplementedError();
}