anchor/ts/classes/web3.Connection.html

305 lines
265 KiB
HTML

<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Connection | @project-serum/anchor - v0.25.0</title><meta name="description" content="Documentation for @project-serum/anchor - v0.25.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@project-serum/anchor - v0.25.0</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">@project-serum/anchor - v0.25.0</a></li><li><a href="../modules/web3.html">web3</a></li><li><a href="web3.Connection.html">Connection</a></li></ul><h1>Class Connection</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
<p>A connection to a fullnode JSON RPC endpoint</p>
</div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">Connection</span></li></ul></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 tsd-is-external"><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section tsd-is-external"><h3>Accessors</h3><ul class="tsd-index-list"><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#commitment" class="tsd-kind-icon">commitment</a></li></ul></section><section class="tsd-index-section tsd-is-external"><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#_buildArgs" class="tsd-kind-icon">_build<wbr/>Args</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#confirmTransaction" class="tsd-kind-icon">confirm<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getAccountInfo" class="tsd-kind-icon">get<wbr/>Account<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getAccountInfoAndContext" class="tsd-kind-icon">get<wbr/>Account<wbr/>Info<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBalance" class="tsd-kind-icon">get<wbr/>Balance</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBalanceAndContext" class="tsd-kind-icon">get<wbr/>Balance<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlock" class="tsd-kind-icon">get<wbr/>Block</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlockSignatures" class="tsd-kind-icon">get<wbr/>Block<wbr/>Signatures</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlockTime" class="tsd-kind-icon">get<wbr/>Block<wbr/>Time</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlocks" class="tsd-kind-icon">get<wbr/>Blocks</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getClusterNodes" class="tsd-kind-icon">get<wbr/>Cluster<wbr/>Nodes</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedBlock" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Block</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedBlockSignatures" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Block<wbr/>Signatures</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedSignaturesForAddress" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Signatures<wbr/>For<wbr/>Address</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedSignaturesForAddress2" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Signatures<wbr/>For<wbr/>Address2</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedTransaction" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getEpochInfo" class="tsd-kind-icon">get<wbr/>Epoch<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getEpochSchedule" class="tsd-kind-icon">get<wbr/>Epoch<wbr/>Schedule</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getFeeCalculatorForBlockhash" class="tsd-kind-icon">get<wbr/>Fee<wbr/>Calculator<wbr/>For<wbr/>Blockhash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getFeeForMessage" class="tsd-kind-icon">get<wbr/>Fee<wbr/>For<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getFirstAvailableBlock" class="tsd-kind-icon">get<wbr/>First<wbr/>Available<wbr/>Block</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getGenesisHash" class="tsd-kind-icon">get<wbr/>Genesis<wbr/>Hash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getInflationGovernor" class="tsd-kind-icon">get<wbr/>Inflation<wbr/>Governor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getInflationReward" class="tsd-kind-icon">get<wbr/>Inflation<wbr/>Reward</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLargestAccounts" class="tsd-kind-icon">get<wbr/>Largest<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLatestBlockhash" class="tsd-kind-icon">get<wbr/>Latest<wbr/>Blockhash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLatestBlockhashAndContext" class="tsd-kind-icon">get<wbr/>Latest<wbr/>Blockhash<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLeaderSchedule" class="tsd-kind-icon">get<wbr/>Leader<wbr/>Schedule</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMinimumBalanceForRentExemption" class="tsd-kind-icon">get<wbr/>Minimum<wbr/>Balance<wbr/>For<wbr/>Rent<wbr/>Exemption</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMinimumLedgerSlot" class="tsd-kind-icon">get<wbr/>Minimum<wbr/>Ledger<wbr/>Slot</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMultipleAccountsInfo" class="tsd-kind-icon">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMultipleAccountsInfoAndContext" class="tsd-kind-icon">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getNonce" class="tsd-kind-icon">get<wbr/>Nonce</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getNonceAndContext" class="tsd-kind-icon">get<wbr/>Nonce<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedAccountInfo" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Account<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedConfirmedTransaction" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Confirmed<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedConfirmedTransactions" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Confirmed<wbr/>Transactions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedProgramAccounts" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Program<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedTokenAccountsByOwner" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedTransaction" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedTransactions" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Transactions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getProgramAccounts" class="tsd-kind-icon">get<wbr/>Program<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getRecentBlockhash" class="tsd-kind-icon">get<wbr/>Recent<wbr/>Blockhash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getRecentBlockhashAndContext" class="tsd-kind-icon">get<wbr/>Recent<wbr/>Blockhash<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getRecentPerformanceSamples" class="tsd-kind-icon">get<wbr/>Recent<wbr/>Performance<wbr/>Samples</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSignatureStatus" class="tsd-kind-icon">get<wbr/>Signature<wbr/>Status</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSignatureStatuses" class="tsd-kind-icon">get<wbr/>Signature<wbr/>Statuses</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSignaturesForAddress" class="tsd-kind-icon">get<wbr/>Signatures<wbr/>For<wbr/>Address</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSlot" class="tsd-kind-icon">get<wbr/>Slot</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSlotLeader" class="tsd-kind-icon">get<wbr/>Slot<wbr/>Leader</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSlotLeaders" class="tsd-kind-icon">get<wbr/>Slot<wbr/>Leaders</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getStakeActivation" class="tsd-kind-icon">get<wbr/>Stake<wbr/>Activation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSupply" class="tsd-kind-icon">get<wbr/>Supply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenAccountBalance" class="tsd-kind-icon">get<wbr/>Token<wbr/>Account<wbr/>Balance</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenAccountsByOwner" class="tsd-kind-icon">get<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenLargestAccounts" class="tsd-kind-icon">get<wbr/>Token<wbr/>Largest<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenSupply" class="tsd-kind-icon">get<wbr/>Token<wbr/>Supply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTotalSupply" class="tsd-kind-icon">get<wbr/>Total<wbr/>Supply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTransaction" class="tsd-kind-icon">get<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTransactionCount" class="tsd-kind-icon">get<wbr/>Transaction<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getVersion" class="tsd-kind-icon">get<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getVoteAccounts" class="tsd-kind-icon">get<wbr/>Vote<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onAccountChange" class="tsd-kind-icon">on<wbr/>Account<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onLogs" class="tsd-kind-icon">on<wbr/>Logs</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onProgramAccountChange" class="tsd-kind-icon">on<wbr/>Program<wbr/>Account<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onRootChange" class="tsd-kind-icon">on<wbr/>Root<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSignature" class="tsd-kind-icon">on<wbr/>Signature</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSignatureWithOptions" class="tsd-kind-icon">on<wbr/>Signature<wbr/>With<wbr/>Options</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSlotChange" class="tsd-kind-icon">on<wbr/>Slot<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSlotUpdate" class="tsd-kind-icon">on<wbr/>Slot<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeAccountChangeListener" class="tsd-kind-icon">remove<wbr/>Account<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeOnLogsListener" class="tsd-kind-icon">remove<wbr/>On<wbr/>Logs<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeProgramAccountChangeListener" class="tsd-kind-icon">remove<wbr/>Program<wbr/>Account<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeRootChangeListener" class="tsd-kind-icon">remove<wbr/>Root<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeSignatureListener" class="tsd-kind-icon">remove<wbr/>Signature<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeSlotChangeListener" class="tsd-kind-icon">remove<wbr/>Slot<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeSlotUpdateListener" class="tsd-kind-icon">remove<wbr/>Slot<wbr/>Update<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#requestAirdrop" class="tsd-kind-icon">request<wbr/>Airdrop</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#sendEncodedTransaction" class="tsd-kind-icon">send<wbr/>Encoded<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#sendRawTransaction" class="tsd-kind-icon">send<wbr/>Raw<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#sendTransaction" class="tsd-kind-icon">send<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#simulateTransaction" class="tsd-kind-icon">simulate<wbr/>Transaction</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-external"><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" 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><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><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>, commitmentOrConfig<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#ConnectionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">ConnectionConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="web3.Connection.html" class="tsd-signature-type" data-tsd-kind="Class">Connection</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1407</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Establish a JSON RPC connection</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>endpoint: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>URL to the fullnode JSON RPC endpoint</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitmentOrConfig: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#ConnectionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">ConnectionConfig</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>optional default commitment level or optional ConnectionConfig configuration object</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="web3.Connection.html" class="tsd-signature-type" data-tsd-kind="Class">Connection</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group tsd-is-external"><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-external"><a id="commitment" class="tsd-anchor"></a><h3 class="tsd-anchor-link">commitment<a href="#commitment" 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><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-external"><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/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1414</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>The default commitment used for requests</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group tsd-is-external"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="_buildArgs" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_build<wbr/>Args<a href="#_buildArgs" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">_build<wbr/>Args<span class="tsd-signature-symbol">(</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, override<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a>, encoding<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">&quot;jsonParsed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;base64&quot;</span>, extra<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2016</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>args: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> override: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> encoding: <span class="tsd-signature-type">&quot;jsonParsed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;base64&quot;</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> extra: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="confirmTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">confirm<wbr/>Transaction<a href="#confirmTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1583</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Confirm the transaction identified by the specified signature.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getAccountInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Account<wbr/>Info<a href="#getAccountInfo" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1526</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch all the account info for the specified public key</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getAccountInfoAndContext" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Account<wbr/>Info<wbr/>And<wbr/>Context<a href="#getAccountInfoAndContext" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1510</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch all the account info for the specified public key, return with context</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getBalance" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Balance<a href="#getBalance" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1425</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the balance for the specified public key</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getBalanceAndContext" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Balance<wbr/>And<wbr/>Context<a href="#getBalanceAndContext" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1418</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the balance for the specified public key, return with context</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getBlock" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Block<a href="#getBlock" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Block<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, opts<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#BlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1739</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a processed block from the cluster.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> opts: <span class="tsd-signature-symbol">{ </span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul></li></ul><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/web3.html#BlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getBlockSignatures" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Block<wbr/>Signatures<a href="#getBlockSignatures" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Block<wbr/>Signatures<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1789</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a list of Signatures from the cluster for a block, excluding rewards</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getBlockTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Block<wbr/>Time<a href="#getBlockTime" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1429</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the estimated production time of a block</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <span class="tsd-signature-type">number</span></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getBlocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Blocks<a href="#getBlocks" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Blocks<span class="tsd-signature-symbol">(</span>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>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1781</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch confirmed blocks between two slots</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>startSlot: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> endSlot: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><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">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getClusterNodes" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Cluster<wbr/>Nodes<a href="#getClusterNodes" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1590</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Return the list of nodes that are currently participating in the cluster</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getConfirmedBlock" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Confirmed<wbr/>Block<a href="#getConfirmedBlock" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.html#ConfirmedBlock" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedBlock</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1774</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a list of Transactions and transaction statuses from the cluster
for a confirmed block.</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since v1.13.0. Please use <a href="web3.Connection.html#getBlock">getBlock</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#ConfirmedBlock" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedBlock</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getConfirmedBlockSignatures" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Confirmed<wbr/>Block<wbr/>Signatures<a href="#getConfirmedBlockSignatures" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Confirmed<wbr/>Block<wbr/>Signatures<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1798</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a list of Signatures from the cluster for a confirmed block, excluding rewards</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since Solana v1.8.0. Please use <a href="web3.Connection.html#getBlockSignatures">getBlockSignatures</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>slot: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getConfirmedSignaturesForAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Confirmed<wbr/>Signatures<wbr/>For<wbr/>Address<a href="#getConfirmedSignaturesForAddress" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1839</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a list of all the confirmed signatures for transactions involving an address
within a specified slot range. Max range allowed is 10,000 slots.</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since v1.3. Please use <a href="web3.Connection.html#getConfirmedSignaturesForAddress2">getConfirmedSignaturesForAddress2</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>address: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>queried address</p>
</div></div></li><li><h5>startSlot: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>start slot, inclusive</p>
</div></div></li><li><h5>endSlot: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>end slot, inclusive</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getConfirmedSignaturesForAddress2" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Confirmed<wbr/>Signatures<wbr/>For<wbr/>Address2<a href="#getConfirmedSignaturesForAddress2" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, options<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#ConfirmedSignaturesForAddress2Options" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedSignaturesForAddress2Options</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1852</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns confirmed signatures for transactions involving an
address backwards in time from the provided signature or most recent confirmed block</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>address: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>queried address</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules/web3.html#ConfirmedSignaturesForAddress2Options" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedSignaturesForAddress2Options</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getConfirmedTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Confirmed<wbr/>Transaction<a href="#getConfirmedTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.html#ConfirmedTransaction" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedTransaction</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1807</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a transaction details for a confirmed transaction</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since Solana v1.8.0. Please use <a href="web3.Connection.html#getTransaction">getTransaction</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><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/web3.html#ConfirmedTransaction" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedTransaction</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getEpochInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Epoch<wbr/>Info<a href="#getEpochInfo" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.html#EpochInfo" class="tsd-signature-type" data-tsd-kind="Type alias">EpochInfo</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1649</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the Epoch Info parameters</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#EpochInfo" class="tsd-signature-type" data-tsd-kind="Type alias">EpochInfo</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getEpochSchedule" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Epoch<wbr/>Schedule<a href="#getEpochSchedule" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.EpochSchedule.html" class="tsd-signature-type" data-tsd-kind="Class">EpochSchedule</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1653</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the Epoch Schedule parameters</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="web3.EpochSchedule.html" class="tsd-signature-type" data-tsd-kind="Class">EpochSchedule</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getFeeCalculatorForBlockhash" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Fee<wbr/>Calculator<wbr/>For<wbr/>Blockhash<a href="#getFeeCalculatorForBlockhash" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1689</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the fee calculator for a recent blockhash from the cluster, return with context</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since Solana v1.8.0. Please use <a href="web3.Connection.html#getFeeForMessage">getFeeForMessage</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>blockhash: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getFeeForMessage" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Fee<wbr/>For<wbr/>Message<a href="#getFeeForMessage" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Fee<wbr/>For<wbr/>Message<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="web3.Message.html" class="tsd-signature-type" data-tsd-kind="Class">Message</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1696</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the fee for a message from the cluster, return with context</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>message: <a href="web3.Message.html" class="tsd-signature-type" data-tsd-kind="Class">Message</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getFirstAvailableBlock" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>First<wbr/>Available<wbr/>Block<a href="#getFirstAvailableBlock" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1438</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the slot of the lowest confirmed block that has not been purged from the ledger</p>
</div></div><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getGenesisHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Genesis<wbr/>Hash<a href="#getGenesisHash" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Genesis<wbr/>Hash<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">string</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1735</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the genesis hash</p>
</div></div><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getInflationGovernor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Inflation<wbr/>Governor<a href="#getInflationGovernor" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.html#InflationGovernor" class="tsd-signature-type" data-tsd-kind="Type alias">InflationGovernor</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1637</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the cluster InflationGovernor parameters</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#InflationGovernor" class="tsd-signature-type" data-tsd-kind="Type alias">InflationGovernor</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getInflationReward" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Inflation<wbr/>Reward<a href="#getInflationReward" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Inflation<wbr/>Reward<span class="tsd-signature-symbol">(</span>addresses<span class="tsd-signature-symbol">: </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span>, epoch<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#InflationReward" class="tsd-signature-type" data-tsd-kind="Type alias">InflationReward</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1641</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the inflation reward for a list of addresses for an epoch</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>addresses: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> epoch: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#InflationReward" class="tsd-signature-type" data-tsd-kind="Type alias">InflationReward</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getLargestAccounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Largest<wbr/>Accounts<a href="#getLargestAccounts" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1496</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the 20 largest accounts with their current balances</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules/web3.html#GetLargestAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetLargestAccountsConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getLatestBlockhash" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Latest<wbr/>Blockhash<a href="#getLatestBlockhash" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Latest<wbr/>Blockhash<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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>lastValidBlockHeight<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1714</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the latest blockhash from the cluster</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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>lastValidBlockHeight<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span></h4><div><blockquote>
<p>}</p>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getLatestBlockhashAndContext" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Latest<wbr/>Blockhash<wbr/>And<wbr/>Context<a href="#getLatestBlockhashAndContext" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Latest<wbr/>Blockhash<wbr/>And<wbr/>Context<span class="tsd-signature-symbol">(</span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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>lastValidBlockHeight<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1722</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the latest blockhash from the cluster</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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>lastValidBlockHeight<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div><blockquote>
<p>}</p>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getLeaderSchedule" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Leader<wbr/>Schedule<a href="#getLeaderSchedule" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.html#LeaderSchedule" class="tsd-signature-type" data-tsd-kind="Type alias">LeaderSchedule</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1658</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the leader schedule for the current epoch</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#LeaderSchedule" class="tsd-signature-type" data-tsd-kind="Type alias">LeaderSchedule</a><span class="tsd-signature-symbol">&gt;</span></h4><div></div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getMinimumBalanceForRentExemption" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Minimum<wbr/>Balance<wbr/>For<wbr/>Rent<wbr/>Exemption<a href="#getMinimumBalanceForRentExemption" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1663</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the minimum balance needed to exempt an account of <code>dataLength</code>
size from rent</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>dataLength: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getMinimumLedgerSlot" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Minimum<wbr/>Ledger<wbr/>Slot<a href="#getMinimumLedgerSlot" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1434</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the lowest slot that the node has information about in its ledger.
This value may increase over time if the node is configured to purge older ledger data</p>
</div></div><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getMultipleAccountsInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info<a href="#getMultipleAccountsInfo" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info<span class="tsd-signature-symbol">(</span>publicKeys<span class="tsd-signature-symbol">: </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.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><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1540</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch all the account info for multiple accounts specified by an array of public keys</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKeys: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.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><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getMultipleAccountsInfoAndContext" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info<wbr/>And<wbr/>Context<a href="#getMultipleAccountsInfoAndContext" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info<wbr/>And<wbr/>Context<span class="tsd-signature-symbol">(</span>publicKeys<span class="tsd-signature-symbol">: </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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/web3.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><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1533</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch all the account info for multiple accounts specified by an array of public keys, return with context</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKeys: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getNonce" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Nonce<a href="#getNonce" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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="web3.NonceAccount.html" class="tsd-signature-type" data-tsd-kind="Class">NonceAccount</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1880</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the contents of a Nonce account from the cluster</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>nonceAccount: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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="web3.NonceAccount.html" class="tsd-signature-type" data-tsd-kind="Class">NonceAccount</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getNonceAndContext" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Nonce<wbr/>And<wbr/>Context<a href="#getNonceAndContext" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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="web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1873</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the contents of a Nonce account from the cluster, return with context</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>nonceAccount: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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="web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getParsedAccountInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Account<wbr/>Info<a href="#getParsedAccountInfo" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1517</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch parsed account info for the specified public key</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getParsedConfirmedTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Confirmed<wbr/>Transaction<a href="#getParsedConfirmedTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1816</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch parsed transaction details for a confirmed transaction</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since Solana v1.8.0. Please use <a href="web3.Connection.html#getParsedTransaction">getParsedTransaction</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><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/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getParsedConfirmedTransactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Confirmed<wbr/>Transactions<a href="#getParsedConfirmedTransactions" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Parsed<wbr/>Confirmed<wbr/>Transactions<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>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1825</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch parsed transaction details for a batch of confirmed transactions</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since Solana v1.8.0. Please use <a href="web3.Connection.html#getParsedTransactions">getParsedTransactions</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signatures: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getParsedProgramAccounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Program<wbr/>Accounts<a href="#getParsedProgramAccounts" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, configOrCommitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetParsedProgramAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetParsedProgramAccountsConfig</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/web3.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/web3.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="web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1571</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch and parse all the accounts owned by the specified program id</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>programId: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> configOrCommitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetParsedProgramAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetParsedProgramAccountsConfig</a></h5></li></ul><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/web3.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/web3.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="web3.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><div><blockquote>
<blockquote>
<p>}</p>
</blockquote>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getParsedTokenAccountsByOwner" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner<a href="#getParsedTokenAccountsByOwner" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Parsed<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner<span class="tsd-signature-symbol">(</span>ownerAddress<span class="tsd-signature-symbol">: </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, filter<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#TokenAccountsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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/web3.html#AccountInfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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="web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1481</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch parsed token accounts owned by the specified account</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>ownerAddress: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5>filter: <a href="../modules/web3.html#TokenAccountsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.html#AccountInfo" class="tsd-signature-type" data-tsd-kind="Type alias">AccountInfo</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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="web3.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><div><blockquote>
<blockquote>
<blockquote>
<p>}</p>
</blockquote>
</blockquote>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getParsedTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Transaction<a href="#getParsedTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Parsed<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/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1757</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch parsed transaction details for a confirmed or finalized transaction</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><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/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getParsedTransactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Transactions<a href="#getParsedTransactions" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Parsed<wbr/>Transactions<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>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1764</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch parsed transaction details for a batch of confirmed transactions</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signatures: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#ParsedTransactionWithMeta" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedTransactionWithMeta</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getProgramAccounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Program<wbr/>Accounts<a href="#getProgramAccounts" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, configOrCommitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetProgramAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetProgramAccountsConfig</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/web3.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="web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1557</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch all the accounts owned by the specified program id</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>programId: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> configOrCommitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetProgramAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetProgramAccountsConfig</a></h5></li></ul><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/web3.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="web3.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><div><blockquote>
<blockquote>
<p>}</p>
</blockquote>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getRecentBlockhash" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Recent<wbr/>Blockhash<a href="#getRecentBlockhash" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1706</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a recent blockhash from the cluster</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since Solana v1.8.0. Please use <a href="web3.Connection.html#getLatestBlockhash">getLatestBlockhash</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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/web3.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><div><blockquote>
<p>}</p>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getRecentBlockhashAndContext" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Recent<wbr/>Blockhash<wbr/>And<wbr/>Context<a href="#getRecentBlockhashAndContext" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1673</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a recent blockhash from the cluster, return with context</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since Solana v1.8.0. Please use <a href="web3.Connection.html#getLatestBlockhash">getLatestBlockhash</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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><div><blockquote>
<blockquote>
<p>}</p>
</blockquote>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getRecentPerformanceSamples" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Recent<wbr/>Performance<wbr/>Samples<a href="#getRecentPerformanceSamples" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1683</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch recent performance samples</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> limit: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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><div></div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getSignatureStatus" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Signature<wbr/>Status<a href="#getSignatureStatus" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1613</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current status of a signature</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules/web3.html#SignatureStatusConfig" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatusConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getSignatureStatuses" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Signature<wbr/>Statuses<a href="#getSignatureStatuses" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1620</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current statuses of a batch of signatures</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signatures: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules/web3.html#SignatureStatusConfig" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureStatusConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getSignaturesForAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Signatures<wbr/>For<wbr/>Address<a href="#getSignaturesForAddress" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Signatures<wbr/>For<wbr/>Address<span class="tsd-signature-symbol">(</span>address<span class="tsd-signature-symbol">: </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, options<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#SignaturesForAddressOptions" class="tsd-signature-type" data-tsd-kind="Type alias">SignaturesForAddressOptions</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1865</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns confirmed signatures for transactions involving an
address backwards in time from the provided signature or most recent confirmed block</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>address: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>queried address</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules/web3.html#SignaturesForAddressOptions" class="tsd-signature-type" data-tsd-kind="Type alias">SignaturesForAddressOptions</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getSlot" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Slot<a href="#getSlot" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1598</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current slot that the node is processing</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getSlotLeader" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Slot<wbr/>Leader<a href="#getSlotLeader" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1602</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current slot leader of the cluster</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getSlotLeaders" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Slot<wbr/>Leaders<a href="#getSlotLeaders" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Slot<wbr/>Leaders<span class="tsd-signature-symbol">(</span>startSlot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1609</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch <code>limit</code> number of slot leaders starting from <code>startSlot</code></p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>startSlot: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>fetch slot leaders starting from this slot</p>
</div></div></li><li><h5>limit: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>number of slot leaders to return</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getStakeActivation" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Stake<wbr/>Activation<a href="#getStakeActivation" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.html#StakeActivationData" class="tsd-signature-type" data-tsd-kind="Type alias">StakeActivationData</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1547</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Returns epoch activation information for a stake account that has been delegated</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> epoch: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#StakeActivationData" class="tsd-signature-type" data-tsd-kind="Type alias">StakeActivationData</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getSupply" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Supply<a href="#getSupply" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Supply<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetSupplyConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetSupplyConfig</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/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1442</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch information about the current supply</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetSupplyConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetSupplyConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getTokenAccountBalance" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Token<wbr/>Account<wbr/>Balance<a href="#getTokenAccountBalance" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1455</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current balance of a token account</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tokenAddress: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getTokenAccountsByOwner" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner<a href="#getTokenAccountsByOwner" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner<span class="tsd-signature-symbol">(</span>ownerAddress<span class="tsd-signature-symbol">: </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, filter<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#TokenAccountsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.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/web3.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="web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1464</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch all the token accounts owned by the specified account</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>ownerAddress: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5>filter: <a href="../modules/web3.html#TokenAccountsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAccountsFilter</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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/web3.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="web3.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><div><blockquote>
<blockquote>
<blockquote>
<p>}</p>
</blockquote>
</blockquote>
</blockquote>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getTokenLargestAccounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Token<wbr/>Largest<wbr/>Accounts<a href="#getTokenLargestAccounts" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1503</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the 20 largest token accounts with their current balances
for a given mint.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>mintAddress: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getTokenSupply" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Token<wbr/>Supply<a href="#getTokenSupply" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1448</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current supply of a token mint</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tokenMintAddress: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getTotalSupply" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Total<wbr/>Supply<a href="#getTotalSupply" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1633</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current total currency supply of the cluster in lamports</p>
</div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Deprecated since v1.2.8. Please use <a href="web3.Connection.html#getSupply">getSupply</a> instead.</p>
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Transaction<a href="#getTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">get<wbr/>Transaction<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, opts<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">{ </span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</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><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#TransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionResponse</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1748</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch a confirmed or finalized transaction from the cluster.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> opts: <span class="tsd-signature-symbol">{ </span>commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a></h5></li></ul></li></ul><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/web3.html#TransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getTransactionCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Transaction<wbr/>Count<a href="#getTransactionCount" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1627</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the current transaction count of the cluster</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getVersion" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Version<a href="#getVersion" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.html#Version" class="tsd-signature-type" data-tsd-kind="Type alias">Version</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1731</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Fetch the node version</p>
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#Version" class="tsd-signature-type" data-tsd-kind="Type alias">Version</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="getVoteAccounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Vote<wbr/>Accounts<a href="#getVoteAccounts" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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/web3.html#VoteAccountStatus" class="tsd-signature-type" data-tsd-kind="Type alias">VoteAccountStatus</a><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1594</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Return the list of nodes that are currently participating in the cluster</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#VoteAccountStatus" class="tsd-signature-type" data-tsd-kind="Type alias">VoteAccountStatus</a><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onAccountChange" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Account<wbr/>Change<a href="#onAccountChange" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, callback<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#AccountChangeCallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccountChangeCallback</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1942</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Register a callback to be invoked whenever the specified account changes</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Public key of the account to monitor</p>
</div></div></li><li><h5>callback: <a href="../modules/web3.html#AccountChangeCallback" class="tsd-signature-type" data-tsd-kind="Type alias">AccountChangeCallback</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Function to invoke whenever the account is changed</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Specify the commitment level account changes must reach before notification</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>subscription id</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onLogs" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Logs<a href="#onLogs" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">on<wbr/>Logs<span class="tsd-signature-symbol">(</span>filter<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#LogsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">LogsFilter</a>, callback<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#LogsCallback" class="tsd-signature-type" data-tsd-kind="Type alias">LogsCallback</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1978</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Registers a callback to be invoked whenever logs are emitted.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>filter: <a href="../modules/web3.html#LogsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">LogsFilter</a></h5></li><li><h5>callback: <a href="../modules/web3.html#LogsCallback" class="tsd-signature-type" data-tsd-kind="Type alias">LogsCallback</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onProgramAccountChange" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Program<wbr/>Account<wbr/>Change<a href="#onProgramAccountChange" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, callback<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#ProgramAccountChangeCallback" class="tsd-signature-type" data-tsd-kind="Type alias">ProgramAccountChangeCallback</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a>, filters<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetProgramAccountsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">GetProgramAccountsFilter</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1963</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Register a callback to be invoked whenever accounts owned by the
specified program change</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>programId: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Public key of the program to monitor</p>
</div></div></li><li><h5>callback: <a href="../modules/web3.html#ProgramAccountChangeCallback" class="tsd-signature-type" data-tsd-kind="Type alias">ProgramAccountChangeCallback</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Function to invoke whenever the account is changed</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Specify the commitment level account changes must reach before notification</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> filters: <a href="../modules/web3.html#GetProgramAccountsFilter" class="tsd-signature-type" data-tsd-kind="Type alias">GetProgramAccountsFilter</a><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>The program account filters to pass into the RPC method</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>subscription id</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onRootChange" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Root<wbr/>Change<a href="#onRootChange" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2062</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Register a callback to be invoked upon root changes</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callback: <a href="../modules/web3.html#RootChangeCallback" class="tsd-signature-type" data-tsd-kind="Type alias">RootChangeCallback</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Function to invoke whenever the root changes</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>subscription id</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onSignature" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Signature<a href="#onSignature" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.html#SignatureResultCallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResultCallback</a>, commitment<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2030</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Register a callback to be invoked upon signature updates</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Transaction signature string in base 58</p>
</div></div></li><li><h5>callback: <a href="../modules/web3.html#SignatureResultCallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResultCallback</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Function to invoke on signature notifications</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> commitment: <a href="../modules/web3.html#Commitment" class="tsd-signature-type" data-tsd-kind="Type alias">Commitment</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Specify the commitment level signature must reach before notification</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>subscription id</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onSignatureWithOptions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Signature<wbr/>With<wbr/>Options<a href="#onSignatureWithOptions" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.html#SignatureSubscriptionCallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureSubscriptionCallback</a>, options<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2045</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Register a callback to be invoked when a transaction is
received and/or processed.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>signature: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Transaction signature string in base 58</p>
</div></div></li><li><h5>callback: <a href="../modules/web3.html#SignatureSubscriptionCallback" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureSubscriptionCallback</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Function to invoke on signature notifications</p>
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules/web3.html#SignatureSubscriptionOptions" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureSubscriptionOptions</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Enable received notifications and set the commitment
level that signature must reach before notification</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>subscription id</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onSlotChange" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Slot<wbr/>Change<a href="#onSlotChange" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1995</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Register a callback to be invoked upon slot changes</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callback: <a href="../modules/web3.html#SlotChangeCallback" class="tsd-signature-type" data-tsd-kind="Type alias">SlotChangeCallback</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Function to invoke whenever the slot changes</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>subscription id</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="onSlotUpdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">on<wbr/>Slot<wbr/>Update<a href="#onSlotUpdate" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">on<wbr/>Slot<wbr/>Update<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#SlotUpdateCallback" class="tsd-signature-type" data-tsd-kind="Type alias">SlotUpdateCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2009</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Register a callback to be invoked upon slot updates. <a href="../modules/web3.html#SlotUpdate">SlotUpdate</a>&#39;s
may be useful to track live progress of a cluster.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>callback: <a href="../modules/web3.html#SlotUpdateCallback" class="tsd-signature-type" data-tsd-kind="Type alias">SlotUpdateCallback</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>Function to invoke whenever the slot updates</p>
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>subscription id</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="removeAccountChangeListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Account<wbr/>Change<wbr/>Listener<a href="#removeAccountChangeListener" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1952</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Deregister an account notification callback</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>subscription id to deregister</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="removeOnLogsListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>On<wbr/>Logs<wbr/>Listener<a href="#removeOnLogsListener" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">remove<wbr/>On<wbr/>Logs<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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1988</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Deregister a logs callback.</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>subscription id to deregister.</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="removeProgramAccountChangeListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Program<wbr/>Account<wbr/>Change<wbr/>Listener<a href="#removeProgramAccountChangeListener" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1974</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Deregister an account notification callback</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>subscription id to deregister</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="removeRootChangeListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Root<wbr/>Change<wbr/>Listener<a href="#removeRootChangeListener" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2068</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Deregister a root notification callback</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>subscription id to deregister</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="removeSignatureListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Signature<wbr/>Listener<a href="#removeSignatureListener" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2055</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Deregister a signature notification callback</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>subscription id to deregister</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="removeSlotChangeListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Slot<wbr/>Change<wbr/>Listener<a href="#removeSlotChangeListener" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2001</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Deregister a slot notification callback</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>subscription id to deregister</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="removeSlotUpdateListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Slot<wbr/>Update<wbr/>Listener<a href="#removeSlotUpdateListener" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Slot<wbr/>Update<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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:2015</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Deregister a slot update notification callback</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>id: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
<p>subscription id to deregister</p>
</div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="requestAirdrop" class="tsd-anchor"></a><h3 class="tsd-anchor-link">request<wbr/>Airdrop<a href="#requestAirdrop" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, lamports<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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1898</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Request an allocation of lamports to the specified address</p>
</div><div><pre><code class="language-typescript"><span class="hl-4">import</span><span class="hl-1"> { </span><span class="hl-0">Connection</span><span class="hl-1">, </span><span class="hl-0">PublicKey</span><span class="hl-1">, </span><span class="hl-0">LAMPORTS_PER_SOL</span><span class="hl-1"> } </span><span class="hl-4">from</span><span class="hl-1"> </span><span class="hl-6">&quot;@solana/web3.js&quot;</span><span class="hl-1">;</span><br/><br/><span class="hl-1">(</span><span class="hl-2">async</span><span class="hl-1"> () </span><span class="hl-2">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-3">connection</span><span class="hl-1"> = </span><span class="hl-2">new</span><span class="hl-1"> </span><span class="hl-5">Connection</span><span class="hl-1">(</span><span class="hl-6">&quot;https://api.testnet.solana.com&quot;</span><span class="hl-1">, </span><span class="hl-6">&quot;confirmed&quot;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-3">myAddress</span><span class="hl-1"> = </span><span class="hl-2">new</span><span class="hl-1"> </span><span class="hl-5">PublicKey</span><span class="hl-1">(</span><span class="hl-6">&quot;2nr1bHFT86W9tGnyvmYW4vcHKsQB3sVQfnddasz4kExM&quot;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-2">const</span><span class="hl-1"> </span><span class="hl-3">signature</span><span class="hl-1"> = </span><span class="hl-4">await</span><span class="hl-1"> </span><span class="hl-0">connection</span><span class="hl-1">.</span><span class="hl-5">requestAirdrop</span><span class="hl-1">(</span><span class="hl-0">myAddress</span><span class="hl-1">, </span><span class="hl-3">LAMPORTS_PER_SOL</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-4">await</span><span class="hl-1"> </span><span class="hl-0">connection</span><span class="hl-1">.</span><span class="hl-5">confirmTransaction</span><span class="hl-1">(</span><span class="hl-0">signature</span><span class="hl-1">);</span><br/><span class="hl-1">})();</span>
</code></pre>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>to: <a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a></h5></li><li><h5>lamports: <span class="tsd-signature-type">number</span></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="sendEncodedTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">send<wbr/>Encoded<wbr/>Transaction<a href="#sendEncodedTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1930</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Send a transaction that has already been signed, serialized into the
wire format, and encoded as a base64 string</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>encodedTransaction: <span class="tsd-signature-type">string</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules/web3.html#SendOptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="sendRawTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">send<wbr/>Raw<wbr/>Transaction<a href="#sendRawTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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">number</span><span class="tsd-signature-symbol">[]</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">Buffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1922</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Send a transaction that has already been signed and serialized into the
wire format</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>rawTransaction: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</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">Buffer</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules/web3.html#SendOptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="sendTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">send<wbr/>Transaction<a href="#sendTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><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="web3.Transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a>, signers<span class="tsd-signature-symbol">: </span><a href="../interfaces/web3.Signer.html" class="tsd-signature-type" data-tsd-kind="Interface">Signer</a><span class="tsd-signature-symbol">[]</span>, options<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1913</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Sign and send a transaction</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>transaction: <a href="web3.Transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a></h5></li><li><h5>signers: <a href="../interfaces/web3.Signer.html" class="tsd-signature-type" data-tsd-kind="Interface">Signer</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../modules/web3.html#SendOptions" class="tsd-signature-type" data-tsd-kind="Type alias">SendOptions</a></h5></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external"><a id="simulateTransaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">simulate<wbr/>Transaction<a href="#simulateTransaction" 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><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external"><li class="tsd-signature tsd-kind-icon">simulate<wbr/>Transaction<span class="tsd-signature-symbol">(</span>transactionOrMessage<span class="tsd-signature-symbol">: </span><a href="web3.Transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a><span class="tsd-signature-symbol"> | </span><a href="web3.Message.html" class="tsd-signature-type" data-tsd-kind="Class">Message</a>, signers<span class="tsd-signature-symbol">?: </span><a href="../interfaces/web3.Signer.html" class="tsd-signature-type" data-tsd-kind="Interface">Signer</a><span class="tsd-signature-symbol">[]</span>, includeAccounts<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><a href="web3.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">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:1905</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
<p>Simulate a transaction</p>
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>transactionOrMessage: <a href="web3.Transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</a><span class="tsd-signature-symbol"> | </span><a href="web3.Message.html" class="tsd-signature-type" data-tsd-kind="Class">Message</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> signers: <a href="../interfaces/web3.Signer.html" class="tsd-signature-type" data-tsd-kind="Interface">Signer</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> includeAccounts: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/web3.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></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Exports</a></li><li class="label tsd-is-external"><span>Internals</span></li><li class=" tsd-kind-namespace"><a href="../modules/utils.html">utils</a></li><li class="label tsd-is-external"><span>Externals</span></li><li class=" tsd-kind-namespace tsd-is-external"><a href="../modules/BN.html">BN</a></li><li class="current tsd-kind-namespace tsd-is-external"><a href="../modules/web3.html">web3</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-namespace tsd-is-external"><a href="web3.Connection.html" class="tsd-kind-icon">Connection</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#commitment" class="tsd-kind-icon">commitment</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#_buildArgs" class="tsd-kind-icon">_build<wbr/>Args</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#confirmTransaction" class="tsd-kind-icon">confirm<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getAccountInfo" class="tsd-kind-icon">get<wbr/>Account<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getAccountInfoAndContext" class="tsd-kind-icon">get<wbr/>Account<wbr/>Info<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBalance" class="tsd-kind-icon">get<wbr/>Balance</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBalanceAndContext" class="tsd-kind-icon">get<wbr/>Balance<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlock" class="tsd-kind-icon">get<wbr/>Block</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlockSignatures" class="tsd-kind-icon">get<wbr/>Block<wbr/>Signatures</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlockTime" class="tsd-kind-icon">get<wbr/>Block<wbr/>Time</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlocks" class="tsd-kind-icon">get<wbr/>Blocks</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getClusterNodes" class="tsd-kind-icon">get<wbr/>Cluster<wbr/>Nodes</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedBlock" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Block</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedBlockSignatures" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Block<wbr/>Signatures</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedSignaturesForAddress" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Signatures<wbr/>For<wbr/>Address</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedSignaturesForAddress2" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Signatures<wbr/>For<wbr/>Address2</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getConfirmedTransaction" class="tsd-kind-icon">get<wbr/>Confirmed<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getEpochInfo" class="tsd-kind-icon">get<wbr/>Epoch<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getEpochSchedule" class="tsd-kind-icon">get<wbr/>Epoch<wbr/>Schedule</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getFeeCalculatorForBlockhash" class="tsd-kind-icon">get<wbr/>Fee<wbr/>Calculator<wbr/>For<wbr/>Blockhash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getFeeForMessage" class="tsd-kind-icon">get<wbr/>Fee<wbr/>For<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getFirstAvailableBlock" class="tsd-kind-icon">get<wbr/>First<wbr/>Available<wbr/>Block</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getGenesisHash" class="tsd-kind-icon">get<wbr/>Genesis<wbr/>Hash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getInflationGovernor" class="tsd-kind-icon">get<wbr/>Inflation<wbr/>Governor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getInflationReward" class="tsd-kind-icon">get<wbr/>Inflation<wbr/>Reward</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLargestAccounts" class="tsd-kind-icon">get<wbr/>Largest<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLatestBlockhash" class="tsd-kind-icon">get<wbr/>Latest<wbr/>Blockhash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLatestBlockhashAndContext" class="tsd-kind-icon">get<wbr/>Latest<wbr/>Blockhash<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getLeaderSchedule" class="tsd-kind-icon">get<wbr/>Leader<wbr/>Schedule</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMinimumBalanceForRentExemption" class="tsd-kind-icon">get<wbr/>Minimum<wbr/>Balance<wbr/>For<wbr/>Rent<wbr/>Exemption</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMinimumLedgerSlot" class="tsd-kind-icon">get<wbr/>Minimum<wbr/>Ledger<wbr/>Slot</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMultipleAccountsInfo" class="tsd-kind-icon">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getMultipleAccountsInfoAndContext" class="tsd-kind-icon">get<wbr/>Multiple<wbr/>Accounts<wbr/>Info<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getNonce" class="tsd-kind-icon">get<wbr/>Nonce</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getNonceAndContext" class="tsd-kind-icon">get<wbr/>Nonce<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedAccountInfo" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Account<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedConfirmedTransaction" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Confirmed<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedConfirmedTransactions" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Confirmed<wbr/>Transactions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedProgramAccounts" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Program<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedTokenAccountsByOwner" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedTransaction" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getParsedTransactions" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Transactions</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getProgramAccounts" class="tsd-kind-icon">get<wbr/>Program<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getRecentBlockhash" class="tsd-kind-icon">get<wbr/>Recent<wbr/>Blockhash</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getRecentBlockhashAndContext" class="tsd-kind-icon">get<wbr/>Recent<wbr/>Blockhash<wbr/>And<wbr/>Context</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getRecentPerformanceSamples" class="tsd-kind-icon">get<wbr/>Recent<wbr/>Performance<wbr/>Samples</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSignatureStatus" class="tsd-kind-icon">get<wbr/>Signature<wbr/>Status</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSignatureStatuses" class="tsd-kind-icon">get<wbr/>Signature<wbr/>Statuses</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSignaturesForAddress" class="tsd-kind-icon">get<wbr/>Signatures<wbr/>For<wbr/>Address</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSlot" class="tsd-kind-icon">get<wbr/>Slot</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSlotLeader" class="tsd-kind-icon">get<wbr/>Slot<wbr/>Leader</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSlotLeaders" class="tsd-kind-icon">get<wbr/>Slot<wbr/>Leaders</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getStakeActivation" class="tsd-kind-icon">get<wbr/>Stake<wbr/>Activation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getSupply" class="tsd-kind-icon">get<wbr/>Supply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenAccountBalance" class="tsd-kind-icon">get<wbr/>Token<wbr/>Account<wbr/>Balance</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenAccountsByOwner" class="tsd-kind-icon">get<wbr/>Token<wbr/>Accounts<wbr/>By<wbr/>Owner</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenLargestAccounts" class="tsd-kind-icon">get<wbr/>Token<wbr/>Largest<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTokenSupply" class="tsd-kind-icon">get<wbr/>Token<wbr/>Supply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTotalSupply" class="tsd-kind-icon">get<wbr/>Total<wbr/>Supply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTransaction" class="tsd-kind-icon">get<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getTransactionCount" class="tsd-kind-icon">get<wbr/>Transaction<wbr/>Count</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getVersion" class="tsd-kind-icon">get<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getVoteAccounts" class="tsd-kind-icon">get<wbr/>Vote<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onAccountChange" class="tsd-kind-icon">on<wbr/>Account<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onLogs" class="tsd-kind-icon">on<wbr/>Logs</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onProgramAccountChange" class="tsd-kind-icon">on<wbr/>Program<wbr/>Account<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onRootChange" class="tsd-kind-icon">on<wbr/>Root<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSignature" class="tsd-kind-icon">on<wbr/>Signature</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSignatureWithOptions" class="tsd-kind-icon">on<wbr/>Signature<wbr/>With<wbr/>Options</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSlotChange" class="tsd-kind-icon">on<wbr/>Slot<wbr/>Change</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#onSlotUpdate" class="tsd-kind-icon">on<wbr/>Slot<wbr/>Update</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeAccountChangeListener" class="tsd-kind-icon">remove<wbr/>Account<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeOnLogsListener" class="tsd-kind-icon">remove<wbr/>On<wbr/>Logs<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeProgramAccountChangeListener" class="tsd-kind-icon">remove<wbr/>Program<wbr/>Account<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeRootChangeListener" class="tsd-kind-icon">remove<wbr/>Root<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeSignatureListener" class="tsd-kind-icon">remove<wbr/>Signature<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeSlotChangeListener" class="tsd-kind-icon">remove<wbr/>Slot<wbr/>Change<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#removeSlotUpdateListener" class="tsd-kind-icon">remove<wbr/>Slot<wbr/>Update<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#requestAirdrop" class="tsd-kind-icon">request<wbr/>Airdrop</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#sendEncodedTransaction" class="tsd-kind-icon">send<wbr/>Encoded<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#sendRawTransaction" class="tsd-kind-icon">send<wbr/>Raw<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#sendTransaction" class="tsd-kind-icon">send<wbr/>Transaction</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#simulateTransaction" class="tsd-kind-icon">simulate<wbr/>Transaction</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-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited 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><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</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>