SDK

Sign a message with a waas account

post/sdk/{environmentId}/waas/{walletId}/signMessage

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

walletIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

UUID of the wallet

Request body

messagestring required

A string with a max length of 16384 characters

isFormattedboolean
roomIdstring

Example request

{
  "context": {
    "suiTransaction": {
      "chainId": "An example name"
    },
    "evmTypedData": {
      "domain": {
        "verifyingContract": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
      }
    },
    "domain": "https://app.xyz.com"
  }
}

Response

Successfully created a room for signing message ceremony

roomIdstring required
serverKeygenIdsNonEmptyBase58StringWith100MaxLength[]
newServerKeygenIdsNonEmptyBase58StringWith100MaxLength[]
walletIdstring

Example response

{
  "walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}

Changes

No recorded changes to this endpoint across all 3 revisions of this API.