• Parameters

    • section: string

      The section required to get the chain constant (eg. "balances")

    • constantName: string

      The constantName depending on the section (eg. "existentialDeposit")

    Returns Codec

    The constant value

    Name

    consts

    Summary

    Generic function to get a chain constant.

    Example


    console.log(api.consts.balances.existentialDeposit.toString())
    

Generated using TypeDoc