Chain API offers the information about the available blockchain network.

Get Chain Information

Gets the information of the currently available blockchain network.

Request URL

Live URL https://bc-api.qpyou.cn/core/v0/chain/info
Sandbox URL https://sandbox-bc-api.qpyou.cn/core/v0/chain/info
HTTP Method GET
Content-Type application/json

Responses

Field Name Description Type
code api request result code, 0: success number
message the result message String
data API response data array
data.network the blockchain networks {ploygon, xpla} string
data.chainID the blockchain ID string

Request Sample

Response Sample