Skip to main content
For chains supported at the Tier 2 level, you can invoke Privy’s raw sign functionality to sign over a hash, e.g. the hash of a transaction. You can then use the returned signature to submit and send your 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 this recipe.
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