Backend Wallets
Sign data via backend wallet.
Changed onSign data via backend wallet.
Signs the provided data using the account's private key managed by the backend wallet. The private key is securely stored and never exposed.
post/v2/accounts/backend/{id}/sign
Request
- Base URL: https://api.openfort.io
- URL: https://api.openfort.io/v2/accounts/backend/{id}/sign
- Auth: HTTP bearer
Path parameters
idstring required
The account ID (starts with acc_).
Request body
Example request
{
"data": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}Response
Successful response.
Example response
{
"account": "acc_e0b84653-1741-4a3d-9e91-2b0fd2942f60",
"signature": "0x1234567890abcdef..."
}Changes
- info
the security scope
accounts:signwas added to the endpoint's security schemewallet_auth
- info
- info
endpoint added
- info