Back to LiveQuery Integrations

    Avalanche Subnets

    Avalanche Subnets from Avalanche NetworkAvalanche Network
    Log in to Manage

    Avalanche Subnet Explorer is an analytics tool that enables people to search the Subnets and blockchains for transactions, addresses, and other platform activities.

    Usage
    -- current dexalot mainnet gas price
    
    select
    live.udf_api(
      'https://subnets.avax.network/dexalot/mainnet/rpc',
      livequery.utils.udf_json_rpc_call('eth_gasPrice', [])
    ) :data :result :: string as response,
    utils.udf_hex_to_int(response) as decoded_data,
    decoded_data / power(10, 18) current_gas_price
    
    Getting Started

    To start building with Avalanche Metrics

    • It's already installed - go to the LiveQuery section of Data Studio and start querying!
    Overview

    Avalanche's Primary Network, encompasses the X, P, and C blockchains. All validators of custom Subnets must also be a member of this Subnet. Subnet-EVM https://github.com/ava-labs/subnet-evm APIs are identical to Coreth https://docs.avax.network/reference/avalanchego/c-chain/api C-Chain APIs, except Avalanche-Specific APIs starting with avax.

    Subnets empower anyone to build custom blockchain networks optimized to fit all of your needs. Subnets are seamlessly interoperable with the broader Avalanche ecosystem, don't compete with others for network resources, and can scale infinitely. Explore the seven of Avalanche’s primary Subnets via the API below.