Public API

ZLK Total Supply

Querying ZLK total supply in all chains.

request:
    curl GET 'https://api.zenlink.pro/zlk/totalSupply' 

response:
    43142614.0750000000000004

ZLK Circulating Supply

Querying ZLK circulating supply in all chains.

request:
    curl GET 'https://api.zenlink.pro/zlk/circulatingSupply

response:
    21938882.1572549399683885

Assets

Querying Zenlink default assets

request
    curl GET 'https://api.zenlink.pro/assets?default=true&chain=moonbeam'
    // now, the chain can be `moonbeam`, `moonriver` and `astar`

response
    {
        "name": "zenlink tokens list",
        "timestamp": "2022-05-16T08:41:10.238034268Z",
        "version": {
            "major": 1,
            "minor": 0,
            "patch": 0
        },
        "tags": {},
        "logoURL": "",
        "keywords": [
            "zenlink",
            "moonbeam"
        ],
        "tokens": [
            {
                "chainId": 1284,
                "address": "0xAcc15dC74880C9944775448304B263D191c6077F",
                "symbol": "GLMR",
                "decimals": 18,
                "logoURL": "https://raw.githubusercontent.com/zenlinkpro/assets/master/blockchains/moonbeam/assets/0xAcc15dC74880C9944775448304B263D191c6077F/logo.png"
            },
            ...
        ] 
    }   

Pairs

Querying Zenlink default pairs

request:
    curl GET 'https://api.zenlink.pro/pairs?default=true&chain=moonbeam'
    // now, the chain can be `moonbeam`, `moonriver` and `astar`

response
    {
        "0x322e86852e492a7ee17f28a78c663da38fb33bfb_0xacc15dc74880c9944775448304b263d191c6077f": {
            "base_id": "0x322e86852e492a7ee17f28a78c663da38fb33bfb",
            "base_name": "Frax",
            "base_symbol": "FRAX",
            "quote_id": "0xacc15dc74880c9944775448304b263d191c6077f",
            "quote_name": "WGLMR",
            "quote_symbol": "WGLMR",
            "last_price": "1.0000508519662828",
            "base_volume": "1903155.712707713040982224421124",
            "quote_volume": "1903252.4919178465600683099459"
        },
        ...
    }

Last updated