Skip to content

Commit

Permalink
v2.2.5 (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebrianchen authored Dec 20, 2022
1 parent 2fbe479 commit 851274a
Show file tree
Hide file tree
Showing 119 changed files with 602 additions and 511 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
### Major Changes

- Added `TransactNamespace.sendGasOptimizedTransaction()`. Instead of sending a single transaction that might not get mined, this method allows you to send the same transaction multiple times, with different gas prices and gas limits. This should result in lower fees paid.

### Minor Changes

## 2.2.5

### Major Changes

- Added `NftNamespace.getContractsForOwner()` to fetch all NFT contracts for a specified owner address.

### Minor Changes
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ The Alchemy SDK also supports a number of Ethers.js objects that streamline the
- [`Wallet`](https://docs.ethers.io/v5/api/signer/#Wallet): An implementation of `Signer` that can sign transactions and messages using a private key as a standard Externally Owned Account.

## Alchemy Settings

An `AlchemySettings` object can be passed on instantiation to the Alchemy object, with the following optional parameters:

- `apiKey`: API key that can be found in the Alchemy dashboard. Defaults to `demo`: a rate-limited public key.
- `network`: Name of the network. Defaults to `Network.ETH_MAINNET`
- `maxRetries`: The maximum number of retries to attempt if a request fails. Defaults to 5.
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/Alchemy.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/classes/AlchemyConfig.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/AlchemyProvider.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/classes/AlchemyWebSocketProvider.html

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions docs/classes/CoreNamespace.html

Large diffs are not rendered by default.

60 changes: 33 additions & 27 deletions docs/classes/NftNamespace.html

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions docs/classes/NotifyNamespace.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/classes/TransactNamespace.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/classes/Wallet.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/classes/WebSocketNamespace.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/enums/AlchemySubscription.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<p>Method names for Alchemy&#39;s custom Subscription API endpoints.</p>
</div><div><p>This value is provided in the <code>method</code> field when creating an event filter on
the Websocket Namespace.</p>
</div></div></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#MINED_TRANSACTIONS" class="tsd-kind-icon">MINED_<wbr/>TRANSACTIONS</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#PENDING_TRANSACTIONS" class="tsd-kind-icon">PENDING_<wbr/>TRANSACTIONS</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="MINED_TRANSACTIONS" class="tsd-anchor"></a><h3 class="tsd-anchor-link">MINED_<wbr/>TRANSACTIONS<a href="#MINED_TRANSACTIONS" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">MINED_<wbr/>TRANSACTIONS<span class="tsd-signature-symbol"> = &quot;alchemy_minedTransactions&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/alchemyplatform/alchemy-sdk-js/blob/d97ef0d/src/types/types.ts#L1318">src/types/types.ts:1318</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PENDING_TRANSACTIONS" class="tsd-anchor"></a><h3 class="tsd-anchor-link">PENDING_<wbr/>TRANSACTIONS<a href="#PENDING_TRANSACTIONS" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">PENDING_<wbr/>TRANSACTIONS<span class="tsd-signature-symbol"> = &quot;alchemy_pendingTransactions&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/alchemyplatform/alchemy-sdk-js/blob/d97ef0d/src/types/types.ts#L1317">src/types/types.ts:1317</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="../modules/Utils.html">Utils</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum"><a href="AlchemySubscription.html" class="tsd-kind-icon">Alchemy<wbr/>Subscription</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#MINED_TRANSACTIONS" class="tsd-kind-icon">MINED_<wbr/>TRANSACTIONS</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#PENDING_TRANSACTIONS" class="tsd-kind-icon">PENDING_<wbr/>TRANSACTIONS</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
</div></div></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#MINED_TRANSACTIONS" class="tsd-kind-icon">MINED_<wbr/>TRANSACTIONS</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#PENDING_TRANSACTIONS" class="tsd-kind-icon">PENDING_<wbr/>TRANSACTIONS</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="MINED_TRANSACTIONS" class="tsd-anchor"></a><h3 class="tsd-anchor-link">MINED_<wbr/>TRANSACTIONS<a href="#MINED_TRANSACTIONS" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">MINED_<wbr/>TRANSACTIONS<span class="tsd-signature-symbol"> = &quot;alchemy_minedTransactions&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/alchemyplatform/alchemy-sdk-js/blob/31cc0e1/src/types/types.ts#L1440">src/types/types.ts:1440</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PENDING_TRANSACTIONS" class="tsd-anchor"></a><h3 class="tsd-anchor-link">PENDING_<wbr/>TRANSACTIONS<a href="#PENDING_TRANSACTIONS" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">PENDING_<wbr/>TRANSACTIONS<span class="tsd-signature-symbol"> = &quot;alchemy_pendingTransactions&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/alchemyplatform/alchemy-sdk-js/blob/31cc0e1/src/types/types.ts#L1439">src/types/types.ts:1439</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="../modules/Utils.html">Utils</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum"><a href="AlchemySubscription.html" class="tsd-kind-icon">Alchemy<wbr/>Subscription</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#MINED_TRANSACTIONS" class="tsd-kind-icon">MINED_<wbr/>TRANSACTIONS</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="AlchemySubscription.html#PENDING_TRANSACTIONS" class="tsd-kind-icon">PENDING_<wbr/>TRANSACTIONS</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
Loading

0 comments on commit 851274a

Please sign in to comment.