getArNSReturnedName

getArNSReturnedName is a method on the ARIO class that retrieves information about an ArNS name that has been returned to the protocol, including its auction settings and timing details.

getArNSReturnedName does not require authentication.

Parameters

← Swipe to see more →
ParameterTypeDescriptionOptional
namestringThe ArNS name to retrieve returned name information forfalse
← Swipe to see more →

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
  }
}