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.
Returns
A Promise that resolves to the requested data type (ETHSignature or ETHTxRes).
Throws
Throws an error if the requested method is not supported or if there's an issue during execution.
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.
Returns
Throws