Skip to content

Instantly share code, notes, and snippets.

@matheusfillipe
Last active April 1, 2022 04:28
Show Gist options
  • Select an option

  • Save matheusfillipe/3e8d02ec07cfa1615fc06f6d2dd3569e to your computer and use it in GitHub Desktop.

Select an option

Save matheusfillipe/3e8d02ec07cfa1615fc06f6d2dd3569e to your computer and use it in GitHub Desktop.
#!/bin/bash
coin=0x15Ea6B8481bF1C991aC3dC8e67279d31651a56FE
curl --silent "https://r.poocoin.app/smartchain/assets/${coin}/info.json" | jq
curl --silent 'https://poocoin.app/api2/token-info-bsc' -X POST --data-raw '["'${coin}'"]' | jq
lpAddress=$(curl --silent 'https://poocoin.app/api2/token-info-bsc' -X POST --data-raw '["'${coin}'"]' | jq -r ".[0].lpAddress")
curl --silent 'https://api1.poocoin.app/top-holders?address='"$lpAddress" | jq
{
"name": "Cylum Finance",
"type": "BEP20",
"symbol": "CYM",
"decimals": 9,
"website": "https://cylum.io",
"description": "Cylum is a protocol built as a Launchpad for Metaverse projects on the Binance Smart Chain, as well as partnerships and funding. The CYM token is used to power and drive this ecosystem. In addition to our reward system, we have a unique lock-stake algorithm. ",
"explorer": "https://bscscan.com/token/0x15ea6b8481bf1c991ac3dc8e67279d31651a56fe",
"status": "active",
"id": "0x15Ea6B8481bF1C991aC3dC8e67279d31651a56FE",
"links": [
{
"name": "twitter",
"url": "https://twitter.com/cylumfinance"
},
{
"name": "github",
"url": "https://github.com/cylumfinance"
},
{
"name": "telegram",
"url": "https://t.me/cylumfinance"
},
{
"name": "telegram_news",
"url": "https://t.me/cylumfinancenews"
},
{
"name": "blog",
"url": "https://cyfi.medium.com"
},
{
"name": "docs",
"url": "https://docs.cylum.io"
}
],
"tags": [
"staking"
]
}
[
{
"address": "0x15Ea6B8481bF1C991aC3dC8e67279d31651a56FE",
"baseLpAddress": "0x0000000000000000000000000000000000000000",
"lpAddress": "0xf72B4fD6213993C0e0661C6c180fAa3b38c9DB42"
}
]
[
{
"address": "0xc765bddb93b0d1c1a88282ba0fa6b2d00e3e0c83",
"balance": "22458116015283961382"
},
{
"address": "0xb1b9b4bbe8a92d535f5df2368e7fd2ecfb3a1950",
"balance": "13799445397544530"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment