mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-24 21:55:52 +00:00
[DOC] Update book_offers documentation
- Use an orderbook that returns some output - Use a limit to prevent the browser tab from crashing - Removed language around pagination in websocket tool (not currently supported).
This commit is contained in:
@@ -219,9 +219,15 @@
|
||||
ledger_hash: void(0),
|
||||
ledger_index: void(0),
|
||||
taker: sample_address,
|
||||
taker_gets: ripple.Amount.from_json('1/EUR/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B').to_json(),
|
||||
taker_pays: ripple.Amount.from_json('1/USD/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B').to_json(),
|
||||
_description: 'Returns the offers for an order book as one or more pages.',
|
||||
taker_gets: {
|
||||
currency: 'XRP'
|
||||
},
|
||||
taker_pays: {
|
||||
currency: 'USD',
|
||||
issuer: 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B'
|
||||
},
|
||||
limit: 10,
|
||||
_description: 'Returns a snapshot of the offers for an order book.',
|
||||
_link: 'rippled-apis.html#book-offers'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user