getInfo
getInfo
is a method on the ARIO
class that retrieves information about the ARIO process.
getInfo
does not require authentication.
Parameters
getInfo
does not accept Parameters
Example
getInfo
const { ARIO } = require('@ar.io/sdk');
async function main(){
const ario = ARIO.init();
const info = await ario.getInfo()
console.log(info)
}
main()
Output
{
Logo: 'GIayVyo49wof1hOtgLcJ_XAE6OuF5MeYiYsgu3z4gxk',
Denomination: 6,
LastCreatedEpochIndex: -1,
Owner: 'My21NOHZyyeQG0t0yANsWjRakNDM7CJvd8urtdMLEDE',
Name: 'AR.IO Network',
'Memory-KiB-Used': 14264.3515625,
Handlers: ["_eval", "_default_"], // full list of handlers, useful for debugging
Ticker: 'ARIO',
LastDistributedEpochIndex: 0
}