From 7eeffaec1381caea53d86e01e592ec8410572ef8 Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Fri, 1 Nov 2024 16:58:03 -0500 Subject: [PATCH] chore: add jsdoc for getStakedBalanceForChain --- .../assets-controllers/src/AssetsContractController.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/assets-controllers/src/AssetsContractController.ts b/packages/assets-controllers/src/AssetsContractController.ts index 082219a8cd..323d90ead7 100644 --- a/packages/assets-controllers/src/AssetsContractController.ts +++ b/packages/assets-controllers/src/AssetsContractController.ts @@ -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,