Skip to main content
POST

SDK methods

Learn more about signing messages using our SDKs here.

Headers

privy-app-id
string
required
ID of your Privy app.
privy-authorization-signature
string
Request authorization signature. If multiple signatures are required, they should be comma separated.
privy-request-expiry
string
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.

Path Parameters

wallet_id
string
required
ID of the wallet to get.

Body

method
string
required
Available options: personal_sign
params
object
required
caip2
string
A CAIP-2 chain ID specifying which chain to sign on (e.g. eip155:1). Required when using signature_options.
signature_options
object
Options controlling signature production. Required for ERC-1271 signing with EIP-7702 delegated (gas-sponsored) wallets. Learn more in the ERC-1271 signatures guide.

Response

method
enum<string>
required
Available options: personal_sign
data
object
required