consts
Generic function to get a chain constant.
console.log(api.consts.balances.existentialDeposit.toString()) Copy
console.log(api.consts.balances.existentialDeposit.toString())
The section required to get the chain constant (eg. "balances")
The constantName depending on the section (eg. "existentialDeposit")
The constant value
Generated using TypeDoc
Name
consts
Summary
Generic function to get a chain constant.
Example