Home > @infiniteobjects/eth-tokens-service > OpenSeaService > listAssets
Gets Assets from the OpenSea API
Signature:
listAssets(params?: RetrieveAssetsQueryParams): Promise<OpenSeaGetAssetsBody>;
| Parameter | Type | Description |
|---|---|---|
| params | RetrieveAssetsQueryParams | (Optional) RetrieveAssetsQueryParams object from the OpenSea API docs. https://docs.opensea.io/reference#get-assets |
Returns:
Promise<OpenSeaGetAssetsBody>
assets array of OpenSeaAsset objects and the next and previous pointers.