market
market copied to clipboard
Fetch price from aquarius
Get price from aquarius so we don't have to do multiple sub queries.
"price": {
"value" : 33,
"tokenAddress": "0x0....",
"tokenSymbol": "ocean"
}
If value is 0 the it's a dispenser so it's free
if the price object is empty ({}) then no valid pricing was found.
Requires new aquarius deployment( > 4.2.0) Aqua issue: https://github.com/oceanprotocol/aquarius/issues/853