We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2943a84 + 671c4cd commit 31c5072Copy full SHA for 31c5072
constants.ts
@@ -118,7 +118,7 @@ export type LSP4DigitalAssetMetadata = {
118
images: ImageMetadata[][];
119
assets: AssetMetadata[];
120
icon: ImageMetadata[];
121
- attributes: AttributeMetadata[];
+ attributes?: AttributeMetadata[];
122
};
123
124
export type AttributeMetadata = {
@@ -145,10 +145,17 @@ export type LinkMetadata = {
145
url: string;
146
147
148
-export type AssetMetadata = {
149
- verification?: Verification;
+export type AssetMetadata = AssetFile | DigitalAsset;
+
150
+export type AssetFile = {
151
- fileType: string;
152
+ verification?: Verification;
153
+ fileType?: string;
154
+};
155
156
+export type DigitalAsset = {
157
+ address: string;
158
+ tokenId?: string;
159
160
161
/**
0 commit comments