contracts on multiple networks

Returns address details on Ethereum, Avalanche, Polygon, BNB Chain and Fantom, where address is 0x39fc…0f5f: currency symbol, token type and currency name.

By rustam · saved 27 December 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query myQuery($contract_address: String!) {
  avax_network: ethereum(network: avalanche) {
    address(address: {is: $contract_address}) {
      smartContract {
        currency {
          symbol
          tokenType
          name
        }
      }
    }
  }
  matic_network: ethereum(network: matic) {
    address(address: {is: $contract_address}) {
      smartContract {
        currency {
          symbol
          tokenType
          name
        }
      }
    }
  }
    bsc_network: ethereum(network: bsc) {
    address(address: {is: $contract_address}) {
      smartContract {
        currency {
          symbol
          tokenType
          name
        }
      }
    }
  }
  fantom_network: ethereum(network: fantom) {
    address(address: {is: $contract_address}) {
      smartContract {
        currency {
          symbol
          tokenType
          name
        }
      }
    }
  }
    eth_network: ethereum(network: ethereum) {
    address(address: {is: $contract_address}) {
      smartContract {
        currency {
          symbol
          tokenType
          name
        }
      }
    }
  }
}

Variables

{ "contract_address" : "0x39fc9e94caeacb435842fadedecb783589f50f5f"}

Similar queries