Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Delete a collection Delete a collection in the Marketplace API. This will stop the process of indexing this ERC721 contract.

    Parameters

    • contractAddress: string

    Returns CancelablePromise<void>

    void

    ApiError

  • Get Collection data Retrieve information about a specific collection using the contract address. Can be called for any Cometh indexed collection.

    Parameters

    • contractAddress: string

    Returns CancelablePromise<GetCollectionResponse>

    GetCollectionResponse Collection information

    ApiError

  • Retrieve the collection attributes by contract address Retrieve all the existing permutations of the trait types and values for a collection. Can be called for any Cometh indexed collection.

    Parameters

    • contractAddress: string

    Returns CancelablePromise<CollectionAttributes>

    CollectionAttributes Successful operation

    ApiError

  • Retrieve the collection progress by contract address Retrieve the block number of the last indexed block for a collection as well as related data.

    Parameters

    • contractAddress: string

    Returns CancelablePromise<GetCollectionProgressResponse>

    GetCollectionProgressResponse Successful operation

    ApiError

  • Refreshes the metadata of the specified collection Queue jobs to refresh the metadata of all the NFTs of the specified collection. If there are many assets in the collection, this might take a while.

    Parameters

    • contractAddress: string

    Returns CancelablePromise<RefreshCollectionMetadataResponse>

    RefreshCollectionMetadataResponse Metadata refresh initiated successfully

    ApiError

  • Register a new collection Register a new collection in the Marketplace API. This will start the process of indexing this ERC721 contract.

    Parameters

    Returns CancelablePromise<Collection>

    Collection Successful operation

    ApiError

  • Update a collection Update a collection in the Marketplace API. Only given fields will be updated.

    Parameters

    Returns CancelablePromise<Collection>

    Collection Collection information

    ApiError