API

Statement API

Base URI: https://readon-api.readon.me/v1/user/declared_keys

Method: HTTP GET

Query Parameters

Name
Type
Description
Is Required

address

string

The address which makes the statement

Yes

address_type

string

The address type, right now, only "evm" is supported

No, default is "evm"

Example Responses

  {
    "code": 0,
    "data": {
      "items": [
        {
          "sign_key": "0x1867998e827d10d4482e3f49d8ac68c17f29f9588c9b04e84ea2e3059e1f9958",
          "statement": "I am declaring to use the key \"0x1867998e827d10d4482e3f49d8ac68c17f29f9588c9b04e84ea2e3059e1f9958\" as my signing key of engagement data for \"0x7e031555600E59f37dDE3Bb9C5D8205c61796a0D\".",
          "timestamp": 1652882537,
        },
      ]
    },
    "message": "success"
  }

Engagement API

Base URI: https://readon-api.readon.me/v1/user/engagements

Method: HTTP GET

Query Parameters

Name
Type
Description
Is Required

address

string

The address of the user

Yes

page

int32

No, default is 1

page_size

int32

No, default is 10

Example Responses

{
    "code":0,
    "data":[
        {
          "data": {
            "operation": "comment",
            "target": "--Qq0ZpzQenKZAGMebqdvRAL2u1POvRUkh_MzauWxww",
            "target_type": "ar_tx_hash",
            "content": {
              "language_type": "en",
              "publish_time": 1669536554,
              "content": "comment content"
            }
          },
          "secondary_key": "0x89a04eb167a482659f1b8e0e8c597f69f5b1d4e96652feccf4b01710a45ac6c8",
          "address": "0xF2FCeCEacA2bDC9781fe920Af9Cdc20dB2cea00D",
          "address_type": "evm",
          "secondary_signature": "0xb9722091ab506fadcfb1f82bdab381110153a0e180f2f63a7791041fd946699cab1d09747ef14264b8eb709ff619ae1dab7d79ce99d1308e0b5785f12985dd03",
          "provider": "readon.me",
          "version": "1.0.01.beta"
        },
        {
          "data": {
            "operation": "follow",
            "target": "0x5F5Df3C0AD7579D91127BDC2d112a86273d28fC3",
            "target_type": "evm"
          },
          "secondary_key": "0x89a04eb167a482659f1b8e0e8c597f69f5b1d4e96652feccf4b01710a45ac6c8",
          "address": "0xF2FCeCEacA2bDC9781fe920Af9Cdc20dB2cea00D",
          "address_type": "evm",
          "secondary_signature": "0xb0c9d00a1417ef6ffc3885e43d98611a5845d59fceddabab4dc4586bd85500f3e2791b83c5a8282a3ebaa9f937c881e0e28037a84061ffe5c6a86db639a3f008",
          "provider": "readon.me",
          "version": "1.0.01.beta"
        },
        {
          "data": {
            "operation": "like",
            "target": "--Qq0ZpzQenKZAGMebqdvRAL2u1POvRUkh_MzauWxww",
            "target_type": "ar_tx_hash"
          },
          "secondary_key": "0x89a04eb167a482659f1b8e0e8c597f69f5b1d4e96652feccf4b01710a45ac6c8",
          "address": "0xF2FCeCEacA2bDC9781fe920Af9Cdc20dB2cea00D",
          "address_type": "evm",
          "secondary_signature": "0x5f41dcb2532dc063ece3a9eef2aa89730f5e14e6af3cfa0a91e42371800f58e70442fbe8f8f2bbccdd6c1dc81fd064e0fdab385c35e84e7930b7ec16ff9abb0f",
          "provider": "readon.me",
          "version": "1.0.01.beta"
        }
    ],
    "message":"success"
}

Last updated