getRedelegationFee

getRedelegationFee is a method on the ARIO class that retrieves the fee rate as percentage required to redelegate the stake of a specific address. Fee rate ranges from 0% to 60% based on the number of redelegations since the last fee reset.

getRedelegationFee does not require authentication.

Parameters

ParameterTypeDescriptionOptional
addressstring - WalletAddressThe public wallet address of the stake owner.false

Examples

getRedelegationFee

const { ARIO } = require('@ar.io/sdk');

async function main() {
  const ario = ARIO.init();
    const fee = await ario.getRedelegationFee({
        address: 't4Xr0_J4Iurt7caNST02cMotaz2FIbWQ4Kbj616RHl3',
    });

  console.log(fee);
}

main();

Output

{
  "redelegationFeeRate": 10,
  "feeResetTimestamp": 1730996691117
}