Home > @infiniteobjects/eth-tokens-service > OpenSeaService > getCollection
Gets Assets from the OpenSea API
Signature:
getCollection(collectionSlug: string): Promise<JsonObject>;
| Parameter | Type | Description |
|---|---|---|
| collectionSlug | string |
Returns:
Promise<JsonObject>
assets array of OpenSeaAsset objects and the next and previous pointers.