getInfo
getInfo
is a method on the ARIO
class that retrieves general information about the ar.io Network, including the current primary name oracle, demand factor, and more.
getInfo
does not require authentication.
Parameters
The getInfo
method does not accept any parameters.
Examples
getInfo
const { ARIO } = require('@ar.io/sdk');
async function main() {
const ario = ARIO.init();
const info = await ario.getInfo();
console.log(info);
}
main();
Output
{
"Name": "AR.IO Network",
"Ticker": "ARIO",
"Logo": "Sie_26dvgyok0PZD_-iQAFOhOd5YxDTkczOLoqTTL_A",
"Denomination": 6,
"Handlers": ["_eval", "_default"],
"LastCreatedEpochIndex": 0,
"LastDistributedEpochIndex": 0
}