-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaccount_offers.html
More file actions
541 lines (478 loc) · 27 KB
/
account_offers.html
File metadata and controls
541 lines (478 loc) · 27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width">
<title>account_offers - XAG Ledger Dev Portal</title>
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png">
<link rel="manifest" href="assets/favicons/site.webmanifest">
<link rel="shortcut icon" href="favicon.ico">
<meta name="msapplication-TileColor" content="#25A768">
<meta name="msapplication-config" content="assets/favicons/browserconfig.xml">
<meta name="theme-color" content="#25A768">
<!-- jQuery -->
<script src="assets/vendor/jquery-1.11.1.min.js"></script>
<!-- Stylesheet -->
<link href="assets/css/devportal.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
<!-- syntax highlighting -->
<link rel="stylesheet" href="assets/vendor/docco.min.css" />
<script src="assets/vendor/highlight.min.js"></script>
<!-- expandable code samples -->
<script src="assets/js/expandcode.js"></script>
<!-- multi-code selection tabs -->
<script src="assets/js/multicodetab.js"></script>
<script>
$(document).ready(function() {
$(".multicode").minitabs();
hljs.initHighlighting();
make_code_expandable();
});
</script>
</head>
<body class="xrp-ledger-dev-portal sidebar-primary lang-en ">
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-white">
<a href="index.html" class="navbar-brand"><img src="assets/img/logo.png" class="logo" height="44" alt="XAG Ledger Dev Portal" /></a>
<button class="navbar-toggler" type="button" data-toggle="slide-collapse" data-target="#navbarHolder" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarHolder">
<ul class="nav navbar-nav">
<li class="nav-item">
<a class="nav-link" href="dev-tools.html">Dev Tools</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://xagfans.com/" target="blank">BBS</a>
</li>
</ul>
<div class="nav navbar-nav language-selector">
<div class="dropdown">
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="language_selector_header_btn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
English
</button>
<div class="dropdown-menu" aria-labelledby="language_selector_header_btn">
<a class="dropdown-item" href="/account_offers.html">English</a>
<a class="dropdown-item" href="/cn/account_offers.html">中文</a>
</div><!--/.dropdown-menu-->
</div><!--/.dropdown-->
</div><!--/.language-selector-->
</div><!--/#navbarHolder-->
<div class="menu-overlay"></div>
</nav>
<div class="container-fluid" role="document" id="main_content_wrapper">
<div class="row">
<!-- Right sidebar first so it's at the beginning for mobile layouts -->
<aside class="right-sidebar col-lg-3 order-lg-4 p-0" role="complementary">
<div class="card" id="page-toc-wrapper">
<div class="card-header">
<h4>In this document</h4>
</div>
<ul class="card-body">
<li class="level-1"><a href="#account_offers">account_offers</a></li>
<li class="level-2"><a href="#request-format">Request Format</a></li>
<li class="level-2"><a href="#response-format">Response Format</a></li>
<li class="level-2"><a href="#possible-errors">Possible Errors</a></li>
</ul>
</div>
</aside>
<!-- main column -->
<main class="main col-md-7 col-lg-6 order-md-3 " role="main" id="main_content_body">
<nav class="breadcrumbs-wrap p-0 p-md-3" aria-label="breadcrumb">
<ul class="breadcrumb bg-white">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="active breadcrumb-item"><a href="docs.html">Docs</a></li>
<li class="active breadcrumb-item"><a href="references.html">References</a></li>
<li class="active breadcrumb-item"><a href="rippled-api.html">rippled API Reference</a></li>
<li class="active breadcrumb-item"><a href="public-rippled-methods.html">Public rippled Methods</a></li>
<li class="active breadcrumb-item"><a href="account-methods.html">Account Methods</a></li>
<li class="active breadcrumb-item">account_offers</li>
</ul>
</nav><!--/.breadcrumbs-wrap--> <article class="pt-3 p-md-3">
<div class="content">
<h1 id="account_offers">account_offers</h1>
<p><a class="external-link" href="https://github.com/ripple/rippled/blob/master/src/ripple/rpc/handlers/AccountOffers.cpp" target="_blank" title="Source">[Source] <i aria-hidden="true" class="fa fa-external-link"></i></a></p>
<p>The <code>account_offers</code> method retrieves a list of <a href="offers.html">offers</a> made by a given <a href="accounts.html">account</a> that are outstanding as of a particular <a href="ledgers.html">ledger version</a>.</p>
<h2 id="request-format">Request Format</h2>
<p>An example of the request format:</p>
<div class="multicode" id="code-0"><ul class="codetabs"><li><a href="#code-0-0">WebSocket</a></li><li><a href="#code-0-1">JSON-RPC</a></li><li><a href="#code-0-2">Commandline</a></li></ul>
<div class="code_sample" id="code-0-0" style="position: static;"><pre><code class="json">{
"id": 9,
"command": "account_offers",
"account": "rpP2JgiMyTF5jR5hLG3xHCPi1knBb1v9cM"
}
</code></pre></div>
<div class="code_sample" id="code-0-1" style="position: static;"><pre><code class="json">{
"method": "account_offers",
"params": [
{
"account": "rpP2JgiMyTF5jR5hLG3xHCPi1knBb1v9cM"
}
]
}
</code></pre></div>
<div class="code_sample" id="code-0-2" style="position: static;"><pre><code class="sh">#Syntax: account_offers account [ledger_index] [strict]
rippled account_offers r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 current strict
</code></pre></div>
</div>
<p><a class="button" href="websocket-api-tool.html#account_offers">Try it!</a></p>
<p>A request can include the following parameters:</p>
<table>
<thead>
<tr>
<th align="left"><code>Field</code></th>
<th align="left">Type</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><code>account</code></td>
<td align="left">String</td>
<td align="left">A unique identifier for the account, most commonly the account's <a href="basic-data-types.html#addresses">Address</a>.</td>
</tr>
<tr>
<td align="left"><code>ledger</code></td>
<td align="left">Unsigned Integer, or String</td>
<td align="left"><em>(<strong>Deprecated</strong>, Optional)</em> A unique identifier for the ledger version to use, such as a ledger index, a hash, or a shortcut such as "validated".</td>
</tr>
<tr>
<td align="left"><code>ledger_hash</code></td>
<td align="left">String - <a href="basic-data-types.html#hashes">Hash</a></td>
<td align="left"><em>(Optional)</em> A 20-byte hex string identifying the ledger version to use.</td>
</tr>
<tr>
<td align="left"><code>ledger_index</code></td>
<td align="left">Number - <a href="basic-data-types.html#ledger-index">Ledger Index</a></td>
<td align="left">(Optional, defaults to <code>current</code>) The <a href="basic-data-types.html#ledger-index">ledger index</a> of the ledger to use, or "current", "closed", or "validated" to select a ledger dynamically. (See <a href="basic-data-types.html#specifying-ledgers">Specifying Ledgers</a>)</td>
</tr>
<tr>
<td align="left"><code>limit</code></td>
<td align="left">Integer</td>
<td align="left">(Optional, default varies) Limit the number of transactions to retrieve. The server is not required to honor this value. Must be within the inclusive range 10 to 400. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.26.4" target="_blank" title="New in: rippled 0.26.4"><img alt="New in: rippled 0.26.4" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.26.4-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
<tr>
<td align="left"><code>marker</code></td>
<td align="left"><a href="markers-and-pagination.html">Marker</a></td>
<td align="left"><em>(Optional)</em> Value from a previous paginated response. Resume retrieving data where that response left off. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.26.4" target="_blank" title="New in: rippled 0.26.4"><img alt="New in: rippled 0.26.4" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.26.4-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
<tr>
<td align="left"><code>strict</code></td>
<td align="left">Boolean</td>
<td align="left"><em>(Optional)</em> If <code>true</code>, then the <code>account</code> field only accepts a public key or XAG Ledger address. Otherwise, <code>account</code> can be a secret or passphrase (not recommended). The default is <code>false</code>.</td>
</tr>
</tbody>
</table>
<p>The following parameter is deprecated and may be removed without further notice: <code>ledger</code>.</p>
<h2 id="response-format">Response Format</h2>
<p>An example of a successful response:</p>
<div class="multicode" id="code-1"><ul class="codetabs"><li><a href="#code-1-0">WebSocket</a></li><li><a href="#code-1-1">JSON-RPC</a></li></ul>
<div class="code_sample" id="code-1-0" style="position: static;"><pre><code class="json">{
"id": 9,
"status": "success",
"type": "response",
"result": {
"account": "rpP2JgiMyTF5jR5hLG3xHCPi1knBb1v9cM",
"ledger_current_index": 18539550,
"offers": [
{
"flags": 0,
"quality": "0.00000000574666765650638",
"seq": 6577664,
"taker_gets": "33687728098",
"taker_pays": {
"currency": "EUR",
"issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
"value": "193.5921774819578"
}
},
{
"flags": 0,
"quality": "7989247009094510e-27",
"seq": 6572128,
"taker_gets": "2361918758",
"taker_pays": {
"currency": "XAU",
"issuer": "rrh7rf1gV2pXAoqA8oYbpHd8TKv5ZQeo67",
"value": "0.01886995237307572"
}
},
... trimmed for length ...
],
"validated": false
}
}
</code></pre></div>
<div class="code_sample" id="code-1-1" style="position: static;"><pre><code class="json">200 OK
{
"result": {
"account": "rpP2JgiMyTF5jR5hLG3xHCPi1knBb1v9cM",
"ledger_current_index": 18539596,
"offers": [{
"flags": 0,
"quality": "0.000000007599140009999998",
"seq": 6578020,
"taker_gets": "29740867287",
"taker_pays": {
"currency": "USD",
"issuer": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
"value": "226.0050145327418"
}
}, {
"flags": 0,
"quality": "7989247009094510e-27",
"seq": 6572128,
"taker_gets": "2361918758",
"taker_pays": {
"currency": "XAU",
"issuer": "rrh7rf1gV2pXAoqA8oYbpHd8TKv5ZQeo67",
"value": "0.01886995237307572"
}
}, {
"flags": 0,
"quality": "0.00000004059594001318974",
"seq": 6576905,
"taker_gets": "3892952574",
"taker_pays": {
"currency": "CNY",
"issuer": "rKiCet8SdvWxPXnAgYarFUXMh1zCPz432Y",
"value": "158.0380691682966"
}
},
...
],
"status": "success",
"validated": false
}
}
</code></pre></div>
</div>
<p>The response follows the <a href="response-formatting.html">standard format</a>, with a successful result containing the following fields:</p>
<table>
<thead>
<tr>
<th align="left"><code>Field</code></th>
<th align="left">Type</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><code>account</code></td>
<td align="left">String</td>
<td align="left">Unique <a href="basic-data-types.html#addresses">Address</a> identifying the account that made the offers</td>
</tr>
<tr>
<td align="left"><code>offers</code></td>
<td align="left">Array</td>
<td align="left">Array of objects, where each object represents an offer made by this account that is outstanding as of the requested ledger version. If the number of offers is large, only returns up to <code>limit</code> at a time.</td>
</tr>
<tr>
<td align="left"><code>ledger_current_index</code></td>
<td align="left">Number - <a href="basic-data-types.html#ledger-index">Ledger Index</a></td>
<td align="left"><em>(Omitted if <code>ledger_hash</code> or <code>ledger_index</code> provided)</em> The ledger index of the current in-progress ledger version, which was used when retrieving this data. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.26.4-sp1" target="_blank" title="New in: rippled 0.26.4-sp1"><img alt="New in: rippled 0.26.4-sp1" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.26.4--sp1-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
<tr>
<td align="left"><code>ledger_index</code></td>
<td align="left">Number - <a href="basic-data-types.html#ledger-index">Ledger Index</a></td>
<td align="left"><em>(Omitted if <code>ledger_current_index</code> provided instead)</em> The ledger index of the ledger version that was used when retrieving this data, as requested. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.26.4-sp1" target="_blank" title="New in: rippled 0.26.4-sp1"><img alt="New in: rippled 0.26.4-sp1" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.26.4--sp1-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
<tr>
<td align="left"><code>ledger_hash</code></td>
<td align="left">String - <a href="basic-data-types.html#hashes">Hash</a></td>
<td align="left"><em>(May be omitted)</em> The identifying hash of the ledger version that was used when retrieving this data. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.26.4-sp1" target="_blank" title="New in: rippled 0.26.4-sp1"><img alt="New in: rippled 0.26.4-sp1" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.26.4--sp1-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
<tr>
<td align="left"><code>marker</code></td>
<td align="left"><a href="markers-and-pagination.html">Marker</a></td>
<td align="left"><em>(May be omitted)</em> Server-defined value indicating the response is paginated. Pass this to the next call to resume where this call left off. Omitted when there are no pages of information after this one. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.26.4" target="_blank" title="New in: rippled 0.26.4"><img alt="New in: rippled 0.26.4" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.26.4-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
</tbody>
</table>
<p>Each offer object contains the following fields:</p>
<table>
<thead>
<tr>
<th align="left"><code>Field</code></th>
<th align="left">Type</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><code>flags</code></td>
<td align="left">Unsigned integer</td>
<td align="left">Options set for this offer entry as bit-flags.</td>
</tr>
<tr>
<td align="left"><code>seq</code></td>
<td align="left">Unsigned integer</td>
<td align="left">Sequence number of the transaction that created this entry. (Transaction <a href="basic-data-types.html#account-sequence">sequence numbers</a> are relative to accounts.)</td>
</tr>
<tr>
<td align="left"><code>taker_gets</code></td>
<td align="left">String or Object</td>
<td align="left">The amount the account accepting the offer receives, as a String representing an amount in XAG, or a currency specification object. (See <a href="basic-data-types.html#specifying-currency-amounts">Specifying Currency Amounts</a>)</td>
</tr>
<tr>
<td align="left"><code>taker_pays</code></td>
<td align="left">String or Object</td>
<td align="left">The amount the account accepting the offer provides, as a String representing an amount in XAG, or a currency specification object. (See <a href="basic-data-types.html#specifying-currency-amounts">Specifying Currency Amounts</a>)</td>
</tr>
<tr>
<td align="left"><code>quality</code></td>
<td align="left">String</td>
<td align="left">The exchange rate of the offer, as the ratio of the original <code>taker_pays</code> divided by the original <code>taker_gets</code>. When executing offers, the offer with the most favorable (lowest) quality is consumed first; offers with the same quality are executed from oldest to newest. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.29.0" target="_blank" title="New in: rippled 0.29.0"><img alt="New in: rippled 0.29.0" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.29.0-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
<tr>
<td align="left"><code>expiration</code></td>
<td align="left">Unsigned integer</td>
<td align="left">(May be omitted) A time after which this offer is considered unfunded, as the number of <a href="basic-data-types.html#specifying-time">seconds since the Ripple Epoch</a>. See also: <a href="offers.html#offer-expiration">Offer Expiration</a>. <a class="external-link" href="https://github.com/ripple/rippled/releases/tag/0.30.1" target="_blank" title="New in: rippled 0.30.1"><img alt="New in: rippled 0.30.1" class="dactyl_badge" src="https://img.shields.io/badge/New%20in-rippled%200.30.1-blue.svg"/> <i aria-hidden="true" class="fa fa-external-link"></i></a></td>
</tr>
</tbody>
</table>
<h2 id="possible-errors">Possible Errors</h2>
<ul>
<li>Any of the <a href="error-formatting.html#universal-errors">universal error types</a>.</li>
<li><code>invalidParams</code> - One or more fields are specified incorrectly, or one or more required fields are missing.</li>
<li><code>actNotFound</code> - The <a href="basic-data-types.html#addresses">Address</a> specified in the <code>account</code> field of the request does not correspond to an account in the ledger.</li>
<li><code>lgrNotFound</code> - The ledger specified by the <code>ledger_hash</code> or <code>ledger_index</code> does not exist, or it does exist but the server does not have it.</li>
<li><code>actMalformed</code> - The <code>marker</code> field provided is incorrect.</li>
</ul>
<!-- rippled release notes links -->
<!-- -->
<!-- API object types -->
<!-- -->
<!-- -->
<!-- -->
</div>
</article>
</main>
<!-- Left sidebar last so it's at the end for mobile -->
<aside class="sidebar col-md-5 col-lg-3 p-0 order-md-1" role="complementary">
<div class="tree_nav">
<!---->
<div class="sidenav_parent">
<a href="rippled-api.html"> rippled API Reference</a>
</div>
<!---->
<!---->
<div id="sidenav" role="tablist" aria-multiselectable="true">
<div class="card">
<div class="card-header" role="tab" id="sidenav_cat_head_14">
<a class="collapsed sidenav_cat_toggler" role="button" data-toggle="collapse" href="#sidenav_collapse_14" aria-expanded="true" aria-controls="sidenav_collapse_14"></a>
<h5 class="card-title">
<a class="sidenav_cat_title" href="api-conventions.html">API Conventions</a>
</h5>
</div><!-- /.card-header -->
<div id="sidenav_collapse_14" class="collapse" role="tabpanel" aria-labelledby="sidenav_cat_head_14">
<div class="card-body">
<ul class="sidebar_pagelist">
<li><a class="nosubcat-page" href="basic-data-types.html">Basic Data Types</a></li>
<li><a class="nosubcat-page" href="base58-encodings.html">base58 Encodings</a></li>
<li><a class="nosubcat-page" href="currency-formats.html">Currency Formats</a></li>
<li><a class="nosubcat-page" href="error-formatting.html">Error Formatting</a></li>
<li><a class="nosubcat-page" href="markers-and-pagination.html">Markers and Pagination</a></li>
<li><a class="nosubcat-page" href="modifying-the-ledger.html">Modifying the Ledger</a></li>
<li><a class="nosubcat-page" href="rate-limiting.html">Rate Limiting</a></li>
<li><a class="nosubcat-page" href="request-formatting.html">Request Formatting</a></li>
<li><a class="nosubcat-page" href="response-formatting.html">Response Formatting</a></li>
<li><a class="nosubcat-page" href="rippled-server-states.html">rippled Server States</a></li>
<li><a class="nosubcat-page" href="serialization.html">Serialization Format</a></li>
</ul>
</div><!-- /.card-body -->
</div><!-- /#sidenav_collapse14 -->
</div><!-- /.panel -->
<div class="card active">
<div class="card-header" role="tab" id="sidenav_cat_head_15">
<a class="sidenav_cat_toggler" role="button" data-toggle="collapse" href="#sidenav_collapse_15" aria-expanded="true" aria-controls="sidenav_collapse_15"></a>
<h5 class="card-title">
<a class="sidenav_cat_title active-parent" href="public-rippled-methods.html">Public rippled Methods</a>
</h5>
</div><!-- /.card-header -->
<div id="sidenav_collapse_15" class="collapse show" role="tabpanel" aria-labelledby="sidenav_cat_head_15">
<div class="card-body">
<ul class="sidebar_pagelist">
<li><a class="subcat-title active-parent" href="account-methods.html">Account Methods</a></li>
<li><a class="subpage" href="account_currencies.html">account_currencies</a></li>
<li><a class="subpage" href="account_info.html">account_info</a></li>
<li><a class="subpage" href="account_lines.html">account_lines</a></li>
<li><a class="subpage" href="account_objects.html">account_objects</a></li>
<li><a class="active subpage" href="#main_content_body">account_offers</a></li>
<li><a class="subpage" href="account_tx.html">account_tx</a></li>
<li><a class="subpage" href="gateway_balances.html">gateway_balances</a></li>
<li><a class="subpage" href="noripple_check.html">noripple_check</a></li>
<li><a class="subcat-title" href="ledger-methods.html">Ledger Methods</a></li>
<li><a class="subpage" href="ledger.html">ledger</a></li>
<li><a class="subpage" href="ledger_closed.html">ledger_closed</a></li>
<li><a class="subpage" href="ledger_current.html">ledger_current</a></li>
<li><a class="subpage" href="ledger_data.html">ledger_data</a></li>
<li><a class="subpage" href="ledger_entry.html">ledger_entry</a></li>
<li><a class="subcat-title" href="transaction-methods.html">Transaction Methods</a></li>
<li><a class="subpage" href="sign.html">sign</a></li>
<li><a class="subpage" href="sign_for.html">sign_for</a></li>
<li><a class="subpage" href="submit.html">submit</a></li>
<li><a class="subpage" href="submit_multisigned.html">submit_multisigned</a></li>
<li><a class="subpage" href="transaction_entry.html">transaction_entry</a></li>
<li><a class="subpage" href="tx.html">tx</a></li>
<li><a class="subpage" href="tx_history.html">tx_history</a></li>
<li><a class="subcat-title" href="path-and-order-book-methods.html">Path and Order Book Methods</a></li>
<li><a class="subpage" href="book_offers.html">book_offers</a></li>
<li><a class="subpage" href="deposit_authorized.html">deposit_authorized</a></li>
<li><a class="subpage" href="path_find.html">path_find</a></li>
<li><a class="subpage" href="ripple_path_find.html">ripple_path_find</a></li>
<li><a class="subcat-title" href="subscription-methods.html">Subscription Methods</a></li>
<li><a class="subpage" href="subscribe.html">subscribe</a></li>
<li><a class="subpage" href="unsubscribe.html">unsubscribe</a></li>
</ul>
</div><!-- /.card-body -->
</div><!-- /#sidenav_collapse15 -->
</div><!-- /.panel -->
</div><!-- /#sidenav -->
</div><!-- /.tree_nav --> </aside>
</div><!--/.row (main layout)-->
</div>
<footer class="xrpl-footer" role="contentinfo">
<section class="container-fluid p-5 pl-sm-0">
<nav role="navigation" class="d-flex mb-3 language-selector">
<img class="language_selector_icon" src="assets/img/icon-language-selector.svg" width="32" height="40" alt="language selection icon" />
<ul class="nav">
<li class="nav-item">
<a class="nav-link active" href="/account_offers.html"><i class="fa fa-check-circle"></i> English</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/cn/account_offers.html">中文</a>
</li>
</ul>
</nav>
<div class="absolute_bottom_footer">
<span>© XAG Ledger Project 2020</span>
</div><!-- /.absolute_bottom_footer -->
</section>
</footer>
<!-- Jump to top button -->
<a href="#main_content_wrapper" class="jump-to-top btn btn-primary btn-lg" role="button" title="Jump to top of page">Top</a>
<script type="text/javascript" src="assets/js/jump-to-top.js"></script>
<!-- Non-blocking resources -->
<!-- Bootstrap JS -->
<script src="assets/vendor/bootstrap.min.js"></script>
<!-- fontawesome icons -->
<link rel="stylesheet" href="assets/vendor/fontawesome/css/font-awesome.min.css" />
<!-- Algolia DocSearch -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript"> docsearch({
apiKey: '70de5b9b8ef95460f3c6e04054b325b2',
indexName: 'xrpl',
inputSelector: '#topsearchbar',
algoliaOptions: { 'facetFilters': ["lang:en"] },
debug: false
});
</script>
<script type="application/javascript">
gtag('set', {'content_group1': 'Content Docs'});
</script>
</body>
</html>