Function getSubgraphBlockNumber

  • Get subgraph block number by chain id

    Parameters

    Returns Promise<number>

    Contract addresses

    Example

    import { getContractAddresses } from '@clober/v2-sdk'

    const blockNumber = await getSubgraphBlockNumber({
    chainId: 421614,
    })