Claim Undelegate Polygon
The claimUndelegate
method uses for sending transaction on claim undelegation.
claimUndelegate(address, unbondNonce = 0, isPOL = false)
: Claim undelegation by address
Claim Undelegate Example
ts
// Import SDK
import { Polygon } from '@everstake/wallet-sdk';
const address = '2f92e...6761b'
const nonce = await Polygon.getUnbondNonces(address);
const claim = await Polygon.claimUndelegate(address, nonce, false);
console.log(claim); // Raw Transaction Object