market icon indicating copy to clipboard operation
market copied to clipboard

Fetch price from aquarius

Open mihaisc opened this issue 3 years ago • 0 comments

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

mihaisc avatar Aug 12 '22 10:08 mihaisc