Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 4b74911

Browse files
chore: add comment
1 parent 1ec0fdc commit 4b74911

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/SwapsController.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,9 @@ export default class SwapsController extends BaseController<
10131013
* Fetches the top assets and updates the state with them.
10141014
* @param args - The arguments to this method.
10151015
* @param args.networkClientId - The ID of a network client from
1016-
* NetworkController.
1017-
* @param args.chainId - The chain ID to fetch the top assets for. chainId will be preferred over networkClientId.
1016+
* NetworkController. This or chainId is required.
1017+
* @param args.chainId - The chain ID to fetch the top assets for. This or
1018+
* networkClientId is required. chainId will be preferred over networkClientId.
10181019
*/
10191020
async fetchTopAssetsWithCache({
10201021
networkClientId,

0 commit comments

Comments
 (0)