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

    Throws

    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.

    • Optional owner: string

      Filter by owner address.

    • limit: number = 50

      The number of owners to return. Default is 50.

    • Optional skip: number

      The number of owners to skip. Default is 0.

    Returns CancelablePromise<AssetOwners>

    AssetOwners Asset details

    Throws

    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

    Throws

    ApiError

Generated using TypeDoc