Repository navigation
v2.1.0
Adds the sale lifecycle and RAM payment actions, plus the /v2/sales routes.
Features
- Adds the sale lifecycle actions to
MarketActionBuilderandMarketActionGenerator:announcesale,cancelsale,assertsale,purchasesale. The uint64 fields, the listing ids andintended_delphi_median, are strings, so 64-bit values pass through without precision loss. (#14) - RAM payment actions
paysaleram,payauctramandpaybuyorammove the RAM cost of a listing's table row onto the payer. Any account may pay, signing as the payer. (#14) - Adds
getSalesV2andcountSalesV2for the/v2/salesroute, a newer materialized index with the same row shape as/v1/sales./v2/salesomits Waiting sales, so a state filter that includes Waiting belongs on the v1 route. (#14) countOffersjoinsgetOffers, both taking the newMarketOfferApiParams, which widens the state filter to comma-joined multi-state queries like the sale and auction params already allow. (#14)
Commits
- 30b49b7 feat: cover the sale lifecycle, RAM payments, and v2 sales so consumers stop hand-rolling them (#14)
Full changelog: v2.0.1...v2.1.0