Skip to content

pinax-network/subgraph-antelope-tokens

Repository files navigation

Subgraph: Antelope Tokens

Token Balances & Supply

WAX, EOS, Ultra, Telos... sf.antelope.type.v1.Block

  • Balances
  • Supply & Max Supply

Chains

Chain Subgraph ID
WAX 6Tt5mHVNDyAo3KbsYMUeemmzs2381vXUquXw75EnG9cW
EOS Ce1om4KPxZHwFxhtz2pVuCD4AUiKisrYecHVWsvEW6MU
Kylin B7YqehhCQyZmqCPL6raVv8ncqzLq69EFirjf7Gnfiv7A

GraphQL

Balances by Owner

query BalanceByOwner{
  balances(first: 20, where:{ owner: "eosio.stake" }) {
    balance
    token{
     code
      symcode
      precision
    }
  }
}

Tokens by Top Holders

query TokensHolders {
  balances(where: {token_: {code: "eosio.token"}} orderBy: balance, orderDirection: desc) {
    owner
    balance
    token{
     code
      symcode
    }
  }
}

Token Supply

query Supply {
  supplies(first: 20, orderBy: block__number, orderDirection: desc){
    supply
    max_supply
    token{
      code
      symcode
      precision
    }
  }
}

Recent Balances Changes

query RecentBalancesChanges {
  balances(first: 20, orderBy: block__number, orderDirection: desc) {
    owner
    balance
    token{
     code
     symcode
    }
  block{
      number
      date
    }
  }
}

Substreams Modules

graph TD;
  graph_out[map: graph_out];
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> graph_out;
Loading

Subgraph deployment

graph indexer rules prepare --network arbitrum-one <Qm>
graph indexer allocations create <Qm> arbitrum-one 100