mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
filter high liquidity assets
This commit is contained in:
parent
8fbd98260b
commit
15c37bdc59
@ -14,7 +14,9 @@ import { useOcean } from '@oceanprotocol/react'
|
||||
const queryHighest = {
|
||||
page: 1,
|
||||
offset: 3,
|
||||
query: {},
|
||||
query: {
|
||||
dtPrice: [0, 9999999]
|
||||
},
|
||||
sort: { dtPrice: 1 }
|
||||
}
|
||||
|
||||
@ -28,7 +30,6 @@ const queryLatest = {
|
||||
async function getAssets(query: SearchQuery, metadataStoreUri: string) {
|
||||
try {
|
||||
const metadataStore = new MetadataStore(metadataStoreUri, Logger)
|
||||
|
||||
const result = await metadataStore.queryMetadata(query)
|
||||
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user