Skip to main content
For chains integrated through raw signing, your app can invoke Privy’s raw sign functionality to sign over a hash, e.g. the hash of a transaction. Your app can then use the returned signature to submit and send the transaction. Alternatively, you can provide the bytes to hash with a specific encoding and a hash_function, and get the same response. For examples of how to use raw sign for a specific chain, see the Tier 1 integration guide.
Sign a raw hash or bytes (with encoding and hash_function) along the blockchain’s cryptographic curve using the wallet’s private key. Make a POST request to

Usage

A successful response will look like:
Alternatively, you can provide bytes to hash with a specific encoding and hash function, and gets a similar response.

Authorization

string
required
App secret authentication.

Headers

string
required
ID of your Privy app.
string
Request authorization signature. If multiple signatures are required, they should be comma separated.

Path

string
required
ID of the wallet.

Body

object
required

Response

object
required
object