Skip to content
This repository has been archived by the owner on Feb 2, 2025. It is now read-only.

RPC method: Appearances

Dawid Szlachta edited this page Dec 6, 2023 · 1 revision

Request

{
  "jsonrpc": "2.0",
  "method": "tb_getAppearances",
  "params": {
    "address": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
    "page": 1,
    "perPage": 100
  }
}

Optional keys: page and perPage (limit set of data is returned by default if perPage is missing).

TODO:

  • add startBlock and endBlock so users can narrow the search
  • change prefix to key_?

Response

{
  "jsonrpc": "2.0",
  "result": [
    {
      "blockNumber": 4053179,
      "transactionId": 1
    },
    {
      "blockNumber": 4053179,
      "transactionId": 2
    }
  ]
}
Clone this wiki locally