The repo contains the indexer for the Numo v1 smart contract suite deployed on Arbitrum.
- Run
bun i
to install dependancies. - Create a
.env
file and add an RPC endpoint. - Run bun dev to start development server.
{
account(id: "0x1337f7970E8399ccbc625647FCE58a9dADA5aA66") {
balance
approvals {
spender
amount
}
}
}
{
accounts(first: 10, orderBy: "balance", orderDirection: "desc") {
id
balance
}
}
{
accounts(where: { isOwner: true }) {
id
}
}
{
account(id: "0x1337f7970E8399ccbc625647FCE58a9dADA5aA66") {
transferEventsTo {
from
amount
}
transferEventsFrom {
to
amount
}
}
}