• Handles Ethereum JSON-RPC requests for the given method and payload. Executes the appropriate signing function based on the method and returns the signature or transaction response.


    • A Promise that resolves to the requested data type (ETHSignature or ETHTxRes).


    • Throws an error if the requested method is not supported or if there's an issue during execution.

    Type Parameters

    • T = string


    • {: ETHHandlerReq

      signer, payload } - Request object containing signer and payload data.

    Returns Promise<T>

Generated using TypeDoc