v1
latestOpenAPI 3.1.02026-07-13570316.1 KBWallets
Sign Message
Signs an arbitrary message using the specified wallet. This endpoint supports both text and hexadecimal message formats. The signing is performed using thirdweb Engine with smart wallet support for gasless transactions.
Authentication: This endpoint requires project authentication and wallet authentication. For backend usage, use x-secret-key header. For frontend usage, use x-client-id + Authorization: Bearer <jwt> headers.
post/v1/wallets/sign-message
Request body
Example request
{
"from": "0x1234567890123456789012345678901234567890",
"chainId": 1,
"message": "Hello, world!"
}Response
Message signed successfully. Returns the cryptographic signature that can be used for verification.