Backend Wallets

Sign data via backend wallet.

Changed on

Sign 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

datastring required

The data to sign (hex-encoded transaction data or message hash).

Example request

{
  "data": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Response

Successful response.

object'signature' required

The type of object.

accountstring required

The account ID that signed the data (starts with acc_).

signaturestring required

The signature bytes (hex-encoded).

Example response

{
  "account": "acc_e0b84653-1741-4a3d-9e91-2b0fd2942f60",
  "signature": "0x1234567890abcdef..."
}

Changes