0.9.2
- Breaking change: Change accountRequest method signature (6f5d110)
- Add paging behavior for account requests,
account_lines
andaccount_offers
(722f4e1) - Add max_fee setter to transactions to set max fee the submitter is willing to pay(24587fa)
- Fix: cap IOU Amounts to their max and min value (f05941f)
Example on how to use paging with account_offers
:
// A valid `ledger_index` or `ledger_hash` is required to provide a reliable result.
// Results can change between ledger closes, so the provided ledger will be used as base.
var options = {
account: < rippleAccount >,
limit: < Number between 10 and 400 >,
ledger: < valid ledger_index or ledger_hash >
}
// The `marker` comes back in an account request if there are more results than are returned
// in the current response. The amount of results per response are determined by the `limit`.
if (marker) {
options.marker = < marker >;
}
var request = remote.requestAccountOffers(options);