getArNSReturnedName
getArNSReturnedName
is a method on the ARIO
class that retrieves the returned name data for the specified returned name.
getArNSReturnedName
does not require authentication.
Parameters
Parameter | Type | Description | Optional |
---|---|---|---|
name | string | Returned ArNS name being queried. | false |
Examples
getArNSReturnedName
const { ARIO } = require('@ar.io/sdk');
async function main() {
const ario = ARIO.init();
const returnedName = await ario.getArNSReturnedName({ name: 'permalink' });
console.log(returnedName);
}
main();
Output
{
"name": "permalink",
"endTimestamp": 1730985241349,
"startTimestamp": 1729775641349,
"baseFee": 250000000,
"demandFactor": 1.05256,
"initiator": "GaQrvEMKBpkjofgnBi_B3IgIDmY_XYelVLB6GcRGrHc",
"settings": {
"durationMs": 1209600000,
"decayRate": 0.000000000016847809193121693,
"scalingExponent": 190,
"startPriceMultiplier": 50
}
}