Skip to content

v17.4.0

Latest

Choose a tag to compare

@Ryang-21 Ryang-21 released this 25 Oct 11:16
1ef3f77

v17.4.0

Added

  • rpc.Server.queryEvents() fetches one page of events with the new queryEvents RPC method. Only the archival RPC node serves it, and it is in beta. A request is a ledger range query or a cursor continuation, and filter topics can be ScVals. rpc.Api.isQueryEventsError() narrows its typed errors, and rpc.parseRawQueryEvents() parses a raw response from _queryEvents(). getEvents() is unchanged (#1839).

Fixed

  • Operation.toXdrPrice() throws "price must be positive" for a {n, d} price whose n is 0. Before, it returned a zero price, which the network rejects as malformed. This affects manageSellOffer(), manageBuyOffer(), createPassiveSellOffer() and liquidityPoolDeposit(). A zero price in number or string form already threw (#1843).

Full Changelog: v17.3.0...v17.4.0