latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

Wallet

Sign off-chain message

Create a transaction request for signing an off-chain message with your keys for an MPC wallet. Use this endpoint when you need to produce a cryptographic signature over arbitrary data without broadcasting a transaction on-chain. Common use cases include proving wallet ownership to a dApp, signing authentication challenges, and signing EIP-191 or EIP-712 typed data.

Use only for MPC wallets. Supported chains include EVM-compatible chains (ETH, BSC, Polygon, etc.), Solana, and Cardano. UTXO-based chains (Bitcoin, Litecoin, etc.) are not supported.

To execute on-chain transactions with custom instructions (such as signing an on-chain message), use Create transaction request.

post/api/v2/wallet/{walletId}/msgrequests

Path parameters

walletIdstring required
Example:59cd72485007a239fb00282ed480da1f

Request body

apiVersion'lite' | 'full' required
previewboolean
idempotencyKeystring

Response

Created

OR

Example response

{
  "intent": {
    "messageRaw": "for EVM: test message"
  },
  "txRequestId": "123e4567-e89b-12d3-a456-426614174000",
  "walletId": "59cd72485007a239fb00282ed480da1f",
  "enterpriseId": "59cd72485007a239fb00282ed480da1f",
  "date": "2021-01-01T00:00:00.000Z",
  "createdDate": "2021-01-01T00:00:00.000Z"
}