Intents
Create raw sign intent
Changed onCreate an intent to sign a raw hash or bytes with a wallet. The intent must be authorized by either the wallet owner or signers before it can be executed.
post/v1/intents/wallets/{wallet_id}/raw_sign
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/intents/wallets/{wallet_id}/raw_sign
- AuthHTTP basic
Path parameters
wallet_idstring required
ID of the wallet.
Headers
privy-app-idstring required
ID of your Privy app.
privy-request-expirystring
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Request body
Response
Created raw sign intent.
Example response
{
"current_resource_data": {
"id": "id2tptkqrxd39qo9j423etij",
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"display_name": "Treasury",
"external_id": "my-order-123",
"chain_type": "ethereum",
"policy_ids": [],
"additional_signers": [],
"owner_id": "rkiz0ivz254drv1xw982v3jq",
"parent_wallet_id": null,
"entity": {
"id": "jorpjo4rfxj62nx1itt8y1zt",
"type": "user"
},
"created_at": 1741834854578,
"exported_at": null,
"imported_at": null,
"archived_at": null
}
}Changes
- info
endpoint added
- info