Skip to content

getMessagesFromExtra

AxVultis edited this page Nov 16, 2022 · 1 revision

The getMessagesFromExtra method returns messages from the extra field of the transaction.

Request Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 22,
  "method": "getMessagesFromExtra",
  "params": {
    "extra": "01b7e5d4507b76c412cb877f05a97c155975178b87490652e9f0709b9fffb741c5040da44b0489306721c027663ef533040d86d3a3efa4b73e0c61a6b19dfb"
  }
}

Request Details:

Argument Mandatory Description Format
extra Yes extra field of the transaction string

Response Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 22,
  "result": {
    "messages": [
      "message 1",
      "message 2"
    ]
  }
}

Response Details:

Argument Description Format
messages messages extracted from extra array of strings
Clone this wiki locally