This interface is for raw signing over a hash, which primarily applies to Coinbase Smart Wallet integrations, EIP-7702 authorizations and other scenarios requiring basic curve-level signing. For most use cases, such as authenticating to a website or proving ownership, we recommend signing a message.
To sign a raw hash from a wallet using the React SDK use the request method from the wallets EIP1193 provider: