Plaintext signing API is now live! This API allows you to sign a piece of text using a Palisade wallet. You can use this for the following use-cases and beyond:

  1. Prove wallet access and/or ownership: By using this API, you can sign a piece of text, proving that you have access to the wallet.
  2. Voting and attestation: You can provide your signature as a vote on DAOs.

Example

Plaintext signing API is an asynchronous API call, similar to transactions that takes a payload containing the text to sign and responds with the standard transaction object.

The key properties of the response are as follows:

attributes

Request

POST <https://api.sandbox.palisade.co/v2/vaults/019440ac-bc74-7cc3-aeed-1eb503ec3a65/wallets/019440ac-bcff-7c41-ab78-f2d656921f94/transactions/sign-plaintext>
{
  "message": "Hello world"
}

Response

{
...
  "attributes": {
    "action": "Sign",
    "request_data": "Hello world",
    "prefixed_request_data": "\\u0019XRP Ledger Signed Message:\\n11Hello world",
    "hashed_prefixed_request_data": "b5f417c40cd8713279684a634d4c251f0adcd0666a2171eeccee3fa94c83cacd",
    "hashing_algorithm": "keccak256"
  },
  ...
  "signingHash": "b5f417c40cd8713279684a634d4c251f0adcd0666a2171eeccee3fa94c83cacd",
  "signature": "3045022100ede31b45a9e9154d9b60d8a3e3851b5c3d5dbcfb14f940ae6e522ab742537b540220228155428cd725653a9c525395acf97163c9628cc2fb11345217604d19d18a57",
  "canonicalSignature": "3045022100ede31b45a9e9154d9b60d8a3e3851b5c3d5dbcfb14f940ae6e522ab742537b540220228155428cd725653a9c525395acf97163c9628cc2fb11345217604d19d18a57",
  ...
}