Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type FungibleAssetMarketData = {
* An asset value, which includes the asset type and the amount.
*
* @property asset - The CAIP-19 asset type or ID of the asset.
* @property amount - The pice represented as a number in string format.
* @property amount - The price represented as a number in string format.
*/
export type AssetValue = {
asset: CaipAssetTypeOrId;
Expand Down
4 changes: 2 additions & 2 deletions packages/snaps-utils/src/handlers/assets-market-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const FungibleAssetMarketDataStruct = object({
* A struct representing an asset value, which includes the asset type and the amount.
*
* @property asset - The CAIP-19 asset type or ID of the asset.
* @property amount - The pice represented as a number in string format.
* @property amount - The price represented as a number in string format.
*/
export const AssetValueStruct = object({
asset: CaipAssetTypeOrIdStruct,
Expand All @@ -64,7 +64,7 @@ export const AssetValueStruct = object({
* A struct representing the market data for a non-fungible asset.
*
* @property asset - The CAIP-19 asset type or ID of the asset.
* @property amount - The pice represented as a number in string format.
* @property amount - The price represented as a number in string format.
* @property fungible - Indicates that this is a non-fungible asset.
* This is always `false` for non-fungible assets.
* @property lastSale - The last sale price of the asset, if available. See {@link AssetValueStruct}.
Expand Down