From abfab78f969c3e7f2be67087942e4150a61a1894 Mon Sep 17 00:00:00 2001 From: Vahe Hovhannisyan Date: Sat, 28 Sep 2013 07:56:27 -0700 Subject: [PATCH] Docs: Add an example for request_book_offers --- docs/REFERENCE.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/REFERENCE.md b/docs/REFERENCE.md index e5896cce..927dff61 100644 --- a/docs/REFERENCE.md +++ b/docs/REFERENCE.md @@ -198,6 +198,20 @@ Return a request to get a ripple balance Return the offers for an order book as one or more pages. +```js +var request = remote.request_book_offers({ + gets: { + 'currency':'XRP' + }, + pays: { + 'currency':'USD', + 'issuer': 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B' + } +}); + +request.request(); +``` +