@alembic/nft-api-sdk
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -34,3 +34,2 @@ export { NftApi } from './NftApi'; | ||
export type { OffersByAddressSkip } from './models/OffersByAddressSkip'; | ||
export type { Order } from './models/Order'; | ||
export { OrderDirection } from './models/OrderDirection'; | ||
@@ -40,2 +39,3 @@ export type { orderSchemas_ContractAddress } from './models/orderSchemas_ContractAddress'; | ||
export { OrderType } from './models/OrderType'; | ||
export type { OrderWithAsset } from './models/OrderWithAsset'; | ||
export type { OwnersSpreadRange } from './models/OwnersSpreadRange'; | ||
@@ -42,0 +42,0 @@ export type { SearchAssetResponse } from './models/SearchAssetResponse'; |
@@ -1,1 +0,60 @@ | ||
export type Collection = Record<string, any>; | ||
import type { Bignumber } from './Bignumber'; | ||
import type { NullableBignumber } from './NullableBignumber'; | ||
export type Collection = { | ||
/** | ||
* Id of the collection | ||
*/ | ||
id: string; | ||
/** | ||
* Name of the collection | ||
*/ | ||
name: string; | ||
/** | ||
* Hash of the body | ||
*/ | ||
hash: string; | ||
/** | ||
* Id of the client | ||
*/ | ||
clientId: string; | ||
/** | ||
* Standard of the collection | ||
*/ | ||
standard: string; | ||
/** | ||
* Address of the collection | ||
*/ | ||
address: string; | ||
/** | ||
* The total supply of assets in the collection. | ||
*/ | ||
supply?: number; | ||
/** | ||
* The total number of owners of the assets in the collection. | ||
*/ | ||
owners?: number; | ||
/** | ||
* The lowest price at which an asset in the collection is listed for sale. | ||
*/ | ||
floorPrice?: NullableBignumber; | ||
/** | ||
* The highest price of an offer for an asset. | ||
*/ | ||
bestOffer?: NullableBignumber; | ||
/** | ||
* The total number of assets listed for sale in the collection. | ||
*/ | ||
listingsCount?: number; | ||
/** | ||
* The total number of offers made on assets in the collection. | ||
*/ | ||
offersCount?: number; | ||
/** | ||
* The total trading volume of the collection. | ||
*/ | ||
totalVolume?: Bignumber; | ||
/** | ||
* Distribution of attribute values by type. | ||
*/ | ||
attributes?: Record<string, any>; | ||
}; |
@@ -1,2 +0,2 @@ | ||
import type { Order } from './Order'; | ||
import type { OrderWithAsset } from './OrderWithAsset'; | ||
export type GetOffersResponse = { | ||
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
offers: Array<Order>; | ||
offers: Array<OrderWithAsset>; | ||
/** | ||
@@ -9,0 +9,0 @@ * The total number of offers sent by the address. |
{ | ||
"name": "@alembic/nft-api-sdk", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "SDK to use alembic NFT API", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
92388
125
2646