Sign a raw hash
This interface is for raw signing over a hash, which primarily applies to Coinbase Smart Wallet integrations 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.
Use the secp256k1Sign
method on the Ethereum client to sign a raw hash along the secp256k1 curve.
Usage
Parameters
Unique ID of the wallet to take actions with.
The hash to sign. Must start with ‘0x’.
Returns
An encoded string serializing the signature produced by the user’s wallet.
The encoding format for the returned signature
. Currently, only 'hex'
is supported for
Ethereum.
Use the secp256k1Sign
method on the Ethereum client to sign a raw hash along the secp256k1 curve.
Usage
Parameters
Unique ID of the wallet to take actions with.
The hash to sign. Must start with ‘0x’.
Returns
An encoded string serializing the signature produced by the user’s wallet.
The encoding format for the returned signature
. Currently, only 'hex'
is supported for
Ethereum.
To sign a message make a POST request to
Parameters
RPC method to execute with the wallet.
Parameters for the RPC method to execute with the wallet.
Returns
The RPC method executed with the wallet.
Outputs for the RPC method executed with the wallet.