1
0
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:
Matthias Kretschmann 2020-10-08 11:39:08 +02:00
parent 8fbd98260b
commit 15c37bdc59
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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