Skip to main content

Usage

Quickstart

If you're coming from GateScan

Your base url looks like this

https://www.gatescan.org

Run this complete script with Node JS, node script.js

async function main() {

const query = await fetch(`http://gatescan.org/api
?module=account
&action=balance
&address=0x45054006A9202DfFb5c9902f0e2995e3B0a67128
&apikey=YourApiKeyToken
&tag=latest`)

const response = await query.json()
const balance = response.result
console.log(balance)
}

main()

Last updated on 2025/06/05