diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 25259b7829c..649ebd50350 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add optional `securityData` property to `RwaToken`, populated when `includeTokenSecurityData` is requested ([#10542](https://github.com/MetaMask/core/pull/10542)) +- Add optional `includeTokenSecurityData` property to `FetchRwasParams` ([#10542](https://github.com/MetaMask/core/pull/10542)) + ### Changed - Bump `immer` from `^9.0.21` to `^11.1.18` ([#10382](https://github.com/MetaMask/core/pull/10382)) diff --git a/packages/assets-controllers/src/token-service.ts b/packages/assets-controllers/src/token-service.ts index 206c33fc7a7..3843a0e6863 100644 --- a/packages/assets-controllers/src/token-service.ts +++ b/packages/assets-controllers/src/token-service.ts @@ -422,6 +422,7 @@ export type RwaToken = { decimals: number; name: string; rwaData: RwaTokenData; + securityData?: TokenSecurityData; }; export type RwasResponse = { @@ -461,6 +462,7 @@ export type FetchRwasParams = { | 'utilities' | 'energy' | 'real estate'; + includeTokenSecurityData?: boolean; [key: string]: string | number | boolean | string[] | undefined; };