@solana/web3.js 0.98.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +10 -55
  2. package/lib/index.browser.esm.js +48 -24
  3. package/lib/index.browser.esm.js.map +1 -1
  4. package/lib/index.cjs.js +101 -56
  5. package/lib/index.cjs.js.map +1 -1
  6. package/lib/index.esm.js +88 -64
  7. package/lib/index.esm.js.map +1 -1
  8. package/lib/index.iife.js +42 -25
  9. package/lib/index.iife.js.map +1 -1
  10. package/lib/index.iife.min.js +2 -2
  11. package/lib/index.iife.min.js.map +1 -1
  12. package/lib/types/index.d.ts.map +1 -1
  13. package/package.json +27 -45
  14. package/src/message.ts +9 -12
  15. package/src/transaction.ts +2 -2
  16. package/src/util/guarded-array-utils.ts +37 -0
  17. package/src/validator-info.ts +5 -4
  18. package/bin/bpf-sdk-install.sh +0 -38
  19. package/bin/localnet.sh +0 -161
  20. package/bpf-sdk/LICENSE +0 -13
  21. package/bpf-sdk/c/README.md +0 -44
  22. package/bpf-sdk/c/bpf.ld +0 -20
  23. package/bpf-sdk/c/bpf.mk +0 -249
  24. package/bpf-sdk/c/inc/deserialize_deprecated.h +0 -115
  25. package/bpf-sdk/c/inc/solana_sdk.h +0 -669
  26. package/bpf-sdk/c/inc/stdio.h +0 -4
  27. package/bpf-sdk/c/inc/stdlib.h +0 -2
  28. package/bpf-sdk/c/inc/string.h +0 -7
  29. package/bpf-sdk/c/inc/sys/param.h +0 -1
  30. package/bpf-sdk/c/inc/wchar.h +0 -1
  31. package/bpf-sdk/env.sh +0 -39
  32. package/bpf-sdk/rust/bpf.ld +0 -20
  33. package/bpf-sdk/rust/build.sh +0 -21
  34. package/bpf-sdk/rust/clean.sh +0 -17
  35. package/bpf-sdk/rust/xargo-build.sh +0 -29
  36. package/bpf-sdk/scripts/dump.sh +0 -45
  37. package/bpf-sdk/scripts/install.sh +0 -178
  38. package/bpf-sdk/scripts/objcopy.sh +0 -6
  39. package/bpf-sdk/scripts/package.sh +0 -19
  40. package/bpf-sdk/scripts/strip.sh +0 -23
  41. package/bpf-sdk/version.txt +0 -2
  42. package/doc/assets/css/main.css +0 -2660
  43. package/doc/assets/images/icons.png +0 -0
  44. package/doc/assets/images/icons@2x.png +0 -0
  45. package/doc/assets/images/widgets.png +0 -0
  46. package/doc/assets/images/widgets@2x.png +0 -0
  47. package/doc/assets/js/main.js +0 -248
  48. package/doc/assets/js/search.js +0 -1
  49. package/doc/classes/account.html +0 -244
  50. package/doc/classes/authorized.html +0 -234
  51. package/doc/classes/bpfloader.html +0 -267
  52. package/doc/classes/connection.html +0 -2354
  53. package/doc/classes/loader.html +0 -275
  54. package/doc/classes/lockup.html +0 -250
  55. package/doc/classes/message.html +0 -326
  56. package/doc/classes/nonceaccount.html +0 -233
  57. package/doc/classes/publickey.html +0 -411
  58. package/doc/classes/secp256k1program.html +0 -308
  59. package/doc/classes/stakeinstruction.html +0 -403
  60. package/doc/classes/stakeprogram.html +0 -503
  61. package/doc/classes/systeminstruction.html +0 -563
  62. package/doc/classes/systemprogram.html +0 -503
  63. package/doc/classes/transaction.html +0 -688
  64. package/doc/classes/transactioninstruction.html +0 -240
  65. package/doc/classes/validatorinfo.html +0 -279
  66. package/doc/classes/voteaccount.html +0 -331
  67. package/doc/index.html +0 -640
  68. package/doc/interfaces/feecalculator.html +0 -166
  69. package/doc/modules.html +0 -4682
  70. package/examples/README.md +0 -10
  71. package/examples/account.html +0 -24
  72. package/examples/account.js +0 -10
  73. package/examples/bpf-c-noop/.gitignore +0 -1
  74. package/examples/bpf-c-noop/makefile +0 -1
  75. package/examples/bpf-c-noop/src/noop/noop.c +0 -19
  76. package/examples/bpf-rust-noop/.gitignore +0 -3
  77. package/examples/bpf-rust-noop/Cargo.toml +0 -23
  78. package/examples/bpf-rust-noop/Xargo.toml +0 -2
  79. package/examples/bpf-rust-noop/src/lib.rs +0 -70
  80. package/examples/get-balance.html +0 -37
  81. package/examples/get-balance.js +0 -18
@@ -1,2354 +0,0 @@
1
- <!doctype html>
2
- <html class="default no-js">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>Connection | @solana/web3.js</title>
7
- <meta name="description" content="Documentation for @solana/web3.js">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="stylesheet" href="../assets/css/main.css">
10
- <script async src="../assets/js/search.js" id="search-script"></script>
11
- </head>
12
- <body>
13
- <header>
14
- <div class="tsd-page-toolbar">
15
- <div class="container">
16
- <div class="table-wrap">
17
- <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
18
- <div class="field">
19
- <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
20
- <input id="tsd-search-field" type="text" />
21
- </div>
22
- <ul class="results">
23
- <li class="state loading">Preparing search index...</li>
24
- <li class="state failure">The search index is not available</li>
25
- </ul>
26
- <a href="../index.html" class="title">@solana/web3.js</a>
27
- </div>
28
- <div class="table-cell" id="tsd-widgets">
29
- <div id="tsd-filter">
30
- <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
31
- <div class="tsd-filter-group">
32
- <div class="tsd-select" id="tsd-filter-visibility">
33
- <span class="tsd-select-label">All</span>
34
- <ul class="tsd-select-list">
35
- <li data-value="public">Public</li>
36
- <li data-value="protected">Public/Protected</li>
37
- <li data-value="private" class="selected">All</li>
38
- </ul>
39
- </div>
40
- <input type="checkbox" id="tsd-filter-inherited" checked />
41
- <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
42
- <input type="checkbox" id="tsd-filter-externals" checked />
43
- <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
44
- </div>
45
- </div>
46
- <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
47
- </div>
48
- </div>
49
- </div>
50
- </div>
51
- <div class="tsd-page-title">
52
- <div class="container">
53
- <ul class="tsd-breadcrumb">
54
- <li>
55
- <a href="../modules.html">@solana/web3.js</a>
56
- </li>
57
- <li>
58
- <a href="connection.html">Connection</a>
59
- </li>
60
- </ul>
61
- <h1>Class Connection</h1>
62
- </div>
63
- </div>
64
- </header>
65
- <div class="container container-main">
66
- <div class="row">
67
- <div class="col-8 col-content">
68
- <section class="tsd-panel tsd-comment">
69
- <div class="tsd-comment tsd-typography">
70
- <div class="lead">
71
- <p>A connection to a fullnode JSON RPC endpoint</p>
72
- </div>
73
- </div>
74
- </section>
75
- <section class="tsd-panel tsd-hierarchy">
76
- <h3>Hierarchy</h3>
77
- <ul class="tsd-hierarchy">
78
- <li>
79
- <span class="target">Connection</span>
80
- </li>
81
- </ul>
82
- </section>
83
- <section class="tsd-panel-group tsd-index-group">
84
- <h2>Index</h2>
85
- <section class="tsd-panel tsd-index-panel">
86
- <div class="tsd-index-content">
87
- <section class="tsd-index-section ">
88
- <h3>Constructors</h3>
89
- <ul class="tsd-index-list">
90
- <li class="tsd-kind-constructor tsd-parent-kind-class"><a href="connection.html#constructor" class="tsd-kind-icon">constructor</a></li>
91
- </ul>
92
- </section>
93
- <section class="tsd-index-section ">
94
- <h3>Accessors</h3>
95
- <ul class="tsd-index-list">
96
- <li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="connection.html#commitment" class="tsd-kind-icon">commitment</a></li>
97
- </ul>
98
- </section>
99
- <section class="tsd-index-section ">
100
- <h3>Methods</h3>
101
- <ul class="tsd-index-list">
102
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#confirmtransaction" class="tsd-kind-icon">confirm<wbr>Transaction</a></li>
103
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getaccountinfo" class="tsd-kind-icon">get<wbr>Account<wbr>Info</a></li>
104
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getaccountinfoandcontext" class="tsd-kind-icon">get<wbr>Account<wbr>Info<wbr>And<wbr>Context</a></li>
105
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getbalance" class="tsd-kind-icon">get<wbr>Balance</a></li>
106
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getbalanceandcontext" class="tsd-kind-icon">get<wbr>Balance<wbr>And<wbr>Context</a></li>
107
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getblocktime" class="tsd-kind-icon">get<wbr>Block<wbr>Time</a></li>
108
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getclusternodes" class="tsd-kind-icon">get<wbr>Cluster<wbr>Nodes</a></li>
109
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getconfirmedblock" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Block</a></li>
110
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getconfirmedsignaturesforaddress" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address</a></li>
111
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getconfirmedsignaturesforaddress2" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address2</a></li>
112
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getconfirmedtransaction" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Transaction</a></li>
113
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getepochinfo" class="tsd-kind-icon">get<wbr>Epoch<wbr>Info</a></li>
114
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getepochschedule" class="tsd-kind-icon">get<wbr>Epoch<wbr>Schedule</a></li>
115
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getfeecalculatorforblockhash" class="tsd-kind-icon">get<wbr>Fee<wbr>Calculator<wbr>For<wbr>Blockhash</a></li>
116
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getfirstavailableblock" class="tsd-kind-icon">get<wbr>First<wbr>Available<wbr>Block</a></li>
117
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getinflationgovernor" class="tsd-kind-icon">get<wbr>Inflation<wbr>Governor</a></li>
118
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getlargestaccounts" class="tsd-kind-icon">get<wbr>Largest<wbr>Accounts</a></li>
119
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getleaderschedule" class="tsd-kind-icon">get<wbr>Leader<wbr>Schedule</a></li>
120
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getminimumbalanceforrentexemption" class="tsd-kind-icon">get<wbr>Minimum<wbr>Balance<wbr>For<wbr>Rent<wbr>Exemption</a></li>
121
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getminimumledgerslot" class="tsd-kind-icon">get<wbr>Minimum<wbr>Ledger<wbr>Slot</a></li>
122
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getnonce" class="tsd-kind-icon">get<wbr>Nonce</a></li>
123
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getnonceandcontext" class="tsd-kind-icon">get<wbr>Nonce<wbr>And<wbr>Context</a></li>
124
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getparsedaccountinfo" class="tsd-kind-icon">get<wbr>Parsed<wbr>Account<wbr>Info</a></li>
125
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getparsedconfirmedtransaction" class="tsd-kind-icon">get<wbr>Parsed<wbr>Confirmed<wbr>Transaction</a></li>
126
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getparsedprogramaccounts" class="tsd-kind-icon">get<wbr>Parsed<wbr>Program<wbr>Accounts</a></li>
127
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getparsedtokenaccountsbyowner" class="tsd-kind-icon">get<wbr>Parsed<wbr>Token<wbr>Accounts<wbr>ByOwner</a></li>
128
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getprogramaccounts" class="tsd-kind-icon">get<wbr>Program<wbr>Accounts</a></li>
129
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getrecentblockhash" class="tsd-kind-icon">get<wbr>Recent<wbr>Blockhash</a></li>
130
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getrecentblockhashandcontext" class="tsd-kind-icon">get<wbr>Recent<wbr>Blockhash<wbr>And<wbr>Context</a></li>
131
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getrecentperformancesamples" class="tsd-kind-icon">get<wbr>Recent<wbr>Performance<wbr>Samples</a></li>
132
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getsignaturestatus" class="tsd-kind-icon">get<wbr>Signature<wbr>Status</a></li>
133
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getsignaturestatuses" class="tsd-kind-icon">get<wbr>Signature<wbr>Statuses</a></li>
134
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getslot" class="tsd-kind-icon">get<wbr>Slot</a></li>
135
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getslotleader" class="tsd-kind-icon">get<wbr>Slot<wbr>Leader</a></li>
136
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getstakeactivation" class="tsd-kind-icon">get<wbr>Stake<wbr>Activation</a></li>
137
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getsupply" class="tsd-kind-icon">get<wbr>Supply</a></li>
138
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#gettokenaccountbalance" class="tsd-kind-icon">get<wbr>Token<wbr>Account<wbr>Balance</a></li>
139
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#gettokenaccountsbyowner" class="tsd-kind-icon">get<wbr>Token<wbr>Accounts<wbr>ByOwner</a></li>
140
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#gettokenlargestaccounts" class="tsd-kind-icon">get<wbr>Token<wbr>Largest<wbr>Accounts</a></li>
141
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#gettokensupply" class="tsd-kind-icon">get<wbr>Token<wbr>Supply</a></li>
142
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#gettotalsupply" class="tsd-kind-icon">get<wbr>Total<wbr>Supply</a></li>
143
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#gettransactioncount" class="tsd-kind-icon">get<wbr>Transaction<wbr>Count</a></li>
144
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getversion" class="tsd-kind-icon">get<wbr>Version</a></li>
145
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#getvoteaccounts" class="tsd-kind-icon">get<wbr>Vote<wbr>Accounts</a></li>
146
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#onaccountchange" class="tsd-kind-icon">on<wbr>Account<wbr>Change</a></li>
147
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#onprogramaccountchange" class="tsd-kind-icon">on<wbr>Program<wbr>Account<wbr>Change</a></li>
148
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#onrootchange" class="tsd-kind-icon">on<wbr>Root<wbr>Change</a></li>
149
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#onsignature" class="tsd-kind-icon">on<wbr>Signature</a></li>
150
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#onsignaturewithoptions" class="tsd-kind-icon">on<wbr>Signature<wbr>With<wbr>Options</a></li>
151
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#onslotchange" class="tsd-kind-icon">on<wbr>Slot<wbr>Change</a></li>
152
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#removeaccountchangelistener" class="tsd-kind-icon">remove<wbr>Account<wbr>Change<wbr>Listener</a></li>
153
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#removeprogramaccountchangelistener" class="tsd-kind-icon">remove<wbr>Program<wbr>Account<wbr>Change<wbr>Listener</a></li>
154
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#removerootchangelistener" class="tsd-kind-icon">remove<wbr>Root<wbr>Change<wbr>Listener</a></li>
155
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#removesignaturelistener" class="tsd-kind-icon">remove<wbr>Signature<wbr>Listener</a></li>
156
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#removeslotchangelistener" class="tsd-kind-icon">remove<wbr>Slot<wbr>Change<wbr>Listener</a></li>
157
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#requestairdrop" class="tsd-kind-icon">request<wbr>Airdrop</a></li>
158
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#sendencodedtransaction" class="tsd-kind-icon">send<wbr>Encoded<wbr>Transaction</a></li>
159
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#sendrawtransaction" class="tsd-kind-icon">send<wbr>Raw<wbr>Transaction</a></li>
160
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#sendtransaction" class="tsd-kind-icon">send<wbr>Transaction</a></li>
161
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="connection.html#simulatetransaction" class="tsd-kind-icon">simulate<wbr>Transaction</a></li>
162
- </ul>
163
- </section>
164
- </div>
165
- </section>
166
- </section>
167
- <section class="tsd-panel-group tsd-member-group ">
168
- <h2>Constructors</h2>
169
- <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
170
- <a name="constructor" class="tsd-anchor"></a>
171
- <h3>constructor</h3>
172
- <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
173
- <li class="tsd-signature tsd-kind-icon">new <wbr>Connection<span class="tsd-signature-symbol">(</span>endpoint<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="connection.html" class="tsd-signature-type" data-tsd-kind="Class">Connection</a></li>
174
- </ul>
175
- <ul class="tsd-descriptions">
176
- <li class="tsd-description">
177
- <aside class="tsd-sources">
178
- <ul>
179
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1636">connection.ts:1636</a></li>
180
- </ul>
181
- </aside>
182
- <div class="tsd-comment tsd-typography">
183
- <div class="lead">
184
- <p>Establish a JSON RPC connection</p>
185
- </div>
186
- </div>
187
- <h4 class="tsd-parameters-title">Parameters</h4>
188
- <ul class="tsd-parameters">
189
- <li>
190
- <h5>endpoint: <span class="tsd-signature-type">string</span></h5>
191
- <div class="tsd-comment tsd-typography">
192
- <p>URL to the fullnode JSON RPC endpoint</p>
193
- </div>
194
- </li>
195
- <li>
196
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
197
- <div class="tsd-comment tsd-typography">
198
- <p>optional default commitment level</p>
199
- </div>
200
- </li>
201
- </ul>
202
- <h4 class="tsd-returns-title">Returns <a href="connection.html" class="tsd-signature-type" data-tsd-kind="Class">Connection</a></h4>
203
- </li>
204
- </ul>
205
- </section>
206
- </section>
207
- <section class="tsd-panel-group tsd-member-group ">
208
- <h2>Accessors</h2>
209
- <section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
210
- <a name="commitment" class="tsd-anchor"></a>
211
- <h3>commitment</h3>
212
- <ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
213
- <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> commitment<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></li>
214
- </ul>
215
- <ul class="tsd-descriptions">
216
- <li class="tsd-description">
217
- <aside class="tsd-sources">
218
- <ul>
219
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1702">connection.ts:1702</a></li>
220
- </ul>
221
- </aside>
222
- <div class="tsd-comment tsd-typography">
223
- <div class="lead">
224
- <p>The default commitment used for requests</p>
225
- </div>
226
- </div>
227
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h4>
228
- </li>
229
- </ul>
230
- </section>
231
- </section>
232
- <section class="tsd-panel-group tsd-member-group ">
233
- <h2>Methods</h2>
234
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
235
- <a name="confirmtransaction" class="tsd-anchor"></a>
236
- <h3>confirm<wbr>Transaction</h3>
237
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
238
- <li class="tsd-signature tsd-kind-icon">confirm<wbr>Transaction<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#signatureresult" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResult</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
239
- </ul>
240
- <ul class="tsd-descriptions">
241
- <li class="tsd-description">
242
- <aside class="tsd-sources">
243
- <ul>
244
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2102">connection.ts:2102</a></li>
245
- </ul>
246
- </aside>
247
- <div class="tsd-comment tsd-typography">
248
- <div class="lead">
249
- <p>Confirm the transaction identified by the specified signature.</p>
250
- </div>
251
- </div>
252
- <h4 class="tsd-parameters-title">Parameters</h4>
253
- <ul class="tsd-parameters">
254
- <li>
255
- <h5>signature: <span class="tsd-signature-type">string</span></h5>
256
- </li>
257
- <li>
258
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
259
- </li>
260
- </ul>
261
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#signatureresult" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResult</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
262
- </li>
263
- </ul>
264
- </section>
265
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
266
- <a name="getaccountinfo" class="tsd-anchor"></a>
267
- <h3>get<wbr>Account<wbr>Info</h3>
268
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
269
- <li class="tsd-signature tsd-kind-icon">get<wbr>Account<wbr>Info<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
270
- </ul>
271
- <ul class="tsd-descriptions">
272
- <li class="tsd-description">
273
- <aside class="tsd-sources">
274
- <ul>
275
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2000">connection.ts:2000</a></li>
276
- </ul>
277
- </aside>
278
- <div class="tsd-comment tsd-typography">
279
- <div class="lead">
280
- <p>Fetch all the account info for the specified public key</p>
281
- </div>
282
- </div>
283
- <h4 class="tsd-parameters-title">Parameters</h4>
284
- <ul class="tsd-parameters">
285
- <li>
286
- <h5>publicKey: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
287
- </li>
288
- <li>
289
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
290
- </li>
291
- </ul>
292
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
293
- </li>
294
- </ul>
295
- </section>
296
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
297
- <a name="getaccountinfoandcontext" class="tsd-anchor"></a>
298
- <h3>get<wbr>Account<wbr>Info<wbr>And<wbr>Context</h3>
299
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
300
- <li class="tsd-signature tsd-kind-icon">get<wbr>Account<wbr>Info<wbr>And<wbr>Context<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
301
- </ul>
302
- <ul class="tsd-descriptions">
303
- <li class="tsd-description">
304
- <aside class="tsd-sources">
305
- <ul>
306
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1946">connection.ts:1946</a></li>
307
- </ul>
308
- </aside>
309
- <div class="tsd-comment tsd-typography">
310
- <div class="lead">
311
- <p>Fetch all the account info for the specified public key, return with context</p>
312
- </div>
313
- </div>
314
- <h4 class="tsd-parameters-title">Parameters</h4>
315
- <ul class="tsd-parameters">
316
- <li>
317
- <h5>publicKey: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
318
- </li>
319
- <li>
320
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
321
- </li>
322
- </ul>
323
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
324
- </li>
325
- </ul>
326
- </section>
327
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
328
- <a name="getbalance" class="tsd-anchor"></a>
329
- <h3>get<wbr>Balance</h3>
330
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
331
- <li class="tsd-signature tsd-kind-icon">get<wbr>Balance<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
332
- </ul>
333
- <ul class="tsd-descriptions">
334
- <li class="tsd-description">
335
- <aside class="tsd-sources">
336
- <ul>
337
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1730">connection.ts:1730</a></li>
338
- </ul>
339
- </aside>
340
- <div class="tsd-comment tsd-typography">
341
- <div class="lead">
342
- <p>Fetch the balance for the specified public key</p>
343
- </div>
344
- </div>
345
- <h4 class="tsd-parameters-title">Parameters</h4>
346
- <ul class="tsd-parameters">
347
- <li>
348
- <h5>publicKey: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
349
- </li>
350
- <li>
351
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
352
- </li>
353
- </ul>
354
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
355
- </li>
356
- </ul>
357
- </section>
358
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
359
- <a name="getbalanceandcontext" class="tsd-anchor"></a>
360
- <h3>get<wbr>Balance<wbr>And<wbr>Context</h3>
361
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
362
- <li class="tsd-signature tsd-kind-icon">get<wbr>Balance<wbr>And<wbr>Context<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
363
- </ul>
364
- <ul class="tsd-descriptions">
365
- <li class="tsd-description">
366
- <aside class="tsd-sources">
367
- <ul>
368
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1709">connection.ts:1709</a></li>
369
- </ul>
370
- </aside>
371
- <div class="tsd-comment tsd-typography">
372
- <div class="lead">
373
- <p>Fetch the balance for the specified public key, return with context</p>
374
- </div>
375
- </div>
376
- <h4 class="tsd-parameters-title">Parameters</h4>
377
- <ul class="tsd-parameters">
378
- <li>
379
- <h5>publicKey: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
380
- </li>
381
- <li>
382
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
383
- </li>
384
- </ul>
385
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
386
- </li>
387
- </ul>
388
- </section>
389
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
390
- <a name="getblocktime" class="tsd-anchor"></a>
391
- <h3>get<wbr>Block<wbr>Time</h3>
392
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
393
- <li class="tsd-signature tsd-kind-icon">get<wbr>Block<wbr>Time<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
394
- </ul>
395
- <ul class="tsd-descriptions">
396
- <li class="tsd-description">
397
- <aside class="tsd-sources">
398
- <ul>
399
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1746">connection.ts:1746</a></li>
400
- </ul>
401
- </aside>
402
- <div class="tsd-comment tsd-typography">
403
- <div class="lead">
404
- <p>Fetch the estimated production time of a block</p>
405
- </div>
406
- </div>
407
- <h4 class="tsd-parameters-title">Parameters</h4>
408
- <ul class="tsd-parameters">
409
- <li>
410
- <h5>slot: <span class="tsd-signature-type">number</span></h5>
411
- </li>
412
- </ul>
413
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
414
- </li>
415
- </ul>
416
- </section>
417
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
418
- <a name="getclusternodes" class="tsd-anchor"></a>
419
- <h3>get<wbr>Cluster<wbr>Nodes</h3>
420
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
421
- <li class="tsd-signature tsd-kind-icon">get<wbr>Cluster<wbr>Nodes<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#contactinfo" class="tsd-signature-type" data-tsd-kind="Type alias">ContactInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
422
- </ul>
423
- <ul class="tsd-descriptions">
424
- <li class="tsd-description">
425
- <aside class="tsd-sources">
426
- <ul>
427
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2178">connection.ts:2178</a></li>
428
- </ul>
429
- </aside>
430
- <div class="tsd-comment tsd-typography">
431
- <div class="lead">
432
- <p>Return the list of nodes that are currently participating in the cluster</p>
433
- </div>
434
- </div>
435
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#contactinfo" class="tsd-signature-type" data-tsd-kind="Type alias">ContactInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
436
- </li>
437
- </ul>
438
- </section>
439
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
440
- <a name="getconfirmedblock" class="tsd-anchor"></a>
441
- <h3>get<wbr>Confirmed<wbr>Block</h3>
442
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
443
- <li class="tsd-signature tsd-kind-icon">get<wbr>Confirmed<wbr>Block<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#confirmedblock" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedBlock</a><span class="tsd-signature-symbol">&gt;</span></li>
444
- </ul>
445
- <ul class="tsd-descriptions">
446
- <li class="tsd-description">
447
- <aside class="tsd-sources">
448
- <ul>
449
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2456">connection.ts:2456</a></li>
450
- </ul>
451
- </aside>
452
- <div class="tsd-comment tsd-typography">
453
- <div class="lead">
454
- <p>Fetch a list of Transactions and transaction statuses from the cluster
455
- for a confirmed block</p>
456
- </div>
457
- </div>
458
- <h4 class="tsd-parameters-title">Parameters</h4>
459
- <ul class="tsd-parameters">
460
- <li>
461
- <h5>slot: <span class="tsd-signature-type">number</span></h5>
462
- </li>
463
- </ul>
464
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#confirmedblock" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedBlock</a><span class="tsd-signature-symbol">&gt;</span></h4>
465
- </li>
466
- </ul>
467
- </section>
468
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
469
- <a name="getconfirmedsignaturesforaddress" class="tsd-anchor"></a>
470
- <h3>get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address</h3>
471
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
472
- <li class="tsd-signature tsd-kind-icon">get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address<span class="tsd-signature-symbol">(</span>address<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, startSlot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, endSlot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
473
- </ul>
474
- <ul class="tsd-descriptions">
475
- <li class="tsd-description">
476
- <aside class="tsd-sources">
477
- <ul>
478
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2514">connection.ts:2514</a></li>
479
- </ul>
480
- </aside>
481
- <div class="tsd-comment tsd-typography">
482
- <div class="lead">
483
- <p>Fetch a list of all the confirmed signatures for transactions involving an address
484
- within a specified slot range. Max range allowed is 10,000 slots.</p>
485
- </div>
486
- </div>
487
- <h4 class="tsd-parameters-title">Parameters</h4>
488
- <ul class="tsd-parameters">
489
- <li>
490
- <h5>address: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
491
- <div class="tsd-comment tsd-typography">
492
- <p>queried address</p>
493
- </div>
494
- </li>
495
- <li>
496
- <h5>startSlot: <span class="tsd-signature-type">number</span></h5>
497
- <div class="tsd-comment tsd-typography">
498
- <p>start slot, inclusive</p>
499
- </div>
500
- </li>
501
- <li>
502
- <h5>endSlot: <span class="tsd-signature-type">number</span></h5>
503
- <div class="tsd-comment tsd-typography">
504
- <p>end slot, inclusive</p>
505
- </div>
506
- </li>
507
- </ul>
508
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
509
- </li>
510
- </ul>
511
- </section>
512
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
513
- <a name="getconfirmedsignaturesforaddress2" class="tsd-anchor"></a>
514
- <h3>get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address2</h3>
515
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
516
- <li class="tsd-signature tsd-kind-icon">get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address2<span class="tsd-signature-symbol">(</span>address<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, options<span class="tsd-signature-symbol">?: </span><a href="../modules.html#confirmedsignaturesforaddress2options" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedSignaturesForAddress2Options</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#confirmedsignatureinfo" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedSignatureInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
517
- </ul>
518
- <ul class="tsd-descriptions">
519
- <li class="tsd-description">
520
- <aside class="tsd-sources">
521
- <ul>
522
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2540">connection.ts:2540</a></li>
523
- </ul>
524
- </aside>
525
- <div class="tsd-comment tsd-typography">
526
- <div class="lead">
527
- <p>Returns confirmed signatures for transactions involving an
528
- address backwards in time from the provided signature or most recent confirmed block</p>
529
- </div>
530
- </div>
531
- <h4 class="tsd-parameters-title">Parameters</h4>
532
- <ul class="tsd-parameters">
533
- <li>
534
- <h5>address: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
535
- <div class="tsd-comment tsd-typography">
536
- <p>queried address</p>
537
- </div>
538
- </li>
539
- <li>
540
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules.html#confirmedsignaturesforaddress2options" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedSignaturesForAddress2Options</a></h5>
541
- <div class="tsd-comment tsd-typography">
542
- </div>
543
- </li>
544
- </ul>
545
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#confirmedsignatureinfo" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedSignatureInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
546
- </li>
547
- </ul>
548
- </section>
549
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
550
- <a name="getconfirmedtransaction" class="tsd-anchor"></a>
551
- <h3>get<wbr>Confirmed<wbr>Transaction</h3>
552
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
553
- <li class="tsd-signature tsd-kind-icon">get<wbr>Confirmed<wbr>Transaction<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#confirmedtransaction" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedTransaction</a><span class="tsd-signature-symbol">&gt;</span></li>
554
- </ul>
555
- <ul class="tsd-descriptions">
556
- <li class="tsd-description">
557
- <aside class="tsd-sources">
558
- <ul>
559
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2472">connection.ts:2472</a></li>
560
- </ul>
561
- </aside>
562
- <div class="tsd-comment tsd-typography">
563
- <div class="lead">
564
- <p>Fetch a transaction details for a confirmed transaction</p>
565
- </div>
566
- </div>
567
- <h4 class="tsd-parameters-title">Parameters</h4>
568
- <ul class="tsd-parameters">
569
- <li>
570
- <h5>signature: <span class="tsd-signature-type">string</span></h5>
571
- </li>
572
- </ul>
573
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#confirmedtransaction" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedTransaction</a><span class="tsd-signature-symbol">&gt;</span></h4>
574
- </li>
575
- </ul>
576
- </section>
577
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
578
- <a name="getepochinfo" class="tsd-anchor"></a>
579
- <h3>get<wbr>Epoch<wbr>Info</h3>
580
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
581
- <li class="tsd-signature tsd-kind-icon">get<wbr>Epoch<wbr>Info<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#epochinfo" class="tsd-signature-type" data-tsd-kind="Type alias">EpochInfo</a><span class="tsd-signature-symbol">&gt;</span></li>
582
- </ul>
583
- <ul class="tsd-descriptions">
584
- <li class="tsd-description">
585
- <aside class="tsd-sources">
586
- <ul>
587
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2305">connection.ts:2305</a></li>
588
- </ul>
589
- </aside>
590
- <div class="tsd-comment tsd-typography">
591
- <div class="lead">
592
- <p>Fetch the Epoch Info parameters</p>
593
- </div>
594
- </div>
595
- <h4 class="tsd-parameters-title">Parameters</h4>
596
- <ul class="tsd-parameters">
597
- <li>
598
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
599
- </li>
600
- </ul>
601
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#epochinfo" class="tsd-signature-type" data-tsd-kind="Type alias">EpochInfo</a><span class="tsd-signature-symbol">&gt;</span></h4>
602
- </li>
603
- </ul>
604
- </section>
605
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
606
- <a name="getepochschedule" class="tsd-anchor"></a>
607
- <h3>get<wbr>Epoch<wbr>Schedule</h3>
608
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
609
- <li class="tsd-signature tsd-kind-icon">get<wbr>Epoch<wbr>Schedule<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#epochschedule" class="tsd-signature-type" data-tsd-kind="Type alias">EpochSchedule</a><span class="tsd-signature-symbol">&gt;</span></li>
610
- </ul>
611
- <ul class="tsd-descriptions">
612
- <li class="tsd-description">
613
- <aside class="tsd-sources">
614
- <ul>
615
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2318">connection.ts:2318</a></li>
616
- </ul>
617
- </aside>
618
- <div class="tsd-comment tsd-typography">
619
- <div class="lead">
620
- <p>Fetch the Epoch Schedule parameters</p>
621
- </div>
622
- </div>
623
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#epochschedule" class="tsd-signature-type" data-tsd-kind="Type alias">EpochSchedule</a><span class="tsd-signature-symbol">&gt;</span></h4>
624
- </li>
625
- </ul>
626
- </section>
627
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
628
- <a name="getfeecalculatorforblockhash" class="tsd-anchor"></a>
629
- <h3>get<wbr>Fee<wbr>Calculator<wbr>For<wbr>Blockhash</h3>
630
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
631
- <li class="tsd-signature tsd-kind-icon">get<wbr>Fee<wbr>Calculator<wbr>For<wbr>Blockhash<span class="tsd-signature-symbol">(</span>blockhash<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/feecalculator.html" class="tsd-signature-type" data-tsd-kind="Interface">FeeCalculator</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
632
- </ul>
633
- <ul class="tsd-descriptions">
634
- <li class="tsd-description">
635
- <aside class="tsd-sources">
636
- <ul>
637
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2404">connection.ts:2404</a></li>
638
- </ul>
639
- </aside>
640
- <div class="tsd-comment tsd-typography">
641
- <div class="lead">
642
- <p>Fetch the fee calculator for a recent blockhash from the cluster, return with context</p>
643
- </div>
644
- </div>
645
- <h4 class="tsd-parameters-title">Parameters</h4>
646
- <ul class="tsd-parameters">
647
- <li>
648
- <h5>blockhash: <span class="tsd-signature-type">string</span></h5>
649
- </li>
650
- <li>
651
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
652
- </li>
653
- </ul>
654
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/feecalculator.html" class="tsd-signature-type" data-tsd-kind="Interface">FeeCalculator</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
655
- </li>
656
- </ul>
657
- </section>
658
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
659
- <a name="getfirstavailableblock" class="tsd-anchor"></a>
660
- <h3>get<wbr>First<wbr>Available<wbr>Block</h3>
661
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
662
- <li class="tsd-signature tsd-kind-icon">get<wbr>First<wbr>Available<wbr>Block<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
663
- </ul>
664
- <ul class="tsd-descriptions">
665
- <li class="tsd-description">
666
- <aside class="tsd-sources">
667
- <ul>
668
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1775">connection.ts:1775</a></li>
669
- </ul>
670
- </aside>
671
- <div class="tsd-comment tsd-typography">
672
- <div class="lead">
673
- <p>Fetch the slot of the lowest confirmed block that has not been purged from the ledger</p>
674
- </div>
675
- </div>
676
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
677
- </li>
678
- </ul>
679
- </section>
680
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
681
- <a name="getinflationgovernor" class="tsd-anchor"></a>
682
- <h3>get<wbr>Inflation<wbr>Governor</h3>
683
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
684
- <li class="tsd-signature tsd-kind-icon">get<wbr>Inflation<wbr>Governor<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#inflationgovernor" class="tsd-signature-type" data-tsd-kind="Type alias">InflationGovernor</a><span class="tsd-signature-symbol">&gt;</span></li>
685
- </ul>
686
- <ul class="tsd-descriptions">
687
- <li class="tsd-description">
688
- <aside class="tsd-sources">
689
- <ul>
690
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2290">connection.ts:2290</a></li>
691
- </ul>
692
- </aside>
693
- <div class="tsd-comment tsd-typography">
694
- <div class="lead">
695
- <p>Fetch the cluster InflationGovernor parameters</p>
696
- </div>
697
- </div>
698
- <h4 class="tsd-parameters-title">Parameters</h4>
699
- <ul class="tsd-parameters">
700
- <li>
701
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
702
- </li>
703
- </ul>
704
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#inflationgovernor" class="tsd-signature-type" data-tsd-kind="Type alias">InflationGovernor</a><span class="tsd-signature-symbol">&gt;</span></h4>
705
- </li>
706
- </ul>
707
- </section>
708
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
709
- <a name="getlargestaccounts" class="tsd-anchor"></a>
710
- <h3>get<wbr>Largest<wbr>Accounts</h3>
711
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
712
- <li class="tsd-signature tsd-kind-icon">get<wbr>Largest<wbr>Accounts<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">?: </span><a href="../modules.html#getlargestaccountsconfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetLargestAccountsConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#accountbalancepair" class="tsd-signature-type" data-tsd-kind="Type alias">AccountBalancePair</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
713
- </ul>
714
- <ul class="tsd-descriptions">
715
- <li class="tsd-description">
716
- <aside class="tsd-sources">
717
- <ul>
718
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1908">connection.ts:1908</a></li>
719
- </ul>
720
- </aside>
721
- <div class="tsd-comment tsd-typography">
722
- <div class="lead">
723
- <p>Fetch the 20 largest accounts with their current balances</p>
724
- </div>
725
- </div>
726
- <h4 class="tsd-parameters-title">Parameters</h4>
727
- <ul class="tsd-parameters">
728
- <li>
729
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules.html#getlargestaccountsconfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetLargestAccountsConfig</a></h5>
730
- </li>
731
- </ul>
732
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#accountbalancepair" class="tsd-signature-type" data-tsd-kind="Type alias">AccountBalancePair</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
733
- </li>
734
- </ul>
735
- </section>
736
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
737
- <a name="getleaderschedule" class="tsd-anchor"></a>
738
- <h3>get<wbr>Leader<wbr>Schedule</h3>
739
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
740
- <li class="tsd-signature tsd-kind-icon">get<wbr>Leader<wbr>Schedule<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#leaderschedule" class="tsd-signature-type" data-tsd-kind="Type alias">LeaderSchedule</a><span class="tsd-signature-symbol">&gt;</span></li>
741
- </ul>
742
- <ul class="tsd-descriptions">
743
- <li class="tsd-description">
744
- <aside class="tsd-sources">
745
- <ul>
746
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2331">connection.ts:2331</a></li>
747
- </ul>
748
- </aside>
749
- <div class="tsd-comment tsd-typography">
750
- <div class="lead">
751
- <p>Fetch the leader schedule for the current epoch</p>
752
- </div>
753
- </div>
754
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#leaderschedule" class="tsd-signature-type" data-tsd-kind="Type alias">LeaderSchedule</a><span class="tsd-signature-symbol">&gt;</span></h4>
755
- </li>
756
- </ul>
757
- </section>
758
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
759
- <a name="getminimumbalanceforrentexemption" class="tsd-anchor"></a>
760
- <h3>get<wbr>Minimum<wbr>Balance<wbr>For<wbr>Rent<wbr>Exemption</h3>
761
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
762
- <li class="tsd-signature tsd-kind-icon">get<wbr>Minimum<wbr>Balance<wbr>For<wbr>Rent<wbr>Exemption<span class="tsd-signature-symbol">(</span>dataLength<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
763
- </ul>
764
- <ul class="tsd-descriptions">
765
- <li class="tsd-description">
766
- <aside class="tsd-sources">
767
- <ul>
768
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2344">connection.ts:2344</a></li>
769
- </ul>
770
- </aside>
771
- <div class="tsd-comment tsd-typography">
772
- <div class="lead">
773
- <p>Fetch the minimum balance needed to exempt an account of <code>dataLength</code>
774
- size from rent</p>
775
- </div>
776
- </div>
777
- <h4 class="tsd-parameters-title">Parameters</h4>
778
- <ul class="tsd-parameters">
779
- <li>
780
- <h5>dataLength: <span class="tsd-signature-type">number</span></h5>
781
- </li>
782
- <li>
783
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
784
- </li>
785
- </ul>
786
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
787
- </li>
788
- </ul>
789
- </section>
790
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
791
- <a name="getminimumledgerslot" class="tsd-anchor"></a>
792
- <h3>get<wbr>Minimum<wbr>Ledger<wbr>Slot</h3>
793
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
794
- <li class="tsd-signature tsd-kind-icon">get<wbr>Minimum<wbr>Ledger<wbr>Slot<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
795
- </ul>
796
- <ul class="tsd-descriptions">
797
- <li class="tsd-description">
798
- <aside class="tsd-sources">
799
- <ul>
800
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1761">connection.ts:1761</a></li>
801
- </ul>
802
- </aside>
803
- <div class="tsd-comment tsd-typography">
804
- <div class="lead">
805
- <p>Fetch the lowest slot that the node has information about in its ledger.
806
- This value may increase over time if the node is configured to purge older ledger data</p>
807
- </div>
808
- </div>
809
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
810
- </li>
811
- </ul>
812
- </section>
813
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
814
- <a name="getnonce" class="tsd-anchor"></a>
815
- <h3>get<wbr>Nonce</h3>
816
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
817
- <li class="tsd-signature tsd-kind-icon">get<wbr>Nonce<span class="tsd-signature-symbol">(</span>nonceAccount<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="nonceaccount.html" class="tsd-signature-type" data-tsd-kind="Class">NonceAccount</a><span class="tsd-signature-symbol">&gt;</span></li>
818
- </ul>
819
- <ul class="tsd-descriptions">
820
- <li class="tsd-description">
821
- <aside class="tsd-sources">
822
- <ul>
823
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2583">connection.ts:2583</a></li>
824
- </ul>
825
- </aside>
826
- <div class="tsd-comment tsd-typography">
827
- <div class="lead">
828
- <p>Fetch the contents of a Nonce account from the cluster</p>
829
- </div>
830
- </div>
831
- <h4 class="tsd-parameters-title">Parameters</h4>
832
- <ul class="tsd-parameters">
833
- <li>
834
- <h5>nonceAccount: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
835
- </li>
836
- <li>
837
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
838
- </li>
839
- </ul>
840
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="nonceaccount.html" class="tsd-signature-type" data-tsd-kind="Class">NonceAccount</a><span class="tsd-signature-symbol">&gt;</span></h4>
841
- </li>
842
- </ul>
843
- </section>
844
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
845
- <a name="getnonceandcontext" class="tsd-anchor"></a>
846
- <h3>get<wbr>Nonce<wbr>And<wbr>Context</h3>
847
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
848
- <li class="tsd-signature tsd-kind-icon">get<wbr>Nonce<wbr>And<wbr>Context<span class="tsd-signature-symbol">(</span>nonceAccount<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="nonceaccount.html" class="tsd-signature-type" data-tsd-kind="Class">NonceAccount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
849
- </ul>
850
- <ul class="tsd-descriptions">
851
- <li class="tsd-description">
852
- <aside class="tsd-sources">
853
- <ul>
854
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2560">connection.ts:2560</a></li>
855
- </ul>
856
- </aside>
857
- <div class="tsd-comment tsd-typography">
858
- <div class="lead">
859
- <p>Fetch the contents of a Nonce account from the cluster, return with context</p>
860
- </div>
861
- </div>
862
- <h4 class="tsd-parameters-title">Parameters</h4>
863
- <ul class="tsd-parameters">
864
- <li>
865
- <h5>nonceAccount: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
866
- </li>
867
- <li>
868
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
869
- </li>
870
- </ul>
871
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="nonceaccount.html" class="tsd-signature-type" data-tsd-kind="Class">NonceAccount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
872
- </li>
873
- </ul>
874
- </section>
875
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
876
- <a name="getparsedaccountinfo" class="tsd-anchor"></a>
877
- <h3>get<wbr>Parsed<wbr>Account<wbr>Info</h3>
878
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
879
- <li class="tsd-signature tsd-kind-icon">get<wbr>Parsed<wbr>Account<wbr>Info<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#parsedaccountdata" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
880
- </ul>
881
- <ul class="tsd-descriptions">
882
- <li class="tsd-description">
883
- <aside class="tsd-sources">
884
- <ul>
885
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1970">connection.ts:1970</a></li>
886
- </ul>
887
- </aside>
888
- <div class="tsd-comment tsd-typography">
889
- <div class="lead">
890
- <p>Fetch parsed account info for the specified public key</p>
891
- </div>
892
- </div>
893
- <h4 class="tsd-parameters-title">Parameters</h4>
894
- <ul class="tsd-parameters">
895
- <li>
896
- <h5>publicKey: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
897
- </li>
898
- <li>
899
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
900
- </li>
901
- </ul>
902
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#parsedaccountdata" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
903
- </li>
904
- </ul>
905
- </section>
906
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
907
- <a name="getparsedconfirmedtransaction" class="tsd-anchor"></a>
908
- <h3>get<wbr>Parsed<wbr>Confirmed<wbr>Transaction</h3>
909
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
910
- <li class="tsd-signature tsd-kind-icon">get<wbr>Parsed<wbr>Confirmed<wbr>Transaction<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#parsedconfirmedtransaction" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedConfirmedTransaction</a><span class="tsd-signature-symbol">&gt;</span></li>
911
- </ul>
912
- <ul class="tsd-descriptions">
913
- <li class="tsd-description">
914
- <aside class="tsd-sources">
915
- <ul>
916
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2490">connection.ts:2490</a></li>
917
- </ul>
918
- </aside>
919
- <div class="tsd-comment tsd-typography">
920
- <div class="lead">
921
- <p>Fetch parsed transaction details for a confirmed transaction</p>
922
- </div>
923
- </div>
924
- <h4 class="tsd-parameters-title">Parameters</h4>
925
- <ul class="tsd-parameters">
926
- <li>
927
- <h5>signature: <span class="tsd-signature-type">string</span></h5>
928
- </li>
929
- </ul>
930
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#parsedconfirmedtransaction" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedConfirmedTransaction</a><span class="tsd-signature-symbol">&gt;</span></h4>
931
- </li>
932
- </ul>
933
- </section>
934
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
935
- <a name="getparsedprogramaccounts" class="tsd-anchor"></a>
936
- <h3>get<wbr>Parsed<wbr>Program<wbr>Accounts</h3>
937
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
938
- <li class="tsd-signature tsd-kind-icon">get<wbr>Parsed<wbr>Program<wbr>Accounts<span class="tsd-signature-symbol">(</span>programId<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#parsedaccountdata" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
939
- </ul>
940
- <ul class="tsd-descriptions">
941
- <li class="tsd-description">
942
- <aside class="tsd-sources">
943
- <ul>
944
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2069">connection.ts:2069</a></li>
945
- </ul>
946
- </aside>
947
- <div class="tsd-comment tsd-typography">
948
- <div class="lead">
949
- <p>Fetch and parse all the accounts owned by the specified program id</p>
950
- </div>
951
- </div>
952
- <h4 class="tsd-parameters-title">Parameters</h4>
953
- <ul class="tsd-parameters">
954
- <li>
955
- <h5>programId: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
956
- </li>
957
- <li>
958
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
959
- </li>
960
- </ul>
961
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#parsedaccountdata" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
962
- <blockquote>
963
- <blockquote>
964
- <p>}</p>
965
- </blockquote>
966
- </blockquote>
967
- </li>
968
- </ul>
969
- </section>
970
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
971
- <a name="getparsedtokenaccountsbyowner" class="tsd-anchor"></a>
972
- <h3>get<wbr>Parsed<wbr>Token<wbr>Accounts<wbr>ByOwner</h3>
973
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
974
- <li class="tsd-signature tsd-kind-icon">get<wbr>Parsed<wbr>Token<wbr>Accounts<wbr>ByOwner<span class="tsd-signature-symbol">(</span>ownerAddress<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, filter<span class="tsd-signature-symbol">: </span><a href="../modules.html#tokenaccountsfilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#parsedaccountdata" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
975
- </ul>
976
- <ul class="tsd-descriptions">
977
- <li class="tsd-description">
978
- <aside class="tsd-sources">
979
- <ul>
980
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1875">connection.ts:1875</a></li>
981
- </ul>
982
- </aside>
983
- <div class="tsd-comment tsd-typography">
984
- <div class="lead">
985
- <p>Fetch parsed token accounts owned by the specified account</p>
986
- </div>
987
- </div>
988
- <h4 class="tsd-parameters-title">Parameters</h4>
989
- <ul class="tsd-parameters">
990
- <li>
991
- <h5>ownerAddress: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
992
- </li>
993
- <li>
994
- <h5>filter: <a href="../modules.html#tokenaccountsfilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a></h5>
995
- </li>
996
- <li>
997
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
998
- </li>
999
- </ul>
1000
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#parsedaccountdata" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1001
- <blockquote>
1002
- <blockquote>
1003
- <blockquote>
1004
- <p>}</p>
1005
- </blockquote>
1006
- </blockquote>
1007
- </blockquote>
1008
- </li>
1009
- </ul>
1010
- </section>
1011
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1012
- <a name="getprogramaccounts" class="tsd-anchor"></a>
1013
- <h3>get<wbr>Program<wbr>Accounts</h3>
1014
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1015
- <li class="tsd-signature tsd-kind-icon">get<wbr>Program<wbr>Accounts<span class="tsd-signature-symbol">(</span>programId<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
1016
- </ul>
1017
- <ul class="tsd-descriptions">
1018
- <li class="tsd-description">
1019
- <aside class="tsd-sources">
1020
- <ul>
1021
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2046">connection.ts:2046</a></li>
1022
- </ul>
1023
- </aside>
1024
- <div class="tsd-comment tsd-typography">
1025
- <div class="lead">
1026
- <p>Fetch all the accounts owned by the specified program id</p>
1027
- </div>
1028
- </div>
1029
- <h4 class="tsd-parameters-title">Parameters</h4>
1030
- <ul class="tsd-parameters">
1031
- <li>
1032
- <h5>programId: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1033
- </li>
1034
- <li>
1035
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1036
- </li>
1037
- </ul>
1038
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
1039
- <blockquote>
1040
- <blockquote>
1041
- <p>}</p>
1042
- </blockquote>
1043
- </blockquote>
1044
- </li>
1045
- </ul>
1046
- </section>
1047
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1048
- <a name="getrecentblockhash" class="tsd-anchor"></a>
1049
- <h3>get<wbr>Recent<wbr>Blockhash</h3>
1050
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1051
- <li class="tsd-signature tsd-kind-icon">get<wbr>Recent<wbr>Blockhash<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>blockhash<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>feeCalculator<span class="tsd-signature-symbol">: </span><a href="../interfaces/feecalculator.html" class="tsd-signature-type" data-tsd-kind="Interface">FeeCalculator</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span></li>
1052
- </ul>
1053
- <ul class="tsd-descriptions">
1054
- <li class="tsd-description">
1055
- <aside class="tsd-sources">
1056
- <ul>
1057
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2429">connection.ts:2429</a></li>
1058
- </ul>
1059
- </aside>
1060
- <div class="tsd-comment tsd-typography">
1061
- <div class="lead">
1062
- <p>Fetch a recent blockhash from the cluster</p>
1063
- </div>
1064
- </div>
1065
- <h4 class="tsd-parameters-title">Parameters</h4>
1066
- <ul class="tsd-parameters">
1067
- <li>
1068
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1069
- </li>
1070
- </ul>
1071
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>blockhash<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>feeCalculator<span class="tsd-signature-symbol">: </span><a href="../interfaces/feecalculator.html" class="tsd-signature-type" data-tsd-kind="Interface">FeeCalculator</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span></h4>
1072
- <blockquote>
1073
- <p>}</p>
1074
- </blockquote>
1075
- </li>
1076
- </ul>
1077
- </section>
1078
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1079
- <a name="getrecentblockhashandcontext" class="tsd-anchor"></a>
1080
- <h3>get<wbr>Recent<wbr>Blockhash<wbr>And<wbr>Context</h3>
1081
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1082
- <li class="tsd-signature tsd-kind-icon">get<wbr>Recent<wbr>Blockhash<wbr>And<wbr>Context<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>blockhash<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>feeCalculator<span class="tsd-signature-symbol">: </span><a href="../interfaces/feecalculator.html" class="tsd-signature-type" data-tsd-kind="Interface">FeeCalculator</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1083
- </ul>
1084
- <ul class="tsd-descriptions">
1085
- <li class="tsd-description">
1086
- <aside class="tsd-sources">
1087
- <ul>
1088
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2365">connection.ts:2365</a></li>
1089
- </ul>
1090
- </aside>
1091
- <div class="tsd-comment tsd-typography">
1092
- <div class="lead">
1093
- <p>Fetch a recent blockhash from the cluster, return with context</p>
1094
- </div>
1095
- </div>
1096
- <h4 class="tsd-parameters-title">Parameters</h4>
1097
- <ul class="tsd-parameters">
1098
- <li>
1099
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1100
- </li>
1101
- </ul>
1102
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>blockhash<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>feeCalculator<span class="tsd-signature-symbol">: </span><a href="../interfaces/feecalculator.html" class="tsd-signature-type" data-tsd-kind="Interface">FeeCalculator</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1103
- <blockquote>
1104
- <blockquote>
1105
- <p>}</p>
1106
- </blockquote>
1107
- </blockquote>
1108
- </li>
1109
- </ul>
1110
- </section>
1111
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1112
- <a name="getrecentperformancesamples" class="tsd-anchor"></a>
1113
- <h3>get<wbr>Recent<wbr>Performance<wbr>Samples</h3>
1114
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1115
- <li class="tsd-signature tsd-kind-icon">get<wbr>Recent<wbr>Performance<wbr>Samples<span class="tsd-signature-symbol">(</span>limit<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#perfsample" class="tsd-signature-type" data-tsd-kind="Type alias">PerfSample</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
1116
- </ul>
1117
- <ul class="tsd-descriptions">
1118
- <li class="tsd-description">
1119
- <aside class="tsd-sources">
1120
- <ul>
1121
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2383">connection.ts:2383</a></li>
1122
- </ul>
1123
- </aside>
1124
- <div class="tsd-comment tsd-typography">
1125
- <div class="lead">
1126
- <p>Fetch recent performance samples</p>
1127
- </div>
1128
- </div>
1129
- <h4 class="tsd-parameters-title">Parameters</h4>
1130
- <ul class="tsd-parameters">
1131
- <li>
1132
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> limit: <span class="tsd-signature-type">number</span></h5>
1133
- </li>
1134
- </ul>
1135
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#perfsample" class="tsd-signature-type" data-tsd-kind="Type alias">PerfSample</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
1136
- </li>
1137
- </ul>
1138
- </section>
1139
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1140
- <a name="getsignaturestatus" class="tsd-anchor"></a>
1141
- <h3>get<wbr>Signature<wbr>Status</h3>
1142
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1143
- <li class="tsd-signature tsd-kind-icon">get<wbr>Signature<wbr>Status<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, config<span class="tsd-signature-symbol">?: </span><a href="../modules.html#signaturestatusconfig" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatusConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#signaturestatus" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatus</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1144
- </ul>
1145
- <ul class="tsd-descriptions">
1146
- <li class="tsd-description">
1147
- <aside class="tsd-sources">
1148
- <ul>
1149
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2229">connection.ts:2229</a></li>
1150
- </ul>
1151
- </aside>
1152
- <div class="tsd-comment tsd-typography">
1153
- <div class="lead">
1154
- <p>Fetch the current status of a signature</p>
1155
- </div>
1156
- </div>
1157
- <h4 class="tsd-parameters-title">Parameters</h4>
1158
- <ul class="tsd-parameters">
1159
- <li>
1160
- <h5>signature: <span class="tsd-signature-type">string</span></h5>
1161
- </li>
1162
- <li>
1163
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules.html#signaturestatusconfig" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatusConfig</a></h5>
1164
- </li>
1165
- </ul>
1166
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#signaturestatus" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatus</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1167
- </li>
1168
- </ul>
1169
- </section>
1170
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1171
- <a name="getsignaturestatuses" class="tsd-anchor"></a>
1172
- <h3>get<wbr>Signature<wbr>Statuses</h3>
1173
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1174
- <li class="tsd-signature tsd-kind-icon">get<wbr>Signature<wbr>Statuses<span class="tsd-signature-symbol">(</span>signatures<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, config<span class="tsd-signature-symbol">?: </span><a href="../modules.html#signaturestatusconfig" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatusConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#signaturestatus" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatus</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1175
- </ul>
1176
- <ul class="tsd-descriptions">
1177
- <li class="tsd-description">
1178
- <aside class="tsd-sources">
1179
- <ul>
1180
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2245">connection.ts:2245</a></li>
1181
- </ul>
1182
- </aside>
1183
- <div class="tsd-comment tsd-typography">
1184
- <div class="lead">
1185
- <p>Fetch the current statuses of a batch of signatures</p>
1186
- </div>
1187
- </div>
1188
- <h4 class="tsd-parameters-title">Parameters</h4>
1189
- <ul class="tsd-parameters">
1190
- <li>
1191
- <h5>signatures: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
1192
- </li>
1193
- <li>
1194
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules.html#signaturestatusconfig" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatusConfig</a></h5>
1195
- </li>
1196
- </ul>
1197
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules.html#signaturestatus" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatus</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1198
- </li>
1199
- </ul>
1200
- </section>
1201
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1202
- <a name="getslot" class="tsd-anchor"></a>
1203
- <h3>get<wbr>Slot</h3>
1204
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1205
- <li class="tsd-signature tsd-kind-icon">get<wbr>Slot<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
1206
- </ul>
1207
- <ul class="tsd-descriptions">
1208
- <li class="tsd-description">
1209
- <aside class="tsd-sources">
1210
- <ul>
1211
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2203">connection.ts:2203</a></li>
1212
- </ul>
1213
- </aside>
1214
- <div class="tsd-comment tsd-typography">
1215
- <div class="lead">
1216
- <p>Fetch the current slot that the node is processing</p>
1217
- </div>
1218
- </div>
1219
- <h4 class="tsd-parameters-title">Parameters</h4>
1220
- <ul class="tsd-parameters">
1221
- <li>
1222
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1223
- </li>
1224
- </ul>
1225
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
1226
- </li>
1227
- </ul>
1228
- </section>
1229
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1230
- <a name="getslotleader" class="tsd-anchor"></a>
1231
- <h3>get<wbr>Slot<wbr>Leader</h3>
1232
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1233
- <li class="tsd-signature tsd-kind-icon">get<wbr>Slot<wbr>Leader<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
1234
- </ul>
1235
- <ul class="tsd-descriptions">
1236
- <li class="tsd-description">
1237
- <aside class="tsd-sources">
1238
- <ul>
1239
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2216">connection.ts:2216</a></li>
1240
- </ul>
1241
- </aside>
1242
- <div class="tsd-comment tsd-typography">
1243
- <div class="lead">
1244
- <p>Fetch the current slot leader of the cluster</p>
1245
- </div>
1246
- </div>
1247
- <h4 class="tsd-parameters-title">Parameters</h4>
1248
- <ul class="tsd-parameters">
1249
- <li>
1250
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1251
- </li>
1252
- </ul>
1253
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
1254
- </li>
1255
- </ul>
1256
- </section>
1257
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1258
- <a name="getstakeactivation" class="tsd-anchor"></a>
1259
- <h3>get<wbr>Stake<wbr>Activation</h3>
1260
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1261
- <li class="tsd-signature tsd-kind-icon">get<wbr>Stake<wbr>Activation<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a>, epoch<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#stakeactivationdata" class="tsd-signature-type" data-tsd-kind="Type alias">StakeActivationData</a><span class="tsd-signature-symbol">&gt;</span></li>
1262
- </ul>
1263
- <ul class="tsd-descriptions">
1264
- <li class="tsd-description">
1265
- <aside class="tsd-sources">
1266
- <ul>
1267
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2017">connection.ts:2017</a></li>
1268
- </ul>
1269
- </aside>
1270
- <div class="tsd-comment tsd-typography">
1271
- <div class="lead">
1272
- <p>Returns epoch activation information for a stake account that has been delegated</p>
1273
- </div>
1274
- </div>
1275
- <h4 class="tsd-parameters-title">Parameters</h4>
1276
- <ul class="tsd-parameters">
1277
- <li>
1278
- <h5>publicKey: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1279
- </li>
1280
- <li>
1281
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1282
- </li>
1283
- <li>
1284
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> epoch: <span class="tsd-signature-type">number</span></h5>
1285
- </li>
1286
- </ul>
1287
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#stakeactivationdata" class="tsd-signature-type" data-tsd-kind="Type alias">StakeActivationData</a><span class="tsd-signature-symbol">&gt;</span></h4>
1288
- </li>
1289
- </ul>
1290
- </section>
1291
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1292
- <a name="getsupply" class="tsd-anchor"></a>
1293
- <h3>get<wbr>Supply</h3>
1294
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1295
- <li class="tsd-signature tsd-kind-icon">get<wbr>Supply<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#supply" class="tsd-signature-type" data-tsd-kind="Type alias">Supply</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1296
- </ul>
1297
- <ul class="tsd-descriptions">
1298
- <li class="tsd-description">
1299
- <aside class="tsd-sources">
1300
- <ul>
1301
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1789">connection.ts:1789</a></li>
1302
- </ul>
1303
- </aside>
1304
- <div class="tsd-comment tsd-typography">
1305
- <div class="lead">
1306
- <p>Fetch information about the current supply</p>
1307
- </div>
1308
- </div>
1309
- <h4 class="tsd-parameters-title">Parameters</h4>
1310
- <ul class="tsd-parameters">
1311
- <li>
1312
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1313
- </li>
1314
- </ul>
1315
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#supply" class="tsd-signature-type" data-tsd-kind="Type alias">Supply</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1316
- </li>
1317
- </ul>
1318
- </section>
1319
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1320
- <a name="gettokenaccountbalance" class="tsd-anchor"></a>
1321
- <h3>get<wbr>Token<wbr>Account<wbr>Balance</h3>
1322
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1323
- <li class="tsd-signature tsd-kind-icon">get<wbr>Token<wbr>Account<wbr>Balance<span class="tsd-signature-symbol">(</span>tokenAddress<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#tokenamount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1324
- </ul>
1325
- <ul class="tsd-descriptions">
1326
- <li class="tsd-description">
1327
- <aside class="tsd-sources">
1328
- <ul>
1329
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1820">connection.ts:1820</a></li>
1330
- </ul>
1331
- </aside>
1332
- <div class="tsd-comment tsd-typography">
1333
- <div class="lead">
1334
- <p>Fetch the current balance of a token account</p>
1335
- </div>
1336
- </div>
1337
- <h4 class="tsd-parameters-title">Parameters</h4>
1338
- <ul class="tsd-parameters">
1339
- <li>
1340
- <h5>tokenAddress: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1341
- </li>
1342
- <li>
1343
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1344
- </li>
1345
- </ul>
1346
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#tokenamount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1347
- </li>
1348
- </ul>
1349
- </section>
1350
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1351
- <a name="gettokenaccountsbyowner" class="tsd-anchor"></a>
1352
- <h3>get<wbr>Token<wbr>Accounts<wbr>ByOwner</h3>
1353
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1354
- <li class="tsd-signature tsd-kind-icon">get<wbr>Token<wbr>Accounts<wbr>ByOwner<span class="tsd-signature-symbol">(</span>ownerAddress<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, filter<span class="tsd-signature-symbol">: </span><a href="../modules.html#tokenaccountsfilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1355
- </ul>
1356
- <ul class="tsd-descriptions">
1357
- <li class="tsd-description">
1358
- <aside class="tsd-sources">
1359
- <ul>
1360
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1840">connection.ts:1840</a></li>
1361
- </ul>
1362
- </aside>
1363
- <div class="tsd-comment tsd-typography">
1364
- <div class="lead">
1365
- <p>Fetch all the token accounts owned by the specified account</p>
1366
- </div>
1367
- </div>
1368
- <h4 class="tsd-parameters-title">Parameters</h4>
1369
- <ul class="tsd-parameters">
1370
- <li>
1371
- <h5>ownerAddress: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1372
- </li>
1373
- <li>
1374
- <h5>filter: <a href="../modules.html#tokenaccountsfilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a></h5>
1375
- </li>
1376
- <li>
1377
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1378
- </li>
1379
- </ul>
1380
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{ </span>account<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountinfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span>pubkey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1381
- <blockquote>
1382
- <blockquote>
1383
- <blockquote>
1384
- <p>}</p>
1385
- </blockquote>
1386
- </blockquote>
1387
- </blockquote>
1388
- </li>
1389
- </ul>
1390
- </section>
1391
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1392
- <a name="gettokenlargestaccounts" class="tsd-anchor"></a>
1393
- <h3>get<wbr>Token<wbr>Largest<wbr>Accounts</h3>
1394
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1395
- <li class="tsd-signature tsd-kind-icon">get<wbr>Token<wbr>Largest<wbr>Accounts<span class="tsd-signature-symbol">(</span>mintAddress<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#tokenaccountbalancepair" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountBalancePair</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1396
- </ul>
1397
- <ul class="tsd-descriptions">
1398
- <li class="tsd-description">
1399
- <aside class="tsd-sources">
1400
- <ul>
1401
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1928">connection.ts:1928</a></li>
1402
- </ul>
1403
- </aside>
1404
- <div class="tsd-comment tsd-typography">
1405
- <div class="lead">
1406
- <p>Fetch the 20 largest token accounts with their current balances
1407
- for a given mint.</p>
1408
- </div>
1409
- </div>
1410
- <h4 class="tsd-parameters-title">Parameters</h4>
1411
- <ul class="tsd-parameters">
1412
- <li>
1413
- <h5>mintAddress: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1414
- </li>
1415
- <li>
1416
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1417
- </li>
1418
- </ul>
1419
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#tokenaccountbalancepair" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountBalancePair</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1420
- </li>
1421
- </ul>
1422
- </section>
1423
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1424
- <a name="gettokensupply" class="tsd-anchor"></a>
1425
- <h3>get<wbr>Token<wbr>Supply</h3>
1426
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1427
- <li class="tsd-signature tsd-kind-icon">get<wbr>Token<wbr>Supply<span class="tsd-signature-symbol">(</span>tokenMintAddress<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#tokenamount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
1428
- </ul>
1429
- <ul class="tsd-descriptions">
1430
- <li class="tsd-description">
1431
- <aside class="tsd-sources">
1432
- <ul>
1433
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L1804">connection.ts:1804</a></li>
1434
- </ul>
1435
- </aside>
1436
- <div class="tsd-comment tsd-typography">
1437
- <div class="lead">
1438
- <p>Fetch the current supply of a token mint</p>
1439
- </div>
1440
- </div>
1441
- <h4 class="tsd-parameters-title">Parameters</h4>
1442
- <ul class="tsd-parameters">
1443
- <li>
1444
- <h5>tokenMintAddress: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1445
- </li>
1446
- <li>
1447
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1448
- </li>
1449
- </ul>
1450
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#tokenamount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
1451
- </li>
1452
- </ul>
1453
- </section>
1454
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1455
- <a name="gettotalsupply" class="tsd-anchor"></a>
1456
- <h3>get<wbr>Total<wbr>Supply</h3>
1457
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1458
- <li class="tsd-signature tsd-kind-icon">get<wbr>Total<wbr>Supply<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
1459
- </ul>
1460
- <ul class="tsd-descriptions">
1461
- <li class="tsd-description">
1462
- <aside class="tsd-sources">
1463
- <ul>
1464
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2277">connection.ts:2277</a></li>
1465
- </ul>
1466
- </aside>
1467
- <div class="tsd-comment tsd-typography">
1468
- <div class="lead">
1469
- <p>Fetch the current total currency supply of the cluster in lamports</p>
1470
- </div>
1471
- </div>
1472
- <h4 class="tsd-parameters-title">Parameters</h4>
1473
- <ul class="tsd-parameters">
1474
- <li>
1475
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1476
- </li>
1477
- </ul>
1478
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
1479
- </li>
1480
- </ul>
1481
- </section>
1482
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1483
- <a name="gettransactioncount" class="tsd-anchor"></a>
1484
- <h3>get<wbr>Transaction<wbr>Count</h3>
1485
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1486
- <li class="tsd-signature tsd-kind-icon">get<wbr>Transaction<wbr>Count<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></li>
1487
- </ul>
1488
- <ul class="tsd-descriptions">
1489
- <li class="tsd-description">
1490
- <aside class="tsd-sources">
1491
- <ul>
1492
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2264">connection.ts:2264</a></li>
1493
- </ul>
1494
- </aside>
1495
- <div class="tsd-comment tsd-typography">
1496
- <div class="lead">
1497
- <p>Fetch the current transaction count of the cluster</p>
1498
- </div>
1499
- </div>
1500
- <h4 class="tsd-parameters-title">Parameters</h4>
1501
- <ul class="tsd-parameters">
1502
- <li>
1503
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1504
- </li>
1505
- </ul>
1506
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4>
1507
- </li>
1508
- </ul>
1509
- </section>
1510
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1511
- <a name="getversion" class="tsd-anchor"></a>
1512
- <h3>get<wbr>Version</h3>
1513
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1514
- <li class="tsd-signature tsd-kind-icon">get<wbr>Version<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#version" class="tsd-signature-type" data-tsd-kind="Type alias">Version</a><span class="tsd-signature-symbol">&gt;</span></li>
1515
- </ul>
1516
- <ul class="tsd-descriptions">
1517
- <li class="tsd-description">
1518
- <aside class="tsd-sources">
1519
- <ul>
1520
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2443">connection.ts:2443</a></li>
1521
- </ul>
1522
- </aside>
1523
- <div class="tsd-comment tsd-typography">
1524
- <div class="lead">
1525
- <p>Fetch the node version</p>
1526
- </div>
1527
- </div>
1528
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#version" class="tsd-signature-type" data-tsd-kind="Type alias">Version</a><span class="tsd-signature-symbol">&gt;</span></h4>
1529
- </li>
1530
- </ul>
1531
- </section>
1532
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1533
- <a name="getvoteaccounts" class="tsd-anchor"></a>
1534
- <h3>get<wbr>Vote<wbr>Accounts</h3>
1535
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1536
- <li class="tsd-signature tsd-kind-icon">get<wbr>Vote<wbr>Accounts<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#voteaccountstatus" class="tsd-signature-type" data-tsd-kind="Type alias">VoteAccountStatus</a><span class="tsd-signature-symbol">&gt;</span></li>
1537
- </ul>
1538
- <ul class="tsd-descriptions">
1539
- <li class="tsd-description">
1540
- <aside class="tsd-sources">
1541
- <ul>
1542
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2190">connection.ts:2190</a></li>
1543
- </ul>
1544
- </aside>
1545
- <div class="tsd-comment tsd-typography">
1546
- <div class="lead">
1547
- <p>Return the list of nodes that are currently participating in the cluster</p>
1548
- </div>
1549
- </div>
1550
- <h4 class="tsd-parameters-title">Parameters</h4>
1551
- <ul class="tsd-parameters">
1552
- <li>
1553
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1554
- </li>
1555
- </ul>
1556
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#voteaccountstatus" class="tsd-signature-type" data-tsd-kind="Type alias">VoteAccountStatus</a><span class="tsd-signature-symbol">&gt;</span></h4>
1557
- </li>
1558
- </ul>
1559
- </section>
1560
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1561
- <a name="onaccountchange" class="tsd-anchor"></a>
1562
- <h3>on<wbr>Account<wbr>Change</h3>
1563
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1564
- <li class="tsd-signature tsd-kind-icon">on<wbr>Account<wbr>Change<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#accountchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccountChangeCallback</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
1565
- </ul>
1566
- <ul class="tsd-descriptions">
1567
- <li class="tsd-description">
1568
- <aside class="tsd-sources">
1569
- <ul>
1570
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3016">connection.ts:3016</a></li>
1571
- </ul>
1572
- </aside>
1573
- <div class="tsd-comment tsd-typography">
1574
- <div class="lead">
1575
- <p>Register a callback to be invoked whenever the specified account changes</p>
1576
- </div>
1577
- </div>
1578
- <h4 class="tsd-parameters-title">Parameters</h4>
1579
- <ul class="tsd-parameters">
1580
- <li>
1581
- <h5>publicKey: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1582
- <div class="tsd-comment tsd-typography">
1583
- <p>Public key of the account to monitor</p>
1584
- </div>
1585
- </li>
1586
- <li>
1587
- <h5>callback: <a href="../modules.html#accountchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccountChangeCallback</a></h5>
1588
- <div class="tsd-comment tsd-typography">
1589
- <p>Function to invoke whenever the account is changed</p>
1590
- </div>
1591
- </li>
1592
- <li>
1593
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1594
- <div class="tsd-comment tsd-typography">
1595
- <p>Specify the commitment level account changes must reach before notification</p>
1596
- </div>
1597
- </li>
1598
- </ul>
1599
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
1600
- <p>subscription id</p>
1601
- </li>
1602
- </ul>
1603
- </section>
1604
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1605
- <a name="onprogramaccountchange" class="tsd-anchor"></a>
1606
- <h3>on<wbr>Program<wbr>Account<wbr>Change</h3>
1607
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1608
- <li class="tsd-signature tsd-kind-icon">on<wbr>Program<wbr>Account<wbr>Change<span class="tsd-signature-symbol">(</span>programId<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#programaccountchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">ProgramAccountChangeCallback</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
1609
- </ul>
1610
- <ul class="tsd-descriptions">
1611
- <li class="tsd-description">
1612
- <aside class="tsd-sources">
1613
- <ul>
1614
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3077">connection.ts:3077</a></li>
1615
- </ul>
1616
- </aside>
1617
- <div class="tsd-comment tsd-typography">
1618
- <div class="lead">
1619
- <p>Register a callback to be invoked whenever accounts owned by the
1620
- specified program change</p>
1621
- </div>
1622
- </div>
1623
- <h4 class="tsd-parameters-title">Parameters</h4>
1624
- <ul class="tsd-parameters">
1625
- <li>
1626
- <h5>programId: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1627
- <div class="tsd-comment tsd-typography">
1628
- <p>Public key of the program to monitor</p>
1629
- </div>
1630
- </li>
1631
- <li>
1632
- <h5>callback: <a href="../modules.html#programaccountchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">ProgramAccountChangeCallback</a></h5>
1633
- <div class="tsd-comment tsd-typography">
1634
- <p>Function to invoke whenever the account is changed</p>
1635
- </div>
1636
- </li>
1637
- <li>
1638
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1639
- <div class="tsd-comment tsd-typography">
1640
- <p>Specify the commitment level account changes must reach before notification</p>
1641
- </div>
1642
- </li>
1643
- </ul>
1644
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
1645
- <p>subscription id</p>
1646
- </li>
1647
- </ul>
1648
- </section>
1649
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1650
- <a name="onrootchange" class="tsd-anchor"></a>
1651
- <h3>on<wbr>Root<wbr>Change</h3>
1652
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1653
- <li class="tsd-signature tsd-kind-icon">on<wbr>Root<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#rootchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">RootChangeCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
1654
- </ul>
1655
- <ul class="tsd-descriptions">
1656
- <li class="tsd-description">
1657
- <aside class="tsd-sources">
1658
- <ul>
1659
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3301">connection.ts:3301</a></li>
1660
- </ul>
1661
- </aside>
1662
- <div class="tsd-comment tsd-typography">
1663
- <div class="lead">
1664
- <p>Register a callback to be invoked upon root changes</p>
1665
- </div>
1666
- </div>
1667
- <h4 class="tsd-parameters-title">Parameters</h4>
1668
- <ul class="tsd-parameters">
1669
- <li>
1670
- <h5>callback: <a href="../modules.html#rootchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">RootChangeCallback</a></h5>
1671
- <div class="tsd-comment tsd-typography">
1672
- <p>Function to invoke whenever the root changes</p>
1673
- </div>
1674
- </li>
1675
- </ul>
1676
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
1677
- <p>subscription id</p>
1678
- </li>
1679
- </ul>
1680
- </section>
1681
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1682
- <a name="onsignature" class="tsd-anchor"></a>
1683
- <h3>on<wbr>Signature</h3>
1684
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1685
- <li class="tsd-signature tsd-kind-icon">on<wbr>Signature<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#signatureresultcallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResultCallback</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
1686
- </ul>
1687
- <ul class="tsd-descriptions">
1688
- <li class="tsd-description">
1689
- <aside class="tsd-sources">
1690
- <ul>
1691
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3220">connection.ts:3220</a></li>
1692
- </ul>
1693
- </aside>
1694
- <div class="tsd-comment tsd-typography">
1695
- <div class="lead">
1696
- <p>Register a callback to be invoked upon signature updates</p>
1697
- </div>
1698
- </div>
1699
- <h4 class="tsd-parameters-title">Parameters</h4>
1700
- <ul class="tsd-parameters">
1701
- <li>
1702
- <h5>signature: <span class="tsd-signature-type">string</span></h5>
1703
- <div class="tsd-comment tsd-typography">
1704
- <p>Transaction signature string in base 58</p>
1705
- </div>
1706
- </li>
1707
- <li>
1708
- <h5>callback: <a href="../modules.html#signatureresultcallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResultCallback</a></h5>
1709
- <div class="tsd-comment tsd-typography">
1710
- <p>Function to invoke on signature notifications</p>
1711
- </div>
1712
- </li>
1713
- <li>
1714
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules.html#commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5>
1715
- <div class="tsd-comment tsd-typography">
1716
- <p>Specify the commitment level signature must reach before notification</p>
1717
- </div>
1718
- </li>
1719
- </ul>
1720
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
1721
- <p>subscription id</p>
1722
- </li>
1723
- </ul>
1724
- </section>
1725
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1726
- <a name="onsignaturewithoptions" class="tsd-anchor"></a>
1727
- <h3>on<wbr>Signature<wbr>With<wbr>Options</h3>
1728
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1729
- <li class="tsd-signature tsd-kind-icon">on<wbr>Signature<wbr>With<wbr>Options<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#signaturesubscriptioncallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureSubscriptionCallback</a>, options<span class="tsd-signature-symbol">?: </span><a href="../modules.html#signaturesubscriptionoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureSubscriptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
1730
- </ul>
1731
- <ul class="tsd-descriptions">
1732
- <li class="tsd-description">
1733
- <aside class="tsd-sources">
1734
- <ul>
1735
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3250">connection.ts:3250</a></li>
1736
- </ul>
1737
- </aside>
1738
- <div class="tsd-comment tsd-typography">
1739
- <div class="lead">
1740
- <p>Register a callback to be invoked when a transaction is
1741
- received and/or processed.</p>
1742
- </div>
1743
- </div>
1744
- <h4 class="tsd-parameters-title">Parameters</h4>
1745
- <ul class="tsd-parameters">
1746
- <li>
1747
- <h5>signature: <span class="tsd-signature-type">string</span></h5>
1748
- <div class="tsd-comment tsd-typography">
1749
- <p>Transaction signature string in base 58</p>
1750
- </div>
1751
- </li>
1752
- <li>
1753
- <h5>callback: <a href="../modules.html#signaturesubscriptioncallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureSubscriptionCallback</a></h5>
1754
- <div class="tsd-comment tsd-typography">
1755
- <p>Function to invoke on signature notifications</p>
1756
- </div>
1757
- </li>
1758
- <li>
1759
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules.html#signaturesubscriptionoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureSubscriptionOptions</a></h5>
1760
- <div class="tsd-comment tsd-typography">
1761
- <p>Enable received notifications and set the commitment
1762
- level that signature must reach before notification</p>
1763
- </div>
1764
- </li>
1765
- </ul>
1766
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
1767
- <p>subscription id</p>
1768
- </li>
1769
- </ul>
1770
- </section>
1771
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1772
- <a name="onslotchange" class="tsd-anchor"></a>
1773
- <h3>on<wbr>Slot<wbr>Change</h3>
1774
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1775
- <li class="tsd-signature tsd-kind-icon">on<wbr>Slot<wbr>Change<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#slotchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">SlotChangeCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
1776
- </ul>
1777
- <ul class="tsd-descriptions">
1778
- <li class="tsd-description">
1779
- <aside class="tsd-sources">
1780
- <ul>
1781
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3128">connection.ts:3128</a></li>
1782
- </ul>
1783
- </aside>
1784
- <div class="tsd-comment tsd-typography">
1785
- <div class="lead">
1786
- <p>Register a callback to be invoked upon slot changes</p>
1787
- </div>
1788
- </div>
1789
- <h4 class="tsd-parameters-title">Parameters</h4>
1790
- <ul class="tsd-parameters">
1791
- <li>
1792
- <h5>callback: <a href="../modules.html#slotchangecallback" class="tsd-signature-type" data-tsd-kind="Type alias">SlotChangeCallback</a></h5>
1793
- <div class="tsd-comment tsd-typography">
1794
- <p>Function to invoke whenever the slot changes</p>
1795
- </div>
1796
- </li>
1797
- </ul>
1798
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
1799
- <p>subscription id</p>
1800
- </li>
1801
- </ul>
1802
- </section>
1803
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1804
- <a name="removeaccountchangelistener" class="tsd-anchor"></a>
1805
- <h3>remove<wbr>Account<wbr>Change<wbr>Listener</h3>
1806
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1807
- <li class="tsd-signature tsd-kind-icon">remove<wbr>Account<wbr>Change<wbr>Listener<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
1808
- </ul>
1809
- <ul class="tsd-descriptions">
1810
- <li class="tsd-description">
1811
- <aside class="tsd-sources">
1812
- <ul>
1813
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3037">connection.ts:3037</a></li>
1814
- </ul>
1815
- </aside>
1816
- <div class="tsd-comment tsd-typography">
1817
- <div class="lead">
1818
- <p>Deregister an account notification callback</p>
1819
- </div>
1820
- </div>
1821
- <h4 class="tsd-parameters-title">Parameters</h4>
1822
- <ul class="tsd-parameters">
1823
- <li>
1824
- <h5>id: <span class="tsd-signature-type">number</span></h5>
1825
- <div class="tsd-comment tsd-typography">
1826
- <p>subscription id to deregister</p>
1827
- </div>
1828
- </li>
1829
- </ul>
1830
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
1831
- </li>
1832
- </ul>
1833
- </section>
1834
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1835
- <a name="removeprogramaccountchangelistener" class="tsd-anchor"></a>
1836
- <h3>remove<wbr>Program<wbr>Account<wbr>Change<wbr>Listener</h3>
1837
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1838
- <li class="tsd-signature tsd-kind-icon">remove<wbr>Program<wbr>Account<wbr>Change<wbr>Listener<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
1839
- </ul>
1840
- <ul class="tsd-descriptions">
1841
- <li class="tsd-description">
1842
- <aside class="tsd-sources">
1843
- <ul>
1844
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3098">connection.ts:3098</a></li>
1845
- </ul>
1846
- </aside>
1847
- <div class="tsd-comment tsd-typography">
1848
- <div class="lead">
1849
- <p>Deregister an account notification callback</p>
1850
- </div>
1851
- </div>
1852
- <h4 class="tsd-parameters-title">Parameters</h4>
1853
- <ul class="tsd-parameters">
1854
- <li>
1855
- <h5>id: <span class="tsd-signature-type">number</span></h5>
1856
- <div class="tsd-comment tsd-typography">
1857
- <p>subscription id to deregister</p>
1858
- </div>
1859
- </li>
1860
- </ul>
1861
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
1862
- </li>
1863
- </ul>
1864
- </section>
1865
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1866
- <a name="removerootchangelistener" class="tsd-anchor"></a>
1867
- <h3>remove<wbr>Root<wbr>Change<wbr>Listener</h3>
1868
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1869
- <li class="tsd-signature tsd-kind-icon">remove<wbr>Root<wbr>Change<wbr>Listener<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
1870
- </ul>
1871
- <ul class="tsd-descriptions">
1872
- <li class="tsd-description">
1873
- <aside class="tsd-sources">
1874
- <ul>
1875
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3316">connection.ts:3316</a></li>
1876
- </ul>
1877
- </aside>
1878
- <div class="tsd-comment tsd-typography">
1879
- <div class="lead">
1880
- <p>Deregister a root notification callback</p>
1881
- </div>
1882
- </div>
1883
- <h4 class="tsd-parameters-title">Parameters</h4>
1884
- <ul class="tsd-parameters">
1885
- <li>
1886
- <h5>id: <span class="tsd-signature-type">number</span></h5>
1887
- <div class="tsd-comment tsd-typography">
1888
- <p>subscription id to deregister</p>
1889
- </div>
1890
- </li>
1891
- </ul>
1892
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
1893
- </li>
1894
- </ul>
1895
- </section>
1896
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1897
- <a name="removesignaturelistener" class="tsd-anchor"></a>
1898
- <h3>remove<wbr>Signature<wbr>Listener</h3>
1899
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1900
- <li class="tsd-signature tsd-kind-icon">remove<wbr>Signature<wbr>Listener<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
1901
- </ul>
1902
- <ul class="tsd-descriptions">
1903
- <li class="tsd-description">
1904
- <aside class="tsd-sources">
1905
- <ul>
1906
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3271">connection.ts:3271</a></li>
1907
- </ul>
1908
- </aside>
1909
- <div class="tsd-comment tsd-typography">
1910
- <div class="lead">
1911
- <p>Deregister a signature notification callback</p>
1912
- </div>
1913
- </div>
1914
- <h4 class="tsd-parameters-title">Parameters</h4>
1915
- <ul class="tsd-parameters">
1916
- <li>
1917
- <h5>id: <span class="tsd-signature-type">number</span></h5>
1918
- <div class="tsd-comment tsd-typography">
1919
- <p>subscription id to deregister</p>
1920
- </div>
1921
- </li>
1922
- </ul>
1923
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
1924
- </li>
1925
- </ul>
1926
- </section>
1927
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1928
- <a name="removeslotchangelistener" class="tsd-anchor"></a>
1929
- <h3>remove<wbr>Slot<wbr>Change<wbr>Listener</h3>
1930
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1931
- <li class="tsd-signature tsd-kind-icon">remove<wbr>Slot<wbr>Change<wbr>Listener<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
1932
- </ul>
1933
- <ul class="tsd-descriptions">
1934
- <li class="tsd-description">
1935
- <aside class="tsd-sources">
1936
- <ul>
1937
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L3143">connection.ts:3143</a></li>
1938
- </ul>
1939
- </aside>
1940
- <div class="tsd-comment tsd-typography">
1941
- <div class="lead">
1942
- <p>Deregister a slot notification callback</p>
1943
- </div>
1944
- </div>
1945
- <h4 class="tsd-parameters-title">Parameters</h4>
1946
- <ul class="tsd-parameters">
1947
- <li>
1948
- <h5>id: <span class="tsd-signature-type">number</span></h5>
1949
- <div class="tsd-comment tsd-typography">
1950
- <p>subscription id to deregister</p>
1951
- </div>
1952
- </li>
1953
- </ul>
1954
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
1955
- </li>
1956
- </ul>
1957
- </section>
1958
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1959
- <a name="requestairdrop" class="tsd-anchor"></a>
1960
- <h3>request<wbr>Airdrop</h3>
1961
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1962
- <li class="tsd-signature tsd-kind-icon">request<wbr>Airdrop<span class="tsd-signature-symbol">(</span>to<span class="tsd-signature-symbol">: </span><a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, amount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
1963
- </ul>
1964
- <ul class="tsd-descriptions">
1965
- <li class="tsd-description">
1966
- <aside class="tsd-sources">
1967
- <ul>
1968
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2602">connection.ts:2602</a></li>
1969
- </ul>
1970
- </aside>
1971
- <div class="tsd-comment tsd-typography">
1972
- <div class="lead">
1973
- <p>Request an allocation of lamports to the specified account</p>
1974
- </div>
1975
- </div>
1976
- <h4 class="tsd-parameters-title">Parameters</h4>
1977
- <ul class="tsd-parameters">
1978
- <li>
1979
- <h5>to: <a href="publickey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5>
1980
- </li>
1981
- <li>
1982
- <h5>amount: <span class="tsd-signature-type">number</span></h5>
1983
- </li>
1984
- </ul>
1985
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
1986
- </li>
1987
- </ul>
1988
- </section>
1989
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
1990
- <a name="sendencodedtransaction" class="tsd-anchor"></a>
1991
- <h3>send<wbr>Encoded<wbr>Transaction</h3>
1992
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
1993
- <li class="tsd-signature tsd-kind-icon">send<wbr>Encoded<wbr>Transaction<span class="tsd-signature-symbol">(</span>encodedTransaction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../modules.html#sendoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
1994
- </ul>
1995
- <ul class="tsd-descriptions">
1996
- <li class="tsd-description">
1997
- <aside class="tsd-sources">
1998
- <ul>
1999
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2782">connection.ts:2782</a></li>
2000
- </ul>
2001
- </aside>
2002
- <div class="tsd-comment tsd-typography">
2003
- <div class="lead">
2004
- <p>Send a transaction that has already been signed, serialized into the
2005
- wire format, and encoded as a base64 string</p>
2006
- </div>
2007
- </div>
2008
- <h4 class="tsd-parameters-title">Parameters</h4>
2009
- <ul class="tsd-parameters">
2010
- <li>
2011
- <h5>encodedTransaction: <span class="tsd-signature-type">string</span></h5>
2012
- </li>
2013
- <li>
2014
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules.html#sendoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a></h5>
2015
- </li>
2016
- </ul>
2017
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
2018
- </li>
2019
- </ul>
2020
- </section>
2021
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
2022
- <a name="sendrawtransaction" class="tsd-anchor"></a>
2023
- <h3>send<wbr>Raw<wbr>Transaction</h3>
2024
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
2025
- <li class="tsd-signature tsd-kind-icon">send<wbr>Raw<wbr>Transaction<span class="tsd-signature-symbol">(</span>rawTransaction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span>, options<span class="tsd-signature-symbol">?: </span><a href="../modules.html#sendoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
2026
- </ul>
2027
- <ul class="tsd-descriptions">
2028
- <li class="tsd-description">
2029
- <aside class="tsd-sources">
2030
- <ul>
2031
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2766">connection.ts:2766</a></li>
2032
- </ul>
2033
- </aside>
2034
- <div class="tsd-comment tsd-typography">
2035
- <div class="lead">
2036
- <p>Send a transaction that has already been signed and serialized into the
2037
- wire format</p>
2038
- </div>
2039
- </div>
2040
- <h4 class="tsd-parameters-title">Parameters</h4>
2041
- <ul class="tsd-parameters">
2042
- <li>
2043
- <h5>rawTransaction: <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
2044
- </li>
2045
- <li>
2046
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules.html#sendoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a></h5>
2047
- </li>
2048
- </ul>
2049
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
2050
- </li>
2051
- </ul>
2052
- </section>
2053
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
2054
- <a name="sendtransaction" class="tsd-anchor"></a>
2055
- <h3>send<wbr>Transaction</h3>
2056
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
2057
- <li class="tsd-signature tsd-kind-icon">send<wbr>Transaction<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a>, signers<span class="tsd-signature-symbol">: </span><a href="account.html" class="tsd-signature-type" data-tsd-kind="Class">Account</a><span class="tsd-signature-symbol">[]</span>, options<span class="tsd-signature-symbol">?: </span><a href="../modules.html#sendoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></li>
2058
- </ul>
2059
- <ul class="tsd-descriptions">
2060
- <li class="tsd-description">
2061
- <aside class="tsd-sources">
2062
- <ul>
2063
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2730">connection.ts:2730</a></li>
2064
- </ul>
2065
- </aside>
2066
- <div class="tsd-comment tsd-typography">
2067
- <div class="lead">
2068
- <p>Sign and send a transaction</p>
2069
- </div>
2070
- </div>
2071
- <h4 class="tsd-parameters-title">Parameters</h4>
2072
- <ul class="tsd-parameters">
2073
- <li>
2074
- <h5>transaction: <a href="transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a></h5>
2075
- </li>
2076
- <li>
2077
- <h5>signers: <a href="account.html" class="tsd-signature-type" data-tsd-kind="Class">Account</a><span class="tsd-signature-symbol">[]</span></h5>
2078
- </li>
2079
- <li>
2080
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules.html#sendoptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a></h5>
2081
- </li>
2082
- </ul>
2083
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4>
2084
- </li>
2085
- </ul>
2086
- </section>
2087
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
2088
- <a name="simulatetransaction" class="tsd-anchor"></a>
2089
- <h3>simulate<wbr>Transaction</h3>
2090
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
2091
- <li class="tsd-signature tsd-kind-icon">simulate<wbr>Transaction<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a>, signers<span class="tsd-signature-symbol">?: </span><a href="account.html" class="tsd-signature-type" data-tsd-kind="Class">Account</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#simulatedtransactionresponse" class="tsd-signature-type" data-tsd-kind="Type alias">SimulatedTransactionResponse</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li>
2092
- </ul>
2093
- <ul class="tsd-descriptions">
2094
- <li class="tsd-description">
2095
- <aside class="tsd-sources">
2096
- <ul>
2097
- <li>Defined in <a href="https://github.com/solana-labs/solana-web3.js/blob/d5b2a1b/src/connection.ts#L2673">connection.ts:2673</a></li>
2098
- </ul>
2099
- </aside>
2100
- <div class="tsd-comment tsd-typography">
2101
- <div class="lead">
2102
- <p>Simulate a transaction</p>
2103
- </div>
2104
- </div>
2105
- <h4 class="tsd-parameters-title">Parameters</h4>
2106
- <ul class="tsd-parameters">
2107
- <li>
2108
- <h5>transaction: <a href="transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a></h5>
2109
- </li>
2110
- <li>
2111
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> signers: <a href="account.html" class="tsd-signature-type" data-tsd-kind="Class">Account</a><span class="tsd-signature-symbol">[]</span></h5>
2112
- </li>
2113
- </ul>
2114
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#rpcresponseandcontext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#simulatedtransactionresponse" class="tsd-signature-type" data-tsd-kind="Type alias">SimulatedTransactionResponse</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4>
2115
- </li>
2116
- </ul>
2117
- </section>
2118
- </section>
2119
- </div>
2120
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
2121
- <nav class="tsd-navigation primary">
2122
- <ul>
2123
- <li class=" ">
2124
- <a href="../modules.html">Exports</a>
2125
- </li>
2126
- </ul>
2127
- </nav>
2128
- <nav class="tsd-navigation secondary menu-sticky">
2129
- <ul class="before-current">
2130
- </ul>
2131
- <ul class="current">
2132
- <li class="current tsd-kind-class">
2133
- <a href="connection.html" class="tsd-kind-icon">Connection</a>
2134
- <ul>
2135
- <li class=" tsd-kind-constructor tsd-parent-kind-class">
2136
- <a href="connection.html#constructor" class="tsd-kind-icon">constructor</a>
2137
- </li>
2138
- <li class=" tsd-kind-get-signature tsd-parent-kind-class">
2139
- <a href="connection.html#commitment" class="tsd-kind-icon">commitment</a>
2140
- </li>
2141
- <li class=" tsd-kind-method tsd-parent-kind-class">
2142
- <a href="connection.html#confirmtransaction" class="tsd-kind-icon">confirm<wbr>Transaction</a>
2143
- </li>
2144
- <li class=" tsd-kind-method tsd-parent-kind-class">
2145
- <a href="connection.html#getaccountinfo" class="tsd-kind-icon">get<wbr>Account<wbr>Info</a>
2146
- </li>
2147
- <li class=" tsd-kind-method tsd-parent-kind-class">
2148
- <a href="connection.html#getaccountinfoandcontext" class="tsd-kind-icon">get<wbr>Account<wbr>Info<wbr>And<wbr>Context</a>
2149
- </li>
2150
- <li class=" tsd-kind-method tsd-parent-kind-class">
2151
- <a href="connection.html#getbalance" class="tsd-kind-icon">get<wbr>Balance</a>
2152
- </li>
2153
- <li class=" tsd-kind-method tsd-parent-kind-class">
2154
- <a href="connection.html#getbalanceandcontext" class="tsd-kind-icon">get<wbr>Balance<wbr>And<wbr>Context</a>
2155
- </li>
2156
- <li class=" tsd-kind-method tsd-parent-kind-class">
2157
- <a href="connection.html#getblocktime" class="tsd-kind-icon">get<wbr>Block<wbr>Time</a>
2158
- </li>
2159
- <li class=" tsd-kind-method tsd-parent-kind-class">
2160
- <a href="connection.html#getclusternodes" class="tsd-kind-icon">get<wbr>Cluster<wbr>Nodes</a>
2161
- </li>
2162
- <li class=" tsd-kind-method tsd-parent-kind-class">
2163
- <a href="connection.html#getconfirmedblock" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Block</a>
2164
- </li>
2165
- <li class=" tsd-kind-method tsd-parent-kind-class">
2166
- <a href="connection.html#getconfirmedsignaturesforaddress" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address</a>
2167
- </li>
2168
- <li class=" tsd-kind-method tsd-parent-kind-class">
2169
- <a href="connection.html#getconfirmedsignaturesforaddress2" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Signatures<wbr>For<wbr>Address2</a>
2170
- </li>
2171
- <li class=" tsd-kind-method tsd-parent-kind-class">
2172
- <a href="connection.html#getconfirmedtransaction" class="tsd-kind-icon">get<wbr>Confirmed<wbr>Transaction</a>
2173
- </li>
2174
- <li class=" tsd-kind-method tsd-parent-kind-class">
2175
- <a href="connection.html#getepochinfo" class="tsd-kind-icon">get<wbr>Epoch<wbr>Info</a>
2176
- </li>
2177
- <li class=" tsd-kind-method tsd-parent-kind-class">
2178
- <a href="connection.html#getepochschedule" class="tsd-kind-icon">get<wbr>Epoch<wbr>Schedule</a>
2179
- </li>
2180
- <li class=" tsd-kind-method tsd-parent-kind-class">
2181
- <a href="connection.html#getfeecalculatorforblockhash" class="tsd-kind-icon">get<wbr>Fee<wbr>Calculator<wbr>For<wbr>Blockhash</a>
2182
- </li>
2183
- <li class=" tsd-kind-method tsd-parent-kind-class">
2184
- <a href="connection.html#getfirstavailableblock" class="tsd-kind-icon">get<wbr>First<wbr>Available<wbr>Block</a>
2185
- </li>
2186
- <li class=" tsd-kind-method tsd-parent-kind-class">
2187
- <a href="connection.html#getinflationgovernor" class="tsd-kind-icon">get<wbr>Inflation<wbr>Governor</a>
2188
- </li>
2189
- <li class=" tsd-kind-method tsd-parent-kind-class">
2190
- <a href="connection.html#getlargestaccounts" class="tsd-kind-icon">get<wbr>Largest<wbr>Accounts</a>
2191
- </li>
2192
- <li class=" tsd-kind-method tsd-parent-kind-class">
2193
- <a href="connection.html#getleaderschedule" class="tsd-kind-icon">get<wbr>Leader<wbr>Schedule</a>
2194
- </li>
2195
- <li class=" tsd-kind-method tsd-parent-kind-class">
2196
- <a href="connection.html#getminimumbalanceforrentexemption" class="tsd-kind-icon">get<wbr>Minimum<wbr>Balance<wbr>For<wbr>Rent<wbr>Exemption</a>
2197
- </li>
2198
- <li class=" tsd-kind-method tsd-parent-kind-class">
2199
- <a href="connection.html#getminimumledgerslot" class="tsd-kind-icon">get<wbr>Minimum<wbr>Ledger<wbr>Slot</a>
2200
- </li>
2201
- <li class=" tsd-kind-method tsd-parent-kind-class">
2202
- <a href="connection.html#getnonce" class="tsd-kind-icon">get<wbr>Nonce</a>
2203
- </li>
2204
- <li class=" tsd-kind-method tsd-parent-kind-class">
2205
- <a href="connection.html#getnonceandcontext" class="tsd-kind-icon">get<wbr>Nonce<wbr>And<wbr>Context</a>
2206
- </li>
2207
- <li class=" tsd-kind-method tsd-parent-kind-class">
2208
- <a href="connection.html#getparsedaccountinfo" class="tsd-kind-icon">get<wbr>Parsed<wbr>Account<wbr>Info</a>
2209
- </li>
2210
- <li class=" tsd-kind-method tsd-parent-kind-class">
2211
- <a href="connection.html#getparsedconfirmedtransaction" class="tsd-kind-icon">get<wbr>Parsed<wbr>Confirmed<wbr>Transaction</a>
2212
- </li>
2213
- <li class=" tsd-kind-method tsd-parent-kind-class">
2214
- <a href="connection.html#getparsedprogramaccounts" class="tsd-kind-icon">get<wbr>Parsed<wbr>Program<wbr>Accounts</a>
2215
- </li>
2216
- <li class=" tsd-kind-method tsd-parent-kind-class">
2217
- <a href="connection.html#getparsedtokenaccountsbyowner" class="tsd-kind-icon">get<wbr>Parsed<wbr>Token<wbr>Accounts<wbr>ByOwner</a>
2218
- </li>
2219
- <li class=" tsd-kind-method tsd-parent-kind-class">
2220
- <a href="connection.html#getprogramaccounts" class="tsd-kind-icon">get<wbr>Program<wbr>Accounts</a>
2221
- </li>
2222
- <li class=" tsd-kind-method tsd-parent-kind-class">
2223
- <a href="connection.html#getrecentblockhash" class="tsd-kind-icon">get<wbr>Recent<wbr>Blockhash</a>
2224
- </li>
2225
- <li class=" tsd-kind-method tsd-parent-kind-class">
2226
- <a href="connection.html#getrecentblockhashandcontext" class="tsd-kind-icon">get<wbr>Recent<wbr>Blockhash<wbr>And<wbr>Context</a>
2227
- </li>
2228
- <li class=" tsd-kind-method tsd-parent-kind-class">
2229
- <a href="connection.html#getrecentperformancesamples" class="tsd-kind-icon">get<wbr>Recent<wbr>Performance<wbr>Samples</a>
2230
- </li>
2231
- <li class=" tsd-kind-method tsd-parent-kind-class">
2232
- <a href="connection.html#getsignaturestatus" class="tsd-kind-icon">get<wbr>Signature<wbr>Status</a>
2233
- </li>
2234
- <li class=" tsd-kind-method tsd-parent-kind-class">
2235
- <a href="connection.html#getsignaturestatuses" class="tsd-kind-icon">get<wbr>Signature<wbr>Statuses</a>
2236
- </li>
2237
- <li class=" tsd-kind-method tsd-parent-kind-class">
2238
- <a href="connection.html#getslot" class="tsd-kind-icon">get<wbr>Slot</a>
2239
- </li>
2240
- <li class=" tsd-kind-method tsd-parent-kind-class">
2241
- <a href="connection.html#getslotleader" class="tsd-kind-icon">get<wbr>Slot<wbr>Leader</a>
2242
- </li>
2243
- <li class=" tsd-kind-method tsd-parent-kind-class">
2244
- <a href="connection.html#getstakeactivation" class="tsd-kind-icon">get<wbr>Stake<wbr>Activation</a>
2245
- </li>
2246
- <li class=" tsd-kind-method tsd-parent-kind-class">
2247
- <a href="connection.html#getsupply" class="tsd-kind-icon">get<wbr>Supply</a>
2248
- </li>
2249
- <li class=" tsd-kind-method tsd-parent-kind-class">
2250
- <a href="connection.html#gettokenaccountbalance" class="tsd-kind-icon">get<wbr>Token<wbr>Account<wbr>Balance</a>
2251
- </li>
2252
- <li class=" tsd-kind-method tsd-parent-kind-class">
2253
- <a href="connection.html#gettokenaccountsbyowner" class="tsd-kind-icon">get<wbr>Token<wbr>Accounts<wbr>ByOwner</a>
2254
- </li>
2255
- <li class=" tsd-kind-method tsd-parent-kind-class">
2256
- <a href="connection.html#gettokenlargestaccounts" class="tsd-kind-icon">get<wbr>Token<wbr>Largest<wbr>Accounts</a>
2257
- </li>
2258
- <li class=" tsd-kind-method tsd-parent-kind-class">
2259
- <a href="connection.html#gettokensupply" class="tsd-kind-icon">get<wbr>Token<wbr>Supply</a>
2260
- </li>
2261
- <li class=" tsd-kind-method tsd-parent-kind-class">
2262
- <a href="connection.html#gettotalsupply" class="tsd-kind-icon">get<wbr>Total<wbr>Supply</a>
2263
- </li>
2264
- <li class=" tsd-kind-method tsd-parent-kind-class">
2265
- <a href="connection.html#gettransactioncount" class="tsd-kind-icon">get<wbr>Transaction<wbr>Count</a>
2266
- </li>
2267
- <li class=" tsd-kind-method tsd-parent-kind-class">
2268
- <a href="connection.html#getversion" class="tsd-kind-icon">get<wbr>Version</a>
2269
- </li>
2270
- <li class=" tsd-kind-method tsd-parent-kind-class">
2271
- <a href="connection.html#getvoteaccounts" class="tsd-kind-icon">get<wbr>Vote<wbr>Accounts</a>
2272
- </li>
2273
- <li class=" tsd-kind-method tsd-parent-kind-class">
2274
- <a href="connection.html#onaccountchange" class="tsd-kind-icon">on<wbr>Account<wbr>Change</a>
2275
- </li>
2276
- <li class=" tsd-kind-method tsd-parent-kind-class">
2277
- <a href="connection.html#onprogramaccountchange" class="tsd-kind-icon">on<wbr>Program<wbr>Account<wbr>Change</a>
2278
- </li>
2279
- <li class=" tsd-kind-method tsd-parent-kind-class">
2280
- <a href="connection.html#onrootchange" class="tsd-kind-icon">on<wbr>Root<wbr>Change</a>
2281
- </li>
2282
- <li class=" tsd-kind-method tsd-parent-kind-class">
2283
- <a href="connection.html#onsignature" class="tsd-kind-icon">on<wbr>Signature</a>
2284
- </li>
2285
- <li class=" tsd-kind-method tsd-parent-kind-class">
2286
- <a href="connection.html#onsignaturewithoptions" class="tsd-kind-icon">on<wbr>Signature<wbr>With<wbr>Options</a>
2287
- </li>
2288
- <li class=" tsd-kind-method tsd-parent-kind-class">
2289
- <a href="connection.html#onslotchange" class="tsd-kind-icon">on<wbr>Slot<wbr>Change</a>
2290
- </li>
2291
- <li class=" tsd-kind-method tsd-parent-kind-class">
2292
- <a href="connection.html#removeaccountchangelistener" class="tsd-kind-icon">remove<wbr>Account<wbr>Change<wbr>Listener</a>
2293
- </li>
2294
- <li class=" tsd-kind-method tsd-parent-kind-class">
2295
- <a href="connection.html#removeprogramaccountchangelistener" class="tsd-kind-icon">remove<wbr>Program<wbr>Account<wbr>Change<wbr>Listener</a>
2296
- </li>
2297
- <li class=" tsd-kind-method tsd-parent-kind-class">
2298
- <a href="connection.html#removerootchangelistener" class="tsd-kind-icon">remove<wbr>Root<wbr>Change<wbr>Listener</a>
2299
- </li>
2300
- <li class=" tsd-kind-method tsd-parent-kind-class">
2301
- <a href="connection.html#removesignaturelistener" class="tsd-kind-icon">remove<wbr>Signature<wbr>Listener</a>
2302
- </li>
2303
- <li class=" tsd-kind-method tsd-parent-kind-class">
2304
- <a href="connection.html#removeslotchangelistener" class="tsd-kind-icon">remove<wbr>Slot<wbr>Change<wbr>Listener</a>
2305
- </li>
2306
- <li class=" tsd-kind-method tsd-parent-kind-class">
2307
- <a href="connection.html#requestairdrop" class="tsd-kind-icon">request<wbr>Airdrop</a>
2308
- </li>
2309
- <li class=" tsd-kind-method tsd-parent-kind-class">
2310
- <a href="connection.html#sendencodedtransaction" class="tsd-kind-icon">send<wbr>Encoded<wbr>Transaction</a>
2311
- </li>
2312
- <li class=" tsd-kind-method tsd-parent-kind-class">
2313
- <a href="connection.html#sendrawtransaction" class="tsd-kind-icon">send<wbr>Raw<wbr>Transaction</a>
2314
- </li>
2315
- <li class=" tsd-kind-method tsd-parent-kind-class">
2316
- <a href="connection.html#sendtransaction" class="tsd-kind-icon">send<wbr>Transaction</a>
2317
- </li>
2318
- <li class=" tsd-kind-method tsd-parent-kind-class">
2319
- <a href="connection.html#simulatetransaction" class="tsd-kind-icon">simulate<wbr>Transaction</a>
2320
- </li>
2321
- </ul>
2322
- </li>
2323
- </ul>
2324
- <ul class="after-current">
2325
- </ul>
2326
- </nav>
2327
- </div>
2328
- </div>
2329
- </div>
2330
- <footer class="with-border-bottom">
2331
- <div class="container">
2332
- <h2>Legend</h2>
2333
- <div class="tsd-legend-group">
2334
- <ul class="tsd-legend">
2335
- <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
2336
- <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
2337
- <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
2338
- </ul>
2339
- <ul class="tsd-legend">
2340
- <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
2341
- </ul>
2342
- <ul class="tsd-legend">
2343
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
2344
- </ul>
2345
- </div>
2346
- </div>
2347
- </footer>
2348
- <div class="container tsd-generator">
2349
- <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
2350
- </div>
2351
- <div class="overlay"></div>
2352
- <script src="../assets/js/main.js"></script>
2353
- </body>
2354
- </html>