Block Height Information Retrieval API

Merchants use this API to receive the block height to confirm the transaction and the current block height from different networks.

Get Block Height Information

POST https://admin.ccpayment.com/ccpayment/v1/get/network/height/info

Headers

Response (Success 200)

Header

Body

{
  "code": 10000,
  "msg": "success",
  "data": [
    {
      "chain": "BCH",
      "current_chain_height": 803435,
      "tx_confirm_block_num": 2,
      "block_rate": 0
    },
    {
      "chain": "BSC",
      "current_chain_height": 30297917,
      "tx_confirm_block_num": 15
    }
    ...
  ]
}

Parameters

Last updated