Repository navigation
v17.4.0
Added
rpc.Server.queryEvents()fetches one page of events with the newqueryEventsRPC 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 beScVals.rpc.Api.isQueryEventsError()narrows its typed errors, andrpc.parseRawQueryEvents()parses a raw response from_queryEvents().getEvents()is unchanged (#1839).
Fixed
Operation.toXdrPrice()throws "price must be positive" for a{n, d}price whosenis0. Before, it returned a zero price, which the network rejects as malformed. This affectsmanageSellOffer(),manageBuyOffer(),createPassiveSellOffer()andliquidityPoolDeposit(). A zero price in number or string form already threw (#1843).
Full Changelog: v17.3.0...v17.4.0