Skip to content

Commit

Permalink
only Polygon supported for now
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoEleodoro committed Jan 17, 2024
1 parent 29500d0 commit 51ea632
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion routes/address/[id]/[network].get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ init(process.env.AIRSTACK_API_KEY as string);

export default eventHandler(async (event) => {
const address = event.context.params.id
const network = event.context.params.network || 'homestead'
//const network = event.context.params.network || 'homestead'
const network = 'Polygon'
const query = `
query MyQuery {
Network: TokenBalances(
Expand Down

0 comments on commit 51ea632

Please sign in to comment.