{"version":3,"file":"MultichainAssetsController-method-action-types.mjs","sourceRoot":"","sources":["../../src/MultichainAssetsController/MultichainAssetsController-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { MultichainAssetsController } from './MultichainAssetsController';\n\n/**\n * Returns the metadata for the given asset\n *\n * @param asset - The asset to get metadata for\n * @returns The metadata for the asset or undefined if not found.\n */\nexport type MultichainAssetsControllerGetAssetMetadataAction = {\n  type: `MultichainAssetsController:getAssetMetadata`;\n  handler: MultichainAssetsController['getAssetMetadata'];\n};\n\n/**\n * Ignores a batch of assets for a specific account.\n *\n * @param assetsToIgnore - Array of asset IDs to ignore.\n * @param accountId - The account ID to ignore assets for.\n */\nexport type MultichainAssetsControllerIgnoreAssetsAction = {\n  type: `MultichainAssetsController:ignoreAssets`;\n  handler: MultichainAssetsController['ignoreAssets'];\n};\n\n/**\n * Adds multiple assets to the stored asset list for a specific account.\n * All assets must belong to the same chain.\n *\n * @param assetIds - Array of CAIP asset IDs to add (must be from same chain).\n * @param accountId - The account ID to add the assets to.\n * @returns The updated asset list for the account.\n * @throws Error if assets are from different chains.\n */\nexport type MultichainAssetsControllerAddAssetsAction = {\n  type: `MultichainAssetsController:addAssets`;\n  handler: MultichainAssetsController['addAssets'];\n};\n\n/**\n * Union of all MultichainAssetsController action types.\n */\nexport type MultichainAssetsControllerMethodActions =\n  | MultichainAssetsControllerGetAssetMetadataAction\n  | MultichainAssetsControllerIgnoreAssetsAction\n  | MultichainAssetsControllerAddAssetsAction;\n"]}