ar-io / arns-service

Koa microservice that leverages Warp to support the ArNS Portal and ar.io observers.
https://api.arns.app
GNU Affero General Public License v3.0
19 stars 4 forks source link

feat(auctions route): add auctions field records accessor #33

Closed atticusofsparta closed 1 year ago

dtfiedler commented 1 year ago

if we are to add this endpoint, we should include fetching the contract prices for the auction - which would be computed or retrieved from the contract APIs. right now it's not providing any additional value than parsing the state

dtfiedler commented 1 year ago

as for where this endpoint could be helpful:

  1. to confirm if an auction is expired or not
  2. return the price array of the auction