decreaseDelegateStake

decreaseDelegateStake is a method on the ARIO class that decreases the caller's delegated stake on the target gateway.

decreaseDelegateStake requires authentication.

Example

decreaseDelegateStake

const { id: txId } = await ario.decreaseDelegateStake({
    target: 't4Xr0_J4Iurt7caNST02cMotaz2FIbWQ4Kbj616RHl3',
    qty: new ARIOToken(100).toMARIO()
});

Parameters

ParameterTypeDescriptionRequired
qtynumberAmount in mARIO to remove from delegated stakeYes
targetstringThe gateway's public wallet addressYes
instantboolean

If true, pays a fee to make the withdrawn stake available instantly

No
tagsarray

An array of GQL tag objects to attach to the transaction

No

Was this page helpful?