Graphite
  • Overview
    • Introduction
    • What is Graphite?
    • Connect to Graphite
    • Graphite account activation
    • Graphite Wrapped Tokens
  • Build on Graphite
    • Getting started
    • System Contracts
      • Account Activation
      • Filter Contract (KYC Transaction Filters)
      • KYC Contract
      • Reputation
    • How to Complete KYC in a Testnet
    • How to Deploy Smart Contracts Using Hardhat: A Step-by-Step Guide
    • SDK
      • JS SDK
  • Infrastructure
    • Graphite Nodes
      • Graphite testnet node setup
      • Graphite mainnet node setup
  • Ecosystem
    • Graphite Wallet
      • Graphite Web3 Documentation
    • Graphite Bridge
    • The Graphite Explorer
      • API documentation
    • Faucet Testnet
Powered by GitBook
On this page
  1. Ecosystem
  2. The Graphite Explorer

API documentation

PreviousThe Graphite ExplorerNextFaucet Testnet

Last updated 5 months ago

Below is a sample GET request along with its corresponding response, taken from the API documentation of The Graphite Explorer. For a more comprehensive understanding of the available endpoints, parameters, and response formats, we encourage you to explore .

Example: Accounts - Get balance for a single address

Returns the balance of a given address.

Sample request

https://api.main.atgraphite.com/api
   ?module=account
   &action=balance
   &address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae
   &tag=latest
   &apikey=YourApiKeyToken

Request query parameters

Parameter
Description

address*

the string representing the address to check for balance

tag*

the string pre-defined block parameter, either earliest, pending or latest

Sample response

{
    "status": "1",
    "message": "OK",
    "result": "40891626854930000000000" 
}

The full documentation can be found at the link below:

the full documentation
Accounts | Graphite Spectre
Logo