All packages
antelope_tokens

antelope_tokens

Pinax
v0.3.0/1 downloads

Package ref

antelope-tokens@v0.3.0

Run package

CLI

Run graph_out from the command line.

substreams run antelope-tokens@v0.3.0 graph_out --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

Subgraph: Antelope Tokens

Token Balances & Supply

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

  • Balances
  • Supply & Max Supply

Chains

ChainSubgraph ID
WAX6Tt5mHVNDyAo3KbsYMUeemmzs2381vXUquXw75EnG9cW
EOSCe1om4KPxZHwFxhtz2pVuCD4AUiKisrYecHVWsvEW6MU
KylinB7YqehhCQyZmqCPL6raVv8ncqzLq69EFirjf7Gnfiv7A

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

Modules

Execution graph

3 modules
mapMain

graph_out

Output

sf.substreams.sink.entity.v1.EntityChanges

Inputs

paramssf.substreams.v1.Clockblock_index:map_db_ops
Show 2 dependencies