curl --request POST \
--url https://api.privy.io/v1/wallets/{wallet_id}/raw_sign \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'privy-app-id: <privy-app-id>' \
--data '
{
"params": {
"hash": "0x0775aeed9c9ce6e0fbc4db25c5e4e6368029651c905c286f813126a09025a21e"
}
}
'{
"method": "raw_sign",
"data": {
"signature": "<string>",
"encoding": "hex"
}
}Other chains
Raw sign
Sign a raw hash along the blockchain’s cryptographic curve using the wallet’s private key.
POST
/
v1
/
wallets
/
{wallet_id}
/
raw_sign
curl --request POST \
--url https://api.privy.io/v1/wallets/{wallet_id}/raw_sign \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'privy-app-id: <privy-app-id>' \
--data '
{
"params": {
"hash": "0x0775aeed9c9ce6e0fbc4db25c5e4e6368029651c905c286f813126a09025a21e"
}
}
'{
"method": "raw_sign",
"data": {
"signature": "<string>",
"encoding": "hex"
}
}SDK methods
Learn more about signing with other chains using our SDKs here.To see how to integrate a chain with raw signing, see the Tier 1 integration
guide.
Authorizations
Headers
Body
application/json
Provide either hash (to sign a pre-computed hash) OR bytes, encoding, and hash_function (to hash and then sign). These options are mutually exclusive.
Was this page helpful?

