Prechádzať zdrojové kódy

Additional interfaces (#394)

MarkSackerberg 1 mesiac pred
rodič
commit
037c2e640d

+ 6 - 1
src/lib/api/aura/das/searchAssest.js

@@ -23,13 +23,18 @@ const searchAssets = {
         'V1_PRINT',
         'LEGACY_NFT',
         'V2_NFT',
+        'ProgrammableNFT',
         'FungibleAsset',
+        'FungibleToken',
         'Custom',
         'Identity',
         'Executable',
+        'MplCoreAsset',
+        'MplCoreCollection',
+        'MplBubblegumV2',
       ],
       description:
-        'The interface value (one of ["V1_NFT", "V1_PRINT", "LEGACY_NFT", "V2_NFT", "FungibleAsset", "Custom", "Identity", "Executable"])',
+        'The interface value (one of ["V1_NFT", "V1_PRINT", "LEGACY_NFT", "V2_NFT", "ProgrammableNFT", "FungibleAsset", "FungibleToken", "Custom", "Identity", "Executable", "MplCoreAsset", "MplCoreCollection", "MplBubblegumV2"])',
     },
     {
       name: 'ownerAddress',

+ 1 - 1
src/pages/das-api/methods/search-assets.md

@@ -13,7 +13,7 @@ Return the list of assets given a search criteria.
 | ------------------- | :------: | ------------------------------------------ |
 | `negate`            |          | Indicates whether the search criteria should be inverted or not.  |
 | `conditionType`     |          | Indicates whether to retrieve all (`"all"`) or any (`"any"`) asset that matches the search criteria.  |
-| `interface`         |          | The interface value (one of `["V1_NFT", "V1_PRINT" "LEGACY_NFT", "V2_NFT", "FungibleAsset", "Custom", "Identity", "Executable"]`).  |
+| `interface`         |          | The interface value (one of `["V1_NFT", "V1_PRINT", "LEGACY_NFT", "V2_NFT", "ProgrammableNFT", "FungibleAsset", "FungibleToken", "Custom", "Identity", "Executable", "MplCoreAsset", "MplCoreCollection", "MplBubblegumV2"]`).  |
 | `ownerAddress`      |          | The address of the owner.  |
 | `ownerType`         |          | Type of ownership `["single", "token"]`.  |
 | `creatorAddress`    |          | The address of the creator.  |