ABEYChain Docs
Search
K

API

List of APIs:

queryDataBase

Uri: /scan/queryDataBase
Request method: GET
Returns the ABEY Chain real time data, include Lightning Block、Block Time、Snail Block、Transaction Count、Address Count、Committee.

Parameters

Parameter:
none

Returns

lightningBlocks - Lightning Block.
snailBlocks - Snail Block.
totalTxs - Transaction Count.
totalAddress - Address Count.
committee - Committee.
blockTime - Block Time.

Example

// Request
curl --location --request GET 'https://scanapi.abeychain.com/scan/queryDataBase'
// Result
{
"code": 200,
"message": "success",
"data": {
"lightningBlocks": 8027675,
"totalTxs": 33230820,
"totalAddress": 163163,
"snailBlocks": 67272,
"committee": 322,
"blockTime": "5.1"
}
}

querySupplyData

Uri: /scan/querySupplyData
Request method: GET
Returns ABEY supply information, including Market Cap, Price, Max Supply, Total Supply , Remaining Supply

Parameters

Parameter:
none

Returns

marketCap - Market Cap.
remainingSupply - Remaining Supply.
totalSupply - Total Supply.
price - Price.
maxSupply - Max Supply.

Example

// Request
curl --location --request GET 'https://scanapi.abeychain.com/scan/querySupplyData'
// Result
{
"code": 200,
"message": "success",
"data": {
"data": {
"marketCap": 777774531.28204,
"remainingSupply": 234273111,
"totalSupply": 1306832669,
"price": 0.59516,
"maxSupply": 1541105780
}
}
}
Last modified 10mo ago