@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
package/doc/index.html DELETED
@@ -1,640 +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>@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
- <h1>@solana/web3.js</h1>
54
- </div>
55
- </div>
56
- </header>
57
- <div class="container container-main">
58
- <div class="row">
59
- <div class="col-8 col-content">
60
- <div class="tsd-panel tsd-typography">
61
- <p><a href="https://travis-ci.org/solana-labs/solana-web3.js"><img src="https://api.travis-ci.org/solana-labs/solana-web3.js.svg?branch=master" alt="Build status"></a>
62
- <a href="https://codecov.io/gh/solana-labs/solana-web3.js"><img src="https://codecov.io/gh/solana-labs/solana-web3.js/branch/master/graph/badge.svg" alt="codecov"></a>
63
- <br>
64
- <a href="https://www.npmjs.com/package/@solana/web3.js"><img src="https://img.shields.io/npm/v/@solana/web3.js.svg?style=flat" alt="npm"></a>
65
- <a href="https://www.npmjs.com/package/@solana/web3.js"><img src="https://img.shields.io/npm/dm/@solana/web3.js.svg?style=flat" alt="npm-downloads"></a>
66
- <br>
67
- <a href="https://github.com/semantic-release/semantic-release"><img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-release"></a>
68
- <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square" alt="code-style-prettier"></a></p>
69
- <a href="#solana-javascript-api" id="solana-javascript-api" style="color: inherit; text-decoration: none;">
70
- <h1>Solana JavaScript API</h1>
71
- </a>
72
- <p>This is the Solana Javascript API built on the Solana <a href="https://docs.solana.com/apps/jsonrpc-api">JSON RPC API</a></p>
73
- <p><a href="https://solana-labs.github.io/solana-web3.js/">Latest API Documentation</a></p>
74
- <a href="#installation" id="installation" style="color: inherit; text-decoration: none;">
75
- <h2>Installation</h2>
76
- </a>
77
- <a href="#yarn" id="yarn" style="color: inherit; text-decoration: none;">
78
- <h3>Yarn</h3>
79
- </a>
80
- <pre><code><span style="color: #001080">$</span><span style="color: #000000"> </span><span style="color: #001080">yarn</span><span style="color: #000000"> </span><span style="color: #001080">add</span><span style="color: #000000"> @</span><span style="color: #001080">solana</span><span style="color: #000000">/</span><span style="color: #001080">web3</span><span style="color: #000000">.</span><span style="color: #001080">js</span>
81
- </code></pre>
82
- <a href="#npm" id="npm" style="color: inherit; text-decoration: none;">
83
- <h3>npm</h3>
84
- </a>
85
- <pre><code><span style="color: #001080">$</span><span style="color: #000000"> </span><span style="color: #001080">npm</span><span style="color: #000000"> </span><span style="color: #001080">install</span><span style="color: #000000"> --</span><span style="color: #001080">save</span><span style="color: #000000"> @</span><span style="color: #001080">solana</span><span style="color: #000000">/</span><span style="color: #001080">web3</span><span style="color: #000000">.</span><span style="color: #001080">js</span>
86
- </code></pre>
87
- <a href="#browser-bundle" id="browser-bundle" style="color: inherit; text-decoration: none;">
88
- <h3>Browser bundle</h3>
89
- </a>
90
- <pre><code class="language-html"><span style="color: #008000">&lt;!-- Development (un-minified) --&gt;</span>
91
- <span style="color: #800000">&lt;script</span><span style="color: #000000FF"> </span><span style="color: #FF0000">src</span><span style="color: #000000FF">=</span><span style="color: #0000FF">&quot;https://unpkg.com/@solana/web3.js@0.92.0/lib/index.iife.js&quot;</span><span style="color: #800000">&gt;&lt;/script&gt;</span>
92
-
93
- <span style="color: #008000">&lt;!-- Production (un-minified) --&gt;</span>
94
- <span style="color: #800000">&lt;script</span><span style="color: #000000FF"> </span><span style="color: #FF0000">src</span><span style="color: #000000FF">=</span><span style="color: #0000FF">&quot;https://unpkg.com/@solana/web3.js@0.92.0/lib/index.iife.min.js&quot;</span><span style="color: #800000">&gt;&lt;/script&gt;</span>
95
- </code></pre>
96
- <a href="#development-environment-setup" id="development-environment-setup" style="color: inherit; text-decoration: none;">
97
- <h3>Development Environment Setup</h3>
98
- </a>
99
- <p>To build and run tests:</p>
100
- <ol>
101
- <li>Install Rust from <a href="https://rustup.rs/">https://rustup.rs/</a></li>
102
- <li>Install the latest Solana release from <a href="https://docs.solana.com/cli/install-solana-cli-tools">https://docs.solana.com/cli/install-solana-cli-tools</a></li>
103
- </ol>
104
- <a href="#usage" id="usage" style="color: inherit; text-decoration: none;">
105
- <h2>Usage</h2>
106
- </a>
107
- <a href="#javascript" id="javascript" style="color: inherit; text-decoration: none;">
108
- <h3>Javascript</h3>
109
- </a>
110
- <pre><code class="language-js"><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">solanaWeb3</span><span style="color: #000000"> = </span><span style="color: #795E26">require</span><span style="color: #000000">(</span><span style="color: #A31515">&#039;@solana/web3.js&#039;</span><span style="color: #000000">);</span>
111
- <span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">solanaWeb3</span><span style="color: #000000">);</span>
112
- </code></pre>
113
- <a href="#es6" id="es6" style="color: inherit; text-decoration: none;">
114
- <h3>ES6</h3>
115
- </a>
116
- <pre><code class="language-js"><span style="color: #AF00DB">import</span><span style="color: #000000"> </span><span style="color: #001080">solanaWeb3</span><span style="color: #000000"> </span><span style="color: #AF00DB">from</span><span style="color: #000000"> </span><span style="color: #A31515">&#039;@solana/web3.js&#039;</span><span style="color: #000000">;</span>
117
- <span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">solanaWeb3</span><span style="color: #000000">);</span>
118
- </code></pre>
119
- <a href="#browser-bundle-1" id="browser-bundle-1" style="color: inherit; text-decoration: none;">
120
- <h3>Browser bundle</h3>
121
- </a>
122
- <pre><code class="language-js"><span style="color: #008000">// `solanaWeb3` is provided in the global namespace by the `solanaWeb3.min.js` script bundle.</span>
123
- <span style="color: #001080">console</span><span style="color: #000000">.</span><span style="color: #795E26">log</span><span style="color: #000000">(</span><span style="color: #001080">solanaWeb3</span><span style="color: #000000">);</span>
124
- </code></pre>
125
- <a href="#flow" id="flow" style="color: inherit; text-decoration: none;">
126
- <h2>Flow</h2>
127
- </a>
128
- <p>A <a href="https://flow.org/en/docs/libdefs/">Flow library definition</a> is provided at
129
- <a href="https://github.com/solana-labs/solana-web3.js/tree/master/module.flow.js">module.flow.js</a>.
130
- Add the following line under the [libs] section of your project&#39;s .flowconfig to
131
- activate it:</p>
132
- <pre><code class="language-ini"><span style="color: #000000">[libs]</span>
133
- <span style="color: #000000">node_modules/@solana/web3.js/module.flow.js</span>
134
- </code></pre>
135
- <a href="#examples" id="examples" style="color: inherit; text-decoration: none;">
136
- <h2>Examples</h2>
137
- </a>
138
- <p>See the <a href="https://github.com/solana-labs/solana-web3.js/tree/master/examples">examples/</a> directory for small snippets.</p>
139
- <p>Standalone examples:</p>
140
- <ul>
141
- <li>Message feed (BPF Rust and C): <a href="https://github.com/solana-labs/example-messagefeed">https://github.com/solana-labs/example-messagefeed</a></li>
142
- <li>Tic-tac-toe (BPF C): <a href="https://github.com/solana-labs/example-tictactoe">https://github.com/solana-labs/example-tictactoe</a></li>
143
- <li>Web wallet: <a href="https://github.com/solana-labs/example-webwallet">https://github.com/solana-labs/example-webwallet</a></li>
144
- </ul>
145
- <a href="#releases" id="releases" style="color: inherit; text-decoration: none;">
146
- <h2>Releases</h2>
147
- </a>
148
- <p>Releases are available on <a href="https://github.com/solana-labs/solana-web3.js/releases">Github</a>
149
- and <a href="https://www.npmjs.com/package/@solana/web3.js">npmjs.com</a></p>
150
- <p>Each Github release features a tarball containing API documentation and a
151
- minified version of the module suitable for direct use in a browser environment
152
- (&lt;script&gt; tag)</p>
153
- <a href="#deprecated" id="deprecated" style="color: inherit; text-decoration: none;">
154
- <h2>Deprecated</h2>
155
- </a>
156
- <a href="#local-network" id="local-network" style="color: inherit; text-decoration: none;">
157
- <h3>Local Network</h3>
158
- </a>
159
- <p><strong>Please use <code>solana-test-validator</code> from the latest Solana release instead of the information in this section</strong></p>
160
- <p>The <code>solana-localnet</code> program is provided to easily start a test Solana cluster
161
- locally on your machine. Docker must be installed. The JSON RPC endpoint of
162
- the local cluster is <code>http://localhost:8899</code>.</p>
163
- <p>To start, first fetch the latest Docker image by running:</p>
164
- <pre><code class="language-bash"><span style="color: #000000">$ npx solana-localnet update</span>
165
- </code></pre>
166
- <p>Then run the following command to start the cluster</p>
167
- <pre><code class="language-bash"><span style="color: #000000">$ npx solana-localnet up</span>
168
- </code></pre>
169
- <p>While the cluster is running logs are available with:</p>
170
- <pre><code class="language-bash"><span style="color: #000000">$ npx solana-localnet logs -f</span>
171
- </code></pre>
172
- <p>Stop the cluster with:</p>
173
- <pre><code class="language-bash"><span style="color: #000000">$ npx solana-localnet down</span>
174
- </code></pre>
175
- <a href="#bpf-program-development" id="bpf-program-development" style="color: inherit; text-decoration: none;">
176
- <h3>BPF program development</h3>
177
- </a>
178
- <p><strong>Please use <code>cargo build-bpf</code> from the latest Solana release instead of the information in this section</strong></p>
179
- <p>The Solana BPF SDK is located in the <code>bpf-sdk/</code> subdirectory if you installed
180
- solana-web3.js from npmjs.com.</p>
181
- <p>From a git clone, run <code>npm run bpf-sdk:install</code> to fetch the latest BPF SDK.</p>
182
- <p>Additionally Rust must be installed to build Rust BPF programs such as
183
- <code>examples/bpf-rust-noop/</code>. See <a href="https://www.rust-lang.org/install.html">https://www.rust-lang.org/install.html</a> for
184
- installation details.</p>
185
- </div>
186
- </div>
187
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
188
- <nav class="tsd-navigation primary">
189
- <ul>
190
- <li class=" ">
191
- <a href="modules.html">Exports</a>
192
- </li>
193
- </ul>
194
- </nav>
195
- <nav class="tsd-navigation secondary menu-sticky">
196
- <ul class="before-current">
197
- <li class=" tsd-kind-class">
198
- <a href="classes/account.html" class="tsd-kind-icon">Account</a>
199
- </li>
200
- <li class=" tsd-kind-class">
201
- <a href="classes/authorized.html" class="tsd-kind-icon">Authorized</a>
202
- </li>
203
- <li class=" tsd-kind-class">
204
- <a href="classes/bpfloader.html" class="tsd-kind-icon">Bpf<wbr>Loader</a>
205
- </li>
206
- <li class=" tsd-kind-class">
207
- <a href="classes/connection.html" class="tsd-kind-icon">Connection</a>
208
- </li>
209
- <li class=" tsd-kind-class">
210
- <a href="classes/loader.html" class="tsd-kind-icon">Loader</a>
211
- </li>
212
- <li class=" tsd-kind-class">
213
- <a href="classes/lockup.html" class="tsd-kind-icon">Lockup</a>
214
- </li>
215
- <li class=" tsd-kind-class">
216
- <a href="classes/message.html" class="tsd-kind-icon">Message</a>
217
- </li>
218
- <li class=" tsd-kind-class">
219
- <a href="classes/nonceaccount.html" class="tsd-kind-icon">Nonce<wbr>Account</a>
220
- </li>
221
- <li class=" tsd-kind-class">
222
- <a href="classes/publickey.html" class="tsd-kind-icon">Public<wbr>Key</a>
223
- </li>
224
- <li class=" tsd-kind-class">
225
- <a href="classes/secp256k1program.html" class="tsd-kind-icon">Secp256k1<wbr>Program</a>
226
- </li>
227
- <li class=" tsd-kind-class">
228
- <a href="classes/stakeinstruction.html" class="tsd-kind-icon">Stake<wbr>Instruction</a>
229
- </li>
230
- <li class=" tsd-kind-class">
231
- <a href="classes/stakeprogram.html" class="tsd-kind-icon">Stake<wbr>Program</a>
232
- </li>
233
- <li class=" tsd-kind-class">
234
- <a href="classes/systeminstruction.html" class="tsd-kind-icon">System<wbr>Instruction</a>
235
- </li>
236
- <li class=" tsd-kind-class">
237
- <a href="classes/systemprogram.html" class="tsd-kind-icon">System<wbr>Program</a>
238
- </li>
239
- <li class=" tsd-kind-class">
240
- <a href="classes/transaction.html" class="tsd-kind-icon">Transaction</a>
241
- </li>
242
- <li class=" tsd-kind-class">
243
- <a href="classes/transactioninstruction.html" class="tsd-kind-icon">Transaction<wbr>Instruction</a>
244
- </li>
245
- <li class=" tsd-kind-class">
246
- <a href="classes/validatorinfo.html" class="tsd-kind-icon">Validator<wbr>Info</a>
247
- </li>
248
- <li class=" tsd-kind-class">
249
- <a href="classes/voteaccount.html" class="tsd-kind-icon">Vote<wbr>Account</a>
250
- </li>
251
- <li class=" tsd-kind-interface">
252
- <a href="interfaces/feecalculator.html" class="tsd-kind-icon">Fee<wbr>Calculator</a>
253
- </li>
254
- <li class=" tsd-kind-type-alias">
255
- <a href="modules.html#accountbalancepair" class="tsd-kind-icon">Account<wbr>Balance<wbr>Pair</a>
256
- </li>
257
- <li class=" tsd-kind-type-alias">
258
- <a href="modules.html#accountchangecallback" class="tsd-kind-icon">Account<wbr>Change<wbr>Callback</a>
259
- </li>
260
- <li class=" tsd-kind-type-alias tsd-has-type-parameter">
261
- <a href="modules.html#accountinfo" class="tsd-kind-icon">Account<wbr>Info</a>
262
- </li>
263
- <li class=" tsd-kind-type-alias">
264
- <a href="modules.html#accountmeta" class="tsd-kind-icon">Account<wbr>Meta</a>
265
- </li>
266
- <li class=" tsd-kind-type-alias">
267
- <a href="modules.html#advancenonceparams" class="tsd-kind-icon">Advance<wbr>Nonce<wbr>Params</a>
268
- </li>
269
- <li class=" tsd-kind-type-alias">
270
- <a href="modules.html#allocateparams" class="tsd-kind-icon">Allocate<wbr>Params</a>
271
- </li>
272
- <li class=" tsd-kind-type-alias">
273
- <a href="modules.html#allocatewithseedparams" class="tsd-kind-icon">Allocate<wbr>With<wbr>Seed<wbr>Params</a>
274
- </li>
275
- <li class=" tsd-kind-type-alias">
276
- <a href="modules.html#assignparams" class="tsd-kind-icon">Assign<wbr>Params</a>
277
- </li>
278
- <li class=" tsd-kind-type-alias">
279
- <a href="modules.html#assignwithseedparams" class="tsd-kind-icon">Assign<wbr>With<wbr>Seed<wbr>Params</a>
280
- </li>
281
- <li class=" tsd-kind-type-alias">
282
- <a href="modules.html#authorizenonceparams" class="tsd-kind-icon">Authorize<wbr>Nonce<wbr>Params</a>
283
- </li>
284
- <li class=" tsd-kind-type-alias">
285
- <a href="modules.html#authorizestakeparams" class="tsd-kind-icon">Authorize<wbr>Stake<wbr>Params</a>
286
- </li>
287
- <li class=" tsd-kind-type-alias">
288
- <a href="modules.html#authorizewithseedstakeparams" class="tsd-kind-icon">Authorize<wbr>With<wbr>Seed<wbr>Stake<wbr>Params</a>
289
- </li>
290
- <li class=" tsd-kind-type-alias">
291
- <a href="modules.html#blockhash" class="tsd-kind-icon">Blockhash</a>
292
- </li>
293
- <li class=" tsd-kind-type-alias">
294
- <a href="modules.html#cluster" class="tsd-kind-icon">Cluster</a>
295
- </li>
296
- <li class=" tsd-kind-type-alias">
297
- <a href="modules.html#commitment" class="tsd-kind-icon">Commitment</a>
298
- </li>
299
- <li class=" tsd-kind-type-alias">
300
- <a href="modules.html#compiledinnerinstruction" class="tsd-kind-icon">Compiled<wbr>Inner<wbr>Instruction</a>
301
- </li>
302
- <li class=" tsd-kind-type-alias">
303
- <a href="modules.html#compiledinstruction" class="tsd-kind-icon">Compiled<wbr>Instruction</a>
304
- </li>
305
- <li class=" tsd-kind-type-alias">
306
- <a href="modules.html#confirmoptions" class="tsd-kind-icon">Confirm<wbr>Options</a>
307
- </li>
308
- <li class=" tsd-kind-type-alias">
309
- <a href="modules.html#confirmedblock" class="tsd-kind-icon">Confirmed<wbr>Block</a>
310
- </li>
311
- <li class=" tsd-kind-type-alias">
312
- <a href="modules.html#confirmedsignatureinfo" class="tsd-kind-icon">Confirmed<wbr>Signature<wbr>Info</a>
313
- </li>
314
- <li class=" tsd-kind-type-alias">
315
- <a href="modules.html#confirmedsignaturesforaddress2options" class="tsd-kind-icon">Confirmed<wbr>Signatures<wbr>For<wbr>Address2<wbr>Options</a>
316
- </li>
317
- <li class=" tsd-kind-type-alias">
318
- <a href="modules.html#confirmedtransaction" class="tsd-kind-icon">Confirmed<wbr>Transaction</a>
319
- </li>
320
- <li class=" tsd-kind-type-alias">
321
- <a href="modules.html#confirmedtransactionmeta" class="tsd-kind-icon">Confirmed<wbr>Transaction<wbr>Meta</a>
322
- </li>
323
- <li class=" tsd-kind-type-alias">
324
- <a href="modules.html#contactinfo" class="tsd-kind-icon">Contact<wbr>Info</a>
325
- </li>
326
- <li class=" tsd-kind-type-alias">
327
- <a href="modules.html#context" class="tsd-kind-icon">Context</a>
328
- </li>
329
- <li class=" tsd-kind-type-alias">
330
- <a href="modules.html#createaccountparams" class="tsd-kind-icon">Create<wbr>Account<wbr>Params</a>
331
- </li>
332
- <li class=" tsd-kind-type-alias">
333
- <a href="modules.html#createaccountwithseedparams" class="tsd-kind-icon">Create<wbr>Account<wbr>With<wbr>Seed<wbr>Params</a>
334
- </li>
335
- <li class=" tsd-kind-type-alias">
336
- <a href="modules.html#createnonceaccountparams" class="tsd-kind-icon">Create<wbr>Nonce<wbr>Account<wbr>Params</a>
337
- </li>
338
- <li class=" tsd-kind-type-alias">
339
- <a href="modules.html#createnonceaccountwithseedparams" class="tsd-kind-icon">Create<wbr>Nonce<wbr>Account<wbr>With<wbr>Seed<wbr>Params</a>
340
- </li>
341
- <li class=" tsd-kind-type-alias">
342
- <a href="modules.html#createsecp256k1instructionwithethaddressparams" class="tsd-kind-icon">Create<wbr>Secp256k1<wbr>Instruction<wbr>With<wbr>Eth<wbr>Address<wbr>Params</a>
343
- </li>
344
- <li class=" tsd-kind-type-alias">
345
- <a href="modules.html#createsecp256k1instructionwithprivatekeyparams" class="tsd-kind-icon">Create<wbr>Secp256k1<wbr>Instruction<wbr>With<wbr>Private<wbr>Key<wbr>Params</a>
346
- </li>
347
- <li class=" tsd-kind-type-alias">
348
- <a href="modules.html#createsecp256k1instructionwithpublickeyparams" class="tsd-kind-icon">Create<wbr>Secp256k1<wbr>Instruction<wbr>With<wbr>Public<wbr>Key<wbr>Params</a>
349
- </li>
350
- <li class=" tsd-kind-type-alias">
351
- <a href="modules.html#createstakeaccountparams" class="tsd-kind-icon">Create<wbr>Stake<wbr>Account<wbr>Params</a>
352
- </li>
353
- <li class=" tsd-kind-type-alias">
354
- <a href="modules.html#createstakeaccountwithseedparams" class="tsd-kind-icon">Create<wbr>Stake<wbr>Account<wbr>With<wbr>Seed<wbr>Params</a>
355
- </li>
356
- <li class=" tsd-kind-type-alias">
357
- <a href="modules.html#deactivatestakeparams" class="tsd-kind-icon">Deactivate<wbr>Stake<wbr>Params</a>
358
- </li>
359
- <li class=" tsd-kind-type-alias">
360
- <a href="modules.html#delegatestakeparams" class="tsd-kind-icon">Delegate<wbr>Stake<wbr>Params</a>
361
- </li>
362
- <li class=" tsd-kind-type-alias">
363
- <a href="modules.html#epochcredits" class="tsd-kind-icon">Epoch<wbr>Credits</a>
364
- </li>
365
- <li class=" tsd-kind-type-alias">
366
- <a href="modules.html#epochinfo" class="tsd-kind-icon">Epoch<wbr>Info</a>
367
- </li>
368
- <li class=" tsd-kind-type-alias">
369
- <a href="modules.html#epochschedule" class="tsd-kind-icon">Epoch<wbr>Schedule</a>
370
- </li>
371
- <li class=" tsd-kind-type-alias">
372
- <a href="modules.html#getlargestaccountsconfig" class="tsd-kind-icon">Get<wbr>Largest<wbr>Accounts<wbr>Config</a>
373
- </li>
374
- <li class=" tsd-kind-type-alias">
375
- <a href="modules.html#inflationgovernor" class="tsd-kind-icon">Inflation<wbr>Governor</a>
376
- </li>
377
- <li class=" tsd-kind-type-alias">
378
- <a href="modules.html#info" class="tsd-kind-icon">Info</a>
379
- </li>
380
- <li class=" tsd-kind-type-alias">
381
- <a href="modules.html#initializenonceparams" class="tsd-kind-icon">Initialize<wbr>Nonce<wbr>Params</a>
382
- </li>
383
- <li class=" tsd-kind-type-alias">
384
- <a href="modules.html#initializestakeparams" class="tsd-kind-icon">Initialize<wbr>Stake<wbr>Params</a>
385
- </li>
386
- <li class=" tsd-kind-type-alias">
387
- <a href="modules.html#keyedaccountinfo" class="tsd-kind-icon">Keyed<wbr>Account<wbr>Info</a>
388
- </li>
389
- <li class=" tsd-kind-type-alias">
390
- <a href="modules.html#largestaccountsfilter" class="tsd-kind-icon">Largest<wbr>Accounts<wbr>Filter</a>
391
- </li>
392
- <li class=" tsd-kind-type-alias">
393
- <a href="modules.html#leaderschedule" class="tsd-kind-icon">Leader<wbr>Schedule</a>
394
- </li>
395
- <li class=" tsd-kind-type-alias">
396
- <a href="modules.html#lockout" class="tsd-kind-icon">Lockout</a>
397
- </li>
398
- <li class=" tsd-kind-type-alias">
399
- <a href="modules.html#messageargs" class="tsd-kind-icon">Message<wbr>Args</a>
400
- </li>
401
- <li class=" tsd-kind-type-alias">
402
- <a href="modules.html#messageheader" class="tsd-kind-icon">Message<wbr>Header</a>
403
- </li>
404
- <li class=" tsd-kind-type-alias">
405
- <a href="modules.html#parsedaccountdata" class="tsd-kind-icon">Parsed<wbr>Account<wbr>Data</a>
406
- </li>
407
- <li class=" tsd-kind-type-alias">
408
- <a href="modules.html#parsedconfirmedtransaction" class="tsd-kind-icon">Parsed<wbr>Confirmed<wbr>Transaction</a>
409
- </li>
410
- <li class=" tsd-kind-type-alias">
411
- <a href="modules.html#parsedconfirmedtransactionmeta" class="tsd-kind-icon">Parsed<wbr>Confirmed<wbr>Transaction<wbr>Meta</a>
412
- </li>
413
- <li class=" tsd-kind-type-alias">
414
- <a href="modules.html#parsedinnerinstruction" class="tsd-kind-icon">Parsed<wbr>Inner<wbr>Instruction</a>
415
- </li>
416
- <li class=" tsd-kind-type-alias">
417
- <a href="modules.html#parsedinstruction" class="tsd-kind-icon">Parsed<wbr>Instruction</a>
418
- </li>
419
- <li class=" tsd-kind-type-alias">
420
- <a href="modules.html#parsedmessage" class="tsd-kind-icon">Parsed<wbr>Message</a>
421
- </li>
422
- <li class=" tsd-kind-type-alias">
423
- <a href="modules.html#parsedmessageaccount" class="tsd-kind-icon">Parsed<wbr>Message<wbr>Account</a>
424
- </li>
425
- <li class=" tsd-kind-type-alias">
426
- <a href="modules.html#parsedtransaction" class="tsd-kind-icon">Parsed<wbr>Transaction</a>
427
- </li>
428
- <li class=" tsd-kind-type-alias">
429
- <a href="modules.html#partiallydecodedinstruction" class="tsd-kind-icon">Partially<wbr>Decoded<wbr>Instruction</a>
430
- </li>
431
- <li class=" tsd-kind-type-alias">
432
- <a href="modules.html#perfsample" class="tsd-kind-icon">Perf<wbr>Sample</a>
433
- </li>
434
- <li class=" tsd-kind-type-alias">
435
- <a href="modules.html#programaccountchangecallback" class="tsd-kind-icon">Program<wbr>Account<wbr>Change<wbr>Callback</a>
436
- </li>
437
- <li class=" tsd-kind-type-alias">
438
- <a href="modules.html#rootchangecallback" class="tsd-kind-icon">Root<wbr>Change<wbr>Callback</a>
439
- </li>
440
- <li class=" tsd-kind-type-alias tsd-has-type-parameter">
441
- <a href="modules.html#rpcresponseandcontext" class="tsd-kind-icon">Rpc<wbr>Response<wbr>And<wbr>Context</a>
442
- </li>
443
- <li class=" tsd-kind-type-alias">
444
- <a href="modules.html#sendoptions" class="tsd-kind-icon">Send<wbr>Options</a>
445
- </li>
446
- <li class=" tsd-kind-type-alias">
447
- <a href="modules.html#serializeconfig" class="tsd-kind-icon">Serialize<wbr>Config</a>
448
- </li>
449
- <li class=" tsd-kind-type-alias">
450
- <a href="modules.html#signaturereceivednotification" class="tsd-kind-icon">Signature<wbr>Received<wbr>Notification</a>
451
- </li>
452
- <li class=" tsd-kind-type-alias">
453
- <a href="modules.html#signatureresult" class="tsd-kind-icon">Signature<wbr>Result</a>
454
- </li>
455
- <li class=" tsd-kind-type-alias">
456
- <a href="modules.html#signatureresultcallback" class="tsd-kind-icon">Signature<wbr>Result<wbr>Callback</a>
457
- </li>
458
- <li class=" tsd-kind-type-alias">
459
- <a href="modules.html#signaturestatus" class="tsd-kind-icon">Signature<wbr>Status</a>
460
- </li>
461
- <li class=" tsd-kind-type-alias">
462
- <a href="modules.html#signaturestatusconfig" class="tsd-kind-icon">Signature<wbr>Status<wbr>Config</a>
463
- </li>
464
- <li class=" tsd-kind-type-alias">
465
- <a href="modules.html#signaturestatusnotification" class="tsd-kind-icon">Signature<wbr>Status<wbr>Notification</a>
466
- </li>
467
- <li class=" tsd-kind-type-alias">
468
- <a href="modules.html#signaturesubscriptioncallback" class="tsd-kind-icon">Signature<wbr>Subscription<wbr>Callback</a>
469
- </li>
470
- <li class=" tsd-kind-type-alias">
471
- <a href="modules.html#signaturesubscriptionoptions" class="tsd-kind-icon">Signature<wbr>Subscription<wbr>Options</a>
472
- </li>
473
- <li class=" tsd-kind-type-alias">
474
- <a href="modules.html#simulatedtransactionresponse" class="tsd-kind-icon">Simulated<wbr>Transaction<wbr>Response</a>
475
- </li>
476
- <li class=" tsd-kind-type-alias">
477
- <a href="modules.html#slotchangecallback" class="tsd-kind-icon">Slot<wbr>Change<wbr>Callback</a>
478
- </li>
479
- <li class=" tsd-kind-type-alias">
480
- <a href="modules.html#slotinfo" class="tsd-kind-icon">Slot<wbr>Info</a>
481
- </li>
482
- <li class=" tsd-kind-type-alias">
483
- <a href="modules.html#splitstakeparams" class="tsd-kind-icon">Split<wbr>Stake<wbr>Params</a>
484
- </li>
485
- <li class=" tsd-kind-type-alias">
486
- <a href="modules.html#stakeactivationdata" class="tsd-kind-icon">Stake<wbr>Activation<wbr>Data</a>
487
- </li>
488
- <li class=" tsd-kind-type-alias">
489
- <a href="modules.html#stakeauthorizationtype" class="tsd-kind-icon">Stake<wbr>Authorization<wbr>Type</a>
490
- </li>
491
- <li class=" tsd-kind-type-alias">
492
- <a href="modules.html#stakeinstructiontype" class="tsd-kind-icon">Stake<wbr>Instruction<wbr>Type</a>
493
- </li>
494
- <li class=" tsd-kind-type-alias">
495
- <a href="modules.html#supply" class="tsd-kind-icon">Supply</a>
496
- </li>
497
- <li class=" tsd-kind-type-alias">
498
- <a href="modules.html#systeminstructiontype" class="tsd-kind-icon">System<wbr>Instruction<wbr>Type</a>
499
- </li>
500
- <li class=" tsd-kind-type-alias">
501
- <a href="modules.html#tokenaccountbalancepair" class="tsd-kind-icon">Token<wbr>Account<wbr>Balance<wbr>Pair</a>
502
- </li>
503
- <li class=" tsd-kind-type-alias">
504
- <a href="modules.html#tokenaccountsfilter" class="tsd-kind-icon">Token<wbr>Accounts<wbr>Filter</a>
505
- </li>
506
- <li class=" tsd-kind-type-alias">
507
- <a href="modules.html#tokenamount" class="tsd-kind-icon">Token<wbr>Amount</a>
508
- </li>
509
- <li class=" tsd-kind-type-alias">
510
- <a href="modules.html#tokenbalance" class="tsd-kind-icon">Token<wbr>Balance</a>
511
- </li>
512
- <li class=" tsd-kind-type-alias">
513
- <a href="modules.html#transactionconfirmationstatus" class="tsd-kind-icon">Transaction<wbr>Confirmation<wbr>Status</a>
514
- </li>
515
- <li class=" tsd-kind-type-alias">
516
- <a href="modules.html#transactionerror" class="tsd-kind-icon">Transaction<wbr>Error</a>
517
- </li>
518
- <li class=" tsd-kind-type-alias">
519
- <a href="modules.html#transactioninstructionctorfields" class="tsd-kind-icon">Transaction<wbr>Instruction<wbr>Ctor<wbr>Fields</a>
520
- </li>
521
- <li class=" tsd-kind-type-alias">
522
- <a href="modules.html#transactionsignature" class="tsd-kind-icon">Transaction<wbr>Signature</a>
523
- </li>
524
- <li class=" tsd-kind-type-alias">
525
- <a href="modules.html#transferparams" class="tsd-kind-icon">Transfer<wbr>Params</a>
526
- </li>
527
- <li class=" tsd-kind-type-alias">
528
- <a href="modules.html#transferwithseedparams" class="tsd-kind-icon">Transfer<wbr>With<wbr>Seed<wbr>Params</a>
529
- </li>
530
- <li class=" tsd-kind-type-alias">
531
- <a href="modules.html#version" class="tsd-kind-icon">Version</a>
532
- </li>
533
- <li class=" tsd-kind-type-alias">
534
- <a href="modules.html#voteaccountinfo" class="tsd-kind-icon">Vote<wbr>Account<wbr>Info</a>
535
- </li>
536
- <li class=" tsd-kind-type-alias">
537
- <a href="modules.html#voteaccountstatus" class="tsd-kind-icon">Vote<wbr>Account<wbr>Status</a>
538
- </li>
539
- <li class=" tsd-kind-type-alias">
540
- <a href="modules.html#withdrawnonceparams" class="tsd-kind-icon">Withdraw<wbr>Nonce<wbr>Params</a>
541
- </li>
542
- <li class=" tsd-kind-type-alias">
543
- <a href="modules.html#withdrawstakeparams" class="tsd-kind-icon">Withdraw<wbr>Stake<wbr>Params</a>
544
- </li>
545
- <li class=" tsd-kind-variable">
546
- <a href="modules.html#bpf_loader_deprecated_program_id" class="tsd-kind-icon">BPF_<wbr>LOADER_<wbr>DEPRECATED_<wbr>PROGRAM_<wbr>ID</a>
547
- </li>
548
- <li class=" tsd-kind-variable">
549
- <a href="modules.html#bpf_loader_program_id" class="tsd-kind-icon">BPF_<wbr>LOADER_<wbr>PROGRAM_<wbr>ID</a>
550
- </li>
551
- <li class=" tsd-kind-variable">
552
- <a href="modules.html#getconfirmedblockrpcresult" class="tsd-kind-icon">Get<wbr>Confirmed<wbr>Block<wbr>Rpc<wbr>Result</a>
553
- </li>
554
- <li class=" tsd-kind-variable">
555
- <a href="modules.html#lamports_per_sol" class="tsd-kind-icon">LAMPORTS_<wbr>PER_<wbr>SOL</a>
556
- </li>
557
- <li class=" tsd-kind-variable">
558
- <a href="modules.html#max_seed_length" class="tsd-kind-icon">MAX_<wbr>SEED_<wbr>LENGTH</a>
559
- </li>
560
- <li class=" tsd-kind-variable">
561
- <a href="modules.html#nonce_account_length" class="tsd-kind-icon">NONCE_<wbr>ACCOUNT_<wbr>LENGTH</a>
562
- </li>
563
- <li class=" tsd-kind-variable">
564
- <a href="modules.html#packet_data_size" class="tsd-kind-icon">PACKET_<wbr>DATA_<wbr>SIZE</a>
565
- </li>
566
- <li class=" tsd-kind-variable">
567
- <a href="modules.html#stake_config_id" class="tsd-kind-icon">STAKE_<wbr>CONFIG_<wbr>ID</a>
568
- </li>
569
- <li class=" tsd-kind-variable">
570
- <a href="modules.html#stake_instruction_layouts" class="tsd-kind-icon">STAKE_<wbr>INSTRUCTION_<wbr>LAYOUTS</a>
571
- </li>
572
- <li class=" tsd-kind-variable">
573
- <a href="modules.html#system_instruction_layouts" class="tsd-kind-icon">SYSTEM_<wbr>INSTRUCTION_<wbr>LAYOUTS</a>
574
- </li>
575
- <li class=" tsd-kind-variable">
576
- <a href="modules.html#sysvar_clock_pubkey" class="tsd-kind-icon">SYSVAR_<wbr>CLOCK_<wbr>PUBKEY</a>
577
- </li>
578
- <li class=" tsd-kind-variable">
579
- <a href="modules.html#sysvar_instructions_pubkey" class="tsd-kind-icon">SYSVAR_<wbr>INSTRUCTIONS_<wbr>PUBKEY</a>
580
- </li>
581
- <li class=" tsd-kind-variable">
582
- <a href="modules.html#sysvar_recent_blockhashes_pubkey" class="tsd-kind-icon">SYSVAR_<wbr>RECENT_<wbr>BLOCKHASHES_<wbr>PUBKEY</a>
583
- </li>
584
- <li class=" tsd-kind-variable">
585
- <a href="modules.html#sysvar_rent_pubkey" class="tsd-kind-icon">SYSVAR_<wbr>RENT_<wbr>PUBKEY</a>
586
- </li>
587
- <li class=" tsd-kind-variable">
588
- <a href="modules.html#sysvar_rewards_pubkey" class="tsd-kind-icon">SYSVAR_<wbr>REWARDS_<wbr>PUBKEY</a>
589
- </li>
590
- <li class=" tsd-kind-variable">
591
- <a href="modules.html#sysvar_stake_history_pubkey" class="tsd-kind-icon">SYSVAR_<wbr>STAKE_<wbr>HISTORY_<wbr>PUBKEY</a>
592
- </li>
593
- <li class=" tsd-kind-variable">
594
- <a href="modules.html#stakeauthorizationlayout" class="tsd-kind-icon">Stake<wbr>Authorization<wbr>Layout</a>
595
- </li>
596
- <li class=" tsd-kind-variable">
597
- <a href="modules.html#validator_info_key" class="tsd-kind-icon">VALIDATOR_<wbr>INFO_<wbr>KEY</a>
598
- </li>
599
- <li class=" tsd-kind-variable">
600
- <a href="modules.html#vote_program_id" class="tsd-kind-icon">VOTE_<wbr>PROGRAM_<wbr>ID</a>
601
- </li>
602
- <li class=" tsd-kind-function">
603
- <a href="modules.html#clusterapiurl" class="tsd-kind-icon">cluster<wbr>Api<wbr>Url</a>
604
- </li>
605
- <li class=" tsd-kind-function">
606
- <a href="modules.html#sendandconfirmrawtransaction" class="tsd-kind-icon">send<wbr>And<wbr>Confirm<wbr>Raw<wbr>Transaction</a>
607
- </li>
608
- <li class=" tsd-kind-function">
609
- <a href="modules.html#sendandconfirmtransaction" class="tsd-kind-icon">send<wbr>And<wbr>Confirm<wbr>Transaction</a>
610
- </li>
611
- </ul>
612
- </nav>
613
- </div>
614
- </div>
615
- </div>
616
- <footer class="with-border-bottom">
617
- <div class="container">
618
- <h2>Legend</h2>
619
- <div class="tsd-legend-group">
620
- <ul class="tsd-legend">
621
- <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
622
- <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
623
- <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
624
- </ul>
625
- <ul class="tsd-legend">
626
- <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
627
- </ul>
628
- <ul class="tsd-legend">
629
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
630
- </ul>
631
- </div>
632
- </div>
633
- </footer>
634
- <div class="container tsd-generator">
635
- <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
636
- </div>
637
- <div class="overlay"></div>
638
- <script src="assets/js/main.js"></script>
639
- </body>
640
- </html>