getDemandFactor
getDemandFactor
is a method on the ARIO
class that retrieves the current demand factor of the network. The demand factor is a multiplier applied to the cost of ArNS interactions based on the current network demand.
getDemandFactor
does not require authentication.
Parameters
getDemandFactor
does not accept parameters.
Examples
getDemandFactor
const { ARIO } = require('@ar.io/sdk');
async function main() {
const ario = ARIO.init();
const demandFactor = await ario.getDemandFactor();
}
main();
Output
1.05256