Constructors

Properties

httpRequest: BaseHttpRequest

Methods

  • Get an asset Retrieve a specific expanded asset using contract address and token ID. Can be called for any Cometh indexed collection.

    Parameters

    • contractAddress: string

      The contract address of the asset.

    • tokenId: string

      The token ID of the asset.

    Returns CancelablePromise<AssetWithTradeData>

    AssetWithTradeData Asset details

    ApiError

  • Get owners of a specific asset Retrieve the owners of a specific asset using contract address and token ID. The list is paginated. Can be called for any Cometh indexed collection.

    Parameters

    • contractAddress: string

      The contract address of the asset.

    • tokenId: string

      The token ID of the asset.

    • Optionalowner: string

      Filter by owner address.

    • limit: number = 50

      The number of owners to return. Default is 50.

    • Optionalskip: number

      The number of owners to skip. Default is 0.

    Returns CancelablePromise<AssetOwners>

    AssetOwners Asset details

    ApiError

  • Refresh asset metadata Refresh the metadata of a specific asset.

    Parameters

    • contractAddress: string

      The contract address of the asset.

    • tokenId: string

      The token ID of the asset.

    Returns CancelablePromise<{
        success: boolean;
    }>

    any Metadata refresh initiated successfully

    ApiError