unstETH NFT
This modules exposes NFT functionality of Lido Withdrawal Request NFT.
const lidoSDK = new LidoSDK({
chainId: 5,
rpcUrls: ['https://eth-goerli.alchemyapi.io/v2/{ALCHEMY_API_KEY}'],
});
// Contracts
const addressUnstETH = await lidoSDK.unsteth.contractAddress();
const contractUnstETH = await lidoSDK.unsteth.getContract();
// views
const nfts = await lidoSDK.unsteth.getNFTsByAccount(account);
const owner = await lidoSDK.unsteth.getAccountByNFT(tokenId);
// Calls
const transfer = await lidoSDK.unsteth.transfer({
id,
to,
from, // optional to call transferFrom
account,
callback,
});