GET Staked Tokens
Get Staked Tokens
- Web
- Flutter
const smartWalletAddress = fuseSDK.wallet.getSender();
const stakedTokens = await fuseSDK.stakingModule.getStakedTokens(smartWalletAddress);
final smartWalletAddress = fuseSDK.wallet.getSender();
final stakedTokensData = await fuseSDK.stakingModule.getStakedTokens(smartWalletAddress);
stakedTokensData.pick(
onData: (StakedTokenResponse data) {
// Do you magic here
},
onError: (err) {
// Handle errors
}
);