Skip to content
On this page

Claim Ethereum

The claim namespace contains method used for sending transactions on claim. The unique method to the claim namespace is:

  • claimWithdrawRequest(address): Claims funds requested by withdraw.

Claim Withdraw Request Code Example

ts
// Import SDK
import { Ethereum } from '@everstake/wallet-sdk';

// User Public Address
const address = '0x7CB380672D37E6Cc2e1dE28616076Cf3Cexample';

// Claim Withdraw Request - return Raw Transaction
const txnRequest = await Ethereum.claimWithdrawRequest(address);
console.log(txnRequest); // Raw Transaction