Package Logo
antelope_tokens
antelope-tokens@v0.3.0
Total Downloads
0
Published
1 months ago
Publisher
User Avatar streamingfast

Readme

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:"swap.alcor" }) {
    code
    symcode
    precision
    balance
  }
}

Tokens by Top Holders

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

Token Supply

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

Recent Balances Changes

query RecentBalancesChanges {
  balances(first: 20, orderBy:block_number, orderDirection:desc) {
    code
    symcode
    owner
    balance
    block_number
    block_date
  }
}

Substreams Modules

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

Subgraph deployment

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

Documentation

Modules

Maps icon
Maps

map
graph_out

794c63419bbe05e1308a9c7e56f8a54778d87724
map graph_out (
paramsstring
clocksf.substreams.v1.Clock
)  -> sf.substreams.sink.entity.v1.EntityChanges
substreams gui antelope-tokens@v0.3.0 graph_out

map
block_index:map_db_ops

9df5eeba09d51a87ea9eaf3ca18a13111cc495b1
map block_index:map_db_ops (
)  -> sf.antelope.type.v1.DBOps
substreams gui antelope-tokens@v0.3.0 block_index:map_db_ops
Block Indexes icon
Block Indexes

blockIndex
block_index:index_blocks

15f03d68c8b56336999fac6be2a3d1c6d558288b
blockIndex block_index:index_blocks (
)  -> sf.substreams.index.v1.Keys
substreams gui antelope-tokens@v0.3.0 block_index:index_blocks
Protobuf

Protobuf Docs Explorer

sf.antelope.type.v1