Skip to content

Commit

Permalink
chore: add jsdoc for getStakedBalanceForChain
Browse files Browse the repository at this point in the history
  • Loading branch information
nickewansmith committed Nov 1, 2024
1 parent f3a3c2e commit 7eeffae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/assets-controllers/src/AssetsContractController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,13 @@ export class AssetsContractController {
return nonZeroBalances;
}

/**
* Get the staked ethereum balance for an address in a single call.
*
* @param address - The address to check staked ethereum balance for.
* @param networkClientId - Network Client ID to fetch the provider with.
* @returns The hex staked ethereum balance for address.
*/
async getStakedBalanceForChain(
address: string,
networkClientId?: NetworkClientId,
Expand Down

0 comments on commit 7eeffae

Please sign in to comment.