matic address balance at a block height

Returns transfers on Ethereum and Polygon, where receiver is 0x4CfB…dDd2, currency is 0xa1Ca…5C01 and sender is 0x4CfB…dDd2: amount, currency address, currency symbol and currency name.

By Akshat · saved 15 October 2025 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $till: Int) {
  ethereum(network:matic) {
    received: transfers(
      receiver: {is: $address}
      currency: {is: "0xa1Ca6299ba48366Af1845A9A8AE59B87ff0d5C01"}
      height: {lteq: $till}
      success: true
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    sent: transfers(
      sender: {is: $address}
      currency: {is: "0xa1Ca6299ba48366Af1845A9A8AE59B87ff0d5C01"}
      height: {lteq: $till}
      success: true
    ) {
      amount(calculate: sum)
      currency {
        address
        symbol
        name
      }
    }
    
  }
}

Variables

{
  "address": "0x4CfB9604f3297DDe00F83756651325Cc2897dDd2",
  "till": 77396401
}

Similar queries