Taking actions with owners
To take actions with owners, such as sending a transaction from a wallet, simply sign the request with your owner’s private key and pass it in the privy-authorization-signature
header of your request.
Follow the guides below to take actions with owners depending on your desired integration.
First, load the private key of your user key or authorization key into the Privy client per this guide.
The Privy client will now automatically sign requests with the provided private key and pass it in the privy-authorization-signature
header of the request. You can simply use the Privy client’s methods and requests will be automatically signed.
First, load the private key of your user key or authorization key into the Privy client per this guide.
The Privy client will now automatically sign requests with the provided private key and pass it in the privy-authorization-signature
header of the request. You can simply use the Privy client’s methods and requests will be automatically signed.
First, given your request, format the request and sign it per this guide.
Next, pass the signature in the privy-authorization-signature
header when making your request. Privy will verify this signature against the owner’s public key and execute the request only if the signature is valid.