Skip to content

For Support

register

Basic Information

Brief Description

  • Used to register the monitoring of chain events to ChainClient. After registration, the callback address will receive all transaction events, with one Chunk every 5 blocks.

Request URL

  • /support/register

Request Method

  • POST

Request Example

json
{
  "callback": {
    "on_height_update": "http://connector-service:1234/blockHeightUpdate-9006"
  },
  "merge": true
}

Successful Response Example

json
{
  "code": 200,
  "message": "register succeed"
}

Parameters Explanation of Successful Response

  • code: Status code
  • message: Return message

register_reputation

Basic Information

Brief Description

  • Used to register the monitoring of chain events to ChainClient. After registration, the callback address will receive reputation contract events, with one Chunk every 5 blocks.

Request URL

  • /register_reputation

Request Method

  • POST

Request Example

json
{
  "callback": {
    "on_reputation": "http://********"
  },
  "merge": true
}

Successful Response Example

json
{
  "code": 200,
  "message": "register succeed"
}

Parameters Explanation of Successful Response

  • code: Status code
  • message: Return message