Docs
खोज⌘ K
  • Home
  • The Graph के बारे में
  • समर्थित नेटवर्क
  • Protocol Contracts
  • सबग्राफ
    • सबस्ट्रीम
      • टोकन API
        • Hypergraph
          • AI Suite
            • Overview
            • Indexer टूलिंग
              • GraphTally Guide
              • Supported Network Requirements
              • Chain Integration Process Overview
              • नई श्रृंखला एकीकरण
              • संसाधन
                टोकन API > EVM Endpoints

                Historical Balances

                GET/historical/balances/evm/{address}

                Provides historical ERC-20 & Native balances by wallet address.

                पथ पैरामीटर

                पैरामीटरDescriptionमान
                address
                string

                Filter by address

                  आवश्यक

                  क्वेरी पैरामीटर

                  पैरामीटरDescriptionमान
                  network_id
                  string

                  The Graph Network ID for EVM networks https://thegraph.com/networks

                  • डिफ़ॉल्ट मान: mainnet
                  • स्वीकृत मान: arbitrum-one, avalanche, base, bsc, mainnet, matic, optimism, unichain
                  आवश्यक
                  mainnet
                  interval

                  The interval for which to aggregate price data (hourly, 4-hours, daily or weekly).

                    contracts
                    array
                    • डिफ़ॉल्ट मान:
                    startTime
                    integer

                    UNIX timestamp in seconds.

                    • डिफ़ॉल्ट मान: 1735689600
                    • न्यूनतम मान: -9007199254740991
                    • अधिकतम मान : 9007199254740991
                    endTime
                    integer

                    UNIX timestamp in seconds.

                    • डिफ़ॉल्ट मान: 9999999999
                    • न्यूनतम मान: -9007199254740991
                    • अधिकतम मान : 9007199254740991
                    limit
                    integer

                    The maximum number of items returned in a single request.

                    • डिफ़ॉल्ट मान: 10
                    • न्यूनतम मान: 1
                    • अधिकतम मान : 1000
                    page
                    integer

                    The page number of the results to return.

                    • डिफ़ॉल्ट मान: 1
                    • न्यूनतम मान: 1
                    • अधिकतम मान : 767465558638

                    संभावित प्रतिक्रियाएँ

                    स्थितिDescription
                    200Successful Response
                    400Client side error
                    401Authentication failed
                    403Forbidden
                    404Not found
                    500Server side error
                    ⁠GitHub पर संपादित करें⁠

                    Token Balances by Wallet AddressTransfer Events
                    इस एंडपॉइंट का परीक्षण करें

                    1curl --request GET \2  --url 'https://token-api.thegraph.com/historical/balances/evm/{address}?network_id=mainnet&startTime=1735689600&endTime=9999999999&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                    1{2  "data": [3    {4      "datetime": "2025-05-29 00:00:00",5      "contract": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",6      "name": "Native",7      "symbol": "ETH",8      "decimals": 18,9      "open": 237.63774262699187,10      "high": 237.6377453469919,11      "low": 0.10533323067535896,12      "close": 0.15438623067535898,13      "network_id": "mainnet"14    }15  ]16}
                    The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service