123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321 |
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Connection | @coral-xyz/anchor - v0.29.0</title><meta name="description" content="Documentation for @coral-xyz/anchor - v0.29.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">@coral-xyz/anchor - v0.29.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">@coral-xyz/anchor - v0.29.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><li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#rpcEndpoint" class="tsd-kind-icon">rpc<wbr/>Endpoint</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#getAddressLookupTable" class="tsd-kind-icon">get<wbr/>Address<wbr/>Lookup<wbr/>Table</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#getBlockHeight" class="tsd-kind-icon">get<wbr/>Block<wbr/>Height</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlockProduction" class="tsd-kind-icon">get<wbr/>Block<wbr/>Production</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#getMultipleParsedAccounts" class="tsd-kind-icon">get<wbr/>Multiple<wbr/>Parsed<wbr/>Accounts</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#getParsedBlock" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Block</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#getStakeMinimumDelegation" class="tsd-kind-icon">get<wbr/>Stake<wbr/>Minimum<wbr/>Delegation</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#getTransactions" class="tsd-kind-icon">get<wbr/>Transactions</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:3299</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:3306</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 class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-external"><a id="rpcEndpoint" class="tsd-anchor"></a><h3 class="tsd-anchor-link">rpc<wbr/>Endpoint<a href="#rpcEndpoint" 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> rpcEndpoint<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</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:3310</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>The RPC endpoint</p>
- </div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></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">"base64"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"jsonParsed"</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:4069</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">"base64"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"jsonParsed"</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>strategy<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#BlockheightBasedTransactionConfirmationStrategy" class="tsd-signature-type" data-tsd-kind="Type alias">BlockheightBasedTransactionConfirmationStrategy</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#DurableNonceTransactionConfirmationStrategy" class="tsd-signature-type" data-tsd-kind="Type alias">DurableNonceTransactionConfirmationStrategy</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SignatureResult" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></li><li class="tsd-signature tsd-kind-icon">confirm<wbr/>Transaction<span class="tsd-signature-symbol">(</span>strategy<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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SignatureResult" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResult</a><span class="tsd-signature-symbol">></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:3488</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <code>confirmTransaction</code> using a <code>TransactionConfirmationConfig</code></p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>strategy: <a href="../modules/web3.html#BlockheightBasedTransactionConfirmationStrategy" class="tsd-signature-type" data-tsd-kind="Type alias">BlockheightBasedTransactionConfirmationStrategy</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#DurableNonceTransactionConfirmationStrategy" class="tsd-signature-type" data-tsd-kind="Type alias">DurableNonceTransactionConfirmationStrategy</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SignatureResult" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3495</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <code>confirmTransaction</code> using a <code>TransactionConfirmationConfig</code></p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>strategy: <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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SignatureResult" class="tsd-signature-type" data-tsd-kind="Type alias">SignatureResult</a><span class="tsd-signature-symbol">></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="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>, 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#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</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"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></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:3425</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> 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#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></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="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>, 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#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></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:3409</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> 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#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></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="getAddressLookupTable" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Address<wbr/>Lookup<wbr/>Table<a href="#getAddressLookupTable" 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/>Address<wbr/>Lookup<wbr/>Table<span class="tsd-signature-symbol">(</span>accountKey<span class="tsd-signature-symbol">: </span><a href="web3.PublicKey.html" class="tsd-signature-type" data-tsd-kind="Class">PublicKey</a>, config<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="web3.AddressLookupTableAccount.html" class="tsd-signature-type" data-tsd-kind="Class">AddressLookupTableAccount</a><span class="tsd-signature-symbol">></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:3883</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>accountKey: <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> config: <a href="../modules/web3.html#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="web3.AddressLookupTableAccount.html" class="tsd-signature-type" data-tsd-kind="Class">AddressLookupTableAccount</a><span class="tsd-signature-symbol">></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="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>, 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#GetBalanceConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBalanceConfig</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"><</span><span class="tsd-signature-type">number</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:3321</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> 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#GetBalanceConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBalanceConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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="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>, 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#GetBalanceConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBalanceConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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:3314</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> 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#GetBalanceConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBalanceConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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>, rawConfig<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockConfig</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"><</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">></span></li><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>, rawConfig<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#GetBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"accounts"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></li><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>, rawConfig<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#GetBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"none"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedNoneModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedNoneModeBlockResponse</a><span class="tsd-signature-symbol">></span></li><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>, rawConfig<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedBlockResponse</a><span class="tsd-signature-symbol">></span></li><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>, rawConfig<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"accounts"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></li><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>, rawConfig<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"none"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedNoneModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedNoneModeBlockResponse</a><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:3660</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Fetch a processed block from the cluster.</p>
- </div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <code>getBlock</code> using a <code>GetVersionedBlockConfig</code> by
- setting the <code>maxSupportedTransactionVersion</code> property.</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> rawConfig: <a href="../modules/web3.html#GetBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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#BlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">BlockResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3668</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <code>getBlock</code> using a <code>GetVersionedBlockConfig</code> by
- setting the <code>maxSupportedTransactionVersion</code> property.</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>rawConfig: <a href="../modules/web3.html#GetBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"accounts"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3678</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <code>getBlock</code> using a <code>GetVersionedBlockConfig</code> by
- setting the <code>maxSupportedTransactionVersion</code> property.</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>rawConfig: <a href="../modules/web3.html#GetBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"none"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedNoneModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedNoneModeBlockResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3687</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> rawConfig: <a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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#VersionedBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedBlockResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3691</li></ul></aside><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>rawConfig: <a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"accounts"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3697</li></ul></aside><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>rawConfig: <a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"none"</span><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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedNoneModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedNoneModeBlockResponse</a><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="getBlockHeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Block<wbr/>Height<a href="#getBlockHeight" 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/>Height<span class="tsd-signature-symbol">(</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#GetBlockHeightConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockHeightConfig</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"><</span><span class="tsd-signature-type">number</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:3722</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><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#GetBlockHeightConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockHeightConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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="getBlockProduction" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Block<wbr/>Production<a href="#getBlockProduction" 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/>Production<span class="tsd-signature-symbol">(</span>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#GetBlockProductionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockProductionConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>byIdentity<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">readonly </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>range<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>firstSlot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>lastSlot<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-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></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:3725</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><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#GetBlockProductionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetBlockProductionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>byIdentity<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">readonly </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>range<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>firstSlot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>lastSlot<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-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></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="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"><</span><a href="../modules/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><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:3802</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"><</span><a href="../modules/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><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="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"><</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">></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:3328</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"><</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">></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"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</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:3794</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"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</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="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"><</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">></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:3506</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"><</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">></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"><</span><a href="../modules/web3.html#ConfirmedBlock" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedBlock</a><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:3787</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"><</span><a href="../modules/web3.html#ConfirmedBlock" class="tsd-signature-type" data-tsd-kind="Type alias">ConfirmedBlock</a><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="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"><</span><a href="../modules/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><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:3811</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"><</span><a href="../modules/web3.html#BlockSignatures" class="tsd-signature-type" data-tsd-kind="Type alias">BlockSignatures</a><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="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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</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:3852</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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</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="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"><</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">></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:3865</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"><</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">></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"><</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">></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:3820</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"><</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">></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>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#GetEpochInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetEpochInfoConfig</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"><</span><a href="../modules/web3.html#EpochInfo" class="tsd-signature-type" data-tsd-kind="Type alias">EpochInfo</a><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:3569</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> 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#GetEpochInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetEpochInfoConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#EpochInfo" class="tsd-signature-type" data-tsd-kind="Type alias">EpochInfo</a><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="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"><</span><a href="web3.EpochSchedule.html" class="tsd-signature-type" data-tsd-kind="Class">EpochSchedule</a><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:3575</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"><</span><a href="web3.EpochSchedule.html" class="tsd-signature-type" data-tsd-kind="Class">EpochSchedule</a><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="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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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:3611</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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="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="../modules/web3.html" class="tsd-signature-type" data-tsd-kind="Namespace">web3</a><span class="tsd-signature-symbol">.</span><a href="../modules/web3.html#VersionedMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">VersionedMessage</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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:3618</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="../modules/web3.html" class="tsd-signature-type" data-tsd-kind="Namespace">web3</a><span class="tsd-signature-symbol">.</span><a href="../modules/web3.html#VersionedMessage-1" class="tsd-signature-type" data-tsd-kind="Variable">VersionedMessage</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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"><</span><span class="tsd-signature-type">number</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:3337</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"><</span><span class="tsd-signature-type">number</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="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"><</span><span class="tsd-signature-type">string</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:3653</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"><</span><span class="tsd-signature-type">string</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="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"><</span><a href="../modules/web3.html#InflationGovernor" class="tsd-signature-type" data-tsd-kind="Type alias">InflationGovernor</a><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:3557</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"><</span><a href="../modules/web3.html#InflationGovernor" class="tsd-signature-type" data-tsd-kind="Type alias">InflationGovernor</a><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="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>, 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#GetInflationRewardConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetInflationRewardConfig</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"><</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">></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:3561</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> 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#GetInflationRewardConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetInflationRewardConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</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">></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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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:3395</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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="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>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#GetLatestBlockhashConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetLatestBlockhashConfig</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"><</span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</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">></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:3636</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> 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#GetLatestBlockhashConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetLatestBlockhashConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</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">></span><span class="tsd-signature-symbol">></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="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>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#GetLatestBlockhashConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetLatestBlockhashConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</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">></span><span class="tsd-signature-symbol">></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:3643</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> 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#GetLatestBlockhashConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetLatestBlockhashConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</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">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></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="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"><</span><a href="../modules/web3.html#LeaderSchedule" class="tsd-signature-type" data-tsd-kind="Type alias">LeaderSchedule</a><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:3580</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"><</span><a href="../modules/web3.html#LeaderSchedule" class="tsd-signature-type" data-tsd-kind="Type alias">LeaderSchedule</a><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">number</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:3585</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"><</span><span class="tsd-signature-type">number</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="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"><</span><span class="tsd-signature-type">number</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:3333</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"><</span><span class="tsd-signature-type">number</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="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>, 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#GetMultipleAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetMultipleAccountsConfig</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"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</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:3448</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> 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#GetMultipleAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetMultipleAccountsConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</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="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>, 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#GetMultipleAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetMultipleAccountsConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></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:3441</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> 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#GetMultipleAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetMultipleAccountsConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></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="getMultipleParsedAccounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Multiple<wbr/>Parsed<wbr/>Accounts<a href="#getMultipleParsedAccounts" 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/>Parsed<wbr/>Accounts<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>, rawConfig<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetMultipleAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetMultipleAccountsConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</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">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></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:3432</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> rawConfig: <a href="../modules/web3.html#GetMultipleAccountsConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetMultipleAccountsConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</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">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></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="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>, 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#GetNonceConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetNonceConfig</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"><</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">></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:3897</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> 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#GetNonceConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetNonceConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</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">></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>, 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#GetNonceAndContextConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetNonceAndContextConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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:3890</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> 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#GetNonceAndContextConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetNonceAndContextConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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="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>, 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#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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"><</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">></span><span class="tsd-signature-symbol">></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:3416</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> 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#GetAccountInfoConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetAccountInfoConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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"><</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">></span><span class="tsd-signature-symbol">></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="getParsedBlock" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Parsed<wbr/>Block<a href="#getParsedBlock" 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/>Block<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rawConfig<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</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"><</span><a href="../modules/web3.html#ParsedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></li><li class="tsd-signature tsd-kind-icon">get<wbr/>Parsed<wbr/>Block<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rawConfig<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"accounts"</span><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"><</span><a href="../modules/web3.html#ParsedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></li><li class="tsd-signature tsd-kind-icon">get<wbr/>Parsed<wbr/>Block<span class="tsd-signature-symbol">(</span>slot<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, rawConfig<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"none"</span><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"><</span><a href="../modules/web3.html#ParsedNoneModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedNoneModeBlockResponse</a><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:3706</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Fetch parsed transaction details for a confirmed or finalized 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><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> rawConfig: <a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#ParsedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3710</li></ul></aside><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>rawConfig: <a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"accounts"</span><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"><</span><a href="../modules/web3.html#ParsedAccountsModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountsModeBlockResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3716</li></ul></aside><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>rawConfig: <a href="../modules/web3.html#GetVersionedBlockConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedBlockConfig</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>transactionDetails<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"none"</span><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"><</span><a href="../modules/web3.html#ParsedNoneModeBlockResponse" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedNoneModeBlockResponse</a><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="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"><</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></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:3829</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"><</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></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"><</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">></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:3838</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"><</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">></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"><</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"><</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">></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">></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:3479</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"><</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"><</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">></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">></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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</span><a href="../modules/web3.html#ParsedAccountData" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">></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">></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:3380</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</span><a href="../modules/web3.html#ParsedAccountData" class="tsd-signature-type" data-tsd-kind="Type alias">ParsedAccountData</a><span class="tsd-signature-symbol">></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">></span><span class="tsd-signature-symbol">></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>, commitmentOrConfig<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><a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</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"><</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></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:3749</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> commitmentOrConfig: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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></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>, commitmentOrConfig<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><a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</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"><</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">></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:3756</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> commitmentOrConfig: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</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">></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"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></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">></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:3465</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"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></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">></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"><</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">></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:3628</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"><</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">></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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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:3595</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></span><span class="tsd-signature-symbol">></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"><</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">></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:3605</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"><</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">></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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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:3531</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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:3538</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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="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"><</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">></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:3878</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"><</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">></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>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#GetSlotConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetSlotConfig</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"><</span><span class="tsd-signature-type">number</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:3514</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> 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#GetSlotConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetSlotConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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="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>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#GetSlotLeaderConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetSlotLeaderConfig</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"><</span><span class="tsd-signature-type">string</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:3518</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> 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#GetSlotLeaderConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetSlotLeaderConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</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="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"><</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></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:3527</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"><</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></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>, 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#GetStakeActivationConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetStakeActivationConfig</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"><</span><a href="../modules/web3.html#StakeActivationData" class="tsd-signature-type" data-tsd-kind="Type alias">StakeActivationData</a><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:3455</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> 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#GetStakeActivationConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetStakeActivationConfig</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"><</span><a href="../modules/web3.html#StakeActivationData" class="tsd-signature-type" data-tsd-kind="Type alias">StakeActivationData</a><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="getStakeMinimumDelegation" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Stake<wbr/>Minimum<wbr/>Delegation<a href="#getStakeMinimumDelegation" 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/>Minimum<wbr/>Delegation<span class="tsd-signature-symbol">(</span>config<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetStakeMinimumDelegationConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetStakeMinimumDelegationConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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:3922</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>get the stake minimum delegation</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#GetStakeMinimumDelegationConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetStakeMinimumDelegationConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><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></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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#Supply" class="tsd-signature-type" data-tsd-kind="Type alias">Supply</a><span class="tsd-signature-symbol">></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:3341</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#Supply" class="tsd-signature-type" data-tsd-kind="Type alias">Supply</a><span class="tsd-signature-symbol">></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="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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#TokenAmount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">></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:3354</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#TokenAmount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">></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="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>, 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#GetTokenAccountsByOwnerConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTokenAccountsByOwnerConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></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">></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:3363</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> 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#GetTokenAccountsByOwnerConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTokenAccountsByOwnerConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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"><</span><span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">></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">></span><span class="tsd-signature-symbol">></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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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:3402</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</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">></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="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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#TokenAmount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">></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:3347</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#TokenAmount" class="tsd-signature-type" data-tsd-kind="Type alias">TokenAmount</a><span class="tsd-signature-symbol">></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="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"><</span><span class="tsd-signature-type">number</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:3553</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"><</span><span class="tsd-signature-type">number</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="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>, rawConfig<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#GetTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTransactionConfig</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"><</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">></span></li><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>, rawConfig<span class="tsd-signature-symbol">: </span><a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</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"><</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#VersionedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedTransactionResponse</a><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:3735</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Fetch a confirmed or finalized transaction from the cluster.</p>
- </div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <code>getTransaction</code> using a
- <code>GetVersionedTransactionConfig</code> by setting the
- <code>maxSupportedTransactionVersion</code> property.</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> rawConfig: <a href="../modules/web3.html#GetTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTransactionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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#TransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionResponse</a><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3742</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>rawConfig: <a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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#VersionedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedTransactionResponse</a><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="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>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#GetTransactionCountConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTransactionCountConfig</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"><</span><span class="tsd-signature-type">number</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:3545</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> 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#GetTransactionCountConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTransactionCountConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</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="getTransactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Transactions<a href="#getTransactions" 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/>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>, commitmentOrConfig<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><a href="../modules/web3.html#GetTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTransactionConfig</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"><</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#TransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li><li class="tsd-signature tsd-kind-icon">get<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>, commitmentOrConfig<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><a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</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"><</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#VersionedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedTransactionResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</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:3768</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Fetch transaction details for a batch of confirmed transactions.
- Similar to <a href="web3.Connection.html#getParsedTransactions">getParsedTransactions</a> but returns a <a href="../modules/web3.html#TransactionResponse">TransactionResponse</a>.</p>
- </div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <code>getTransactions</code> using a
- <code>GetVersionedTransactionConfig</code> by setting the
- <code>maxSupportedTransactionVersion</code> property.</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> commitmentOrConfig: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetTransactionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</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#TransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">TransactionResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3777</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Fetch transaction details for a batch of confirmed transactions.
- Similar to <a href="web3.Connection.html#getParsedTransactions">getParsedTransactions</a> but returns a <a href="../modules/web3.html#VersionedTransactionResponse">VersionedTransactionResponse</a>.</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>commitmentOrConfig: <a href="../modules/web3.html#Finality" class="tsd-signature-type" data-tsd-kind="Type alias">Finality</a><span class="tsd-signature-symbol"> | </span><a href="../modules/web3.html#GetVersionedTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">GetVersionedTransactionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</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#VersionedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">VersionedTransactionResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</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="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"><</span><a href="../modules/web3.html#Version" class="tsd-signature-type" data-tsd-kind="Type alias">Version</a><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:3649</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"><</span><a href="../modules/web3.html#Version" class="tsd-signature-type" data-tsd-kind="Type alias">Version</a><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="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"><</span><a href="../modules/web3.html#VoteAccountStatus" class="tsd-signature-type" data-tsd-kind="Type alias">VoteAccountStatus</a><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:3510</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"><</span><a href="../modules/web3.html#VoteAccountStatus" class="tsd-signature-type" data-tsd-kind="Type alias">VoteAccountStatus</a><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="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:3985</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:4025</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:4008</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:4117</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:4083</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:4098</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:4044</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:4060</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>'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>clientSubscriptionId<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"><</span><span class="tsd-signature-type">void</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:3995</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>clientSubscriptionId: <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"><</span><span class="tsd-signature-type">void</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="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>clientSubscriptionId<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"><</span><span class="tsd-signature-type">void</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:4035</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>clientSubscriptionId: <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"><</span><span class="tsd-signature-type">void</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="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>clientSubscriptionId<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"><</span><span class="tsd-signature-type">void</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:4019</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>clientSubscriptionId: <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"><</span><span class="tsd-signature-type">void</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="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>clientSubscriptionId<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"><</span><span class="tsd-signature-type">void</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:4123</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>clientSubscriptionId: <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"><</span><span class="tsd-signature-type">void</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="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>clientSubscriptionId<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"><</span><span class="tsd-signature-type">void</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:4108</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>clientSubscriptionId: <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"><</span><span class="tsd-signature-type">void</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="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>clientSubscriptionId<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"><</span><span class="tsd-signature-type">void</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:4050</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>clientSubscriptionId: <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"><</span><span class="tsd-signature-type">void</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="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>clientSubscriptionId<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"><</span><span class="tsd-signature-type">void</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:4066</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>clientSubscriptionId: <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"><</span><span class="tsd-signature-type">void</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="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"><</span><span class="tsd-signature-type">string</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:3915</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">"@solana/web3.js"</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">=></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">"https://api.testnet.solana.com"</span><span class="hl-1">, </span><span class="hl-6">"confirmed"</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">"2nr1bHFT86W9tGnyvmYW4vcHKsQB3sVQfnddasz4kExM"</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"><</span><span class="tsd-signature-type">string</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="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"><</span><span class="tsd-signature-type">string</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:3973</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"><</span><span class="tsd-signature-type">string</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="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"><</span><span class="tsd-signature-type">string</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:3965</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"><</span><span class="tsd-signature-type">string</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="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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li><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.VersionedTransaction.html" class="tsd-signature-type" data-tsd-kind="Class">VersionedTransaction</a>, 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"><</span><span class="tsd-signature-type">string</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:3949</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Sign and send a transaction</p>
- </div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <a href="web3.Connection.html#sendTransaction">sendTransaction</a> with a <a href="web3.VersionedTransaction.html">VersionedTransaction</a></p>
- </dd></dl></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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3957</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Send a signed transaction</p>
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>transaction: <a href="web3.VersionedTransaction.html" class="tsd-signature-type" data-tsd-kind="Class">VersionedTransaction</a></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"><</span><span class="tsd-signature-type">string</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="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.Message.html" class="tsd-signature-type" data-tsd-kind="Class">Message</a><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>, 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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SimulatedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">SimulatedTransactionResponse</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></li><li class="tsd-signature tsd-kind-icon">simulate<wbr/>Transaction<span class="tsd-signature-symbol">(</span>transaction<span class="tsd-signature-symbol">: </span><a href="web3.VersionedTransaction.html" class="tsd-signature-type" data-tsd-kind="Class">VersionedTransaction</a>, config<span class="tsd-signature-symbol">?: </span><a href="../modules/web3.html#SimulateTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">SimulateTransactionConfig</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SimulatedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">SimulatedTransactionResponse</a><span class="tsd-signature-symbol">></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:3931</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
- <p>Simulate a transaction</p>
- </div><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Instead, call <a href="web3.Connection.html#simulateTransaction">simulateTransaction</a> with <a href="web3.VersionedTransaction.html">VersionedTransaction</a> and <a href="../modules/web3.html#SimulateTransactionConfig">SimulateTransactionConfig</a> parameters</p>
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>transactionOrMessage: <a href="web3.Message.html" class="tsd-signature-type" data-tsd-kind="Class">Message</a><span class="tsd-signature-symbol"> | </span><a href="web3.Transaction.html" class="tsd-signature-type" data-tsd-kind="Class">Transaction</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"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SimulatedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">SimulatedTransactionResponse</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></h4></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in node_modules/@solana/web3.js/lib/index.d.ts:3939</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>transaction: <a href="web3.VersionedTransaction.html" class="tsd-signature-type" data-tsd-kind="Class">VersionedTransaction</a></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> config: <a href="../modules/web3.html#SimulateTransactionConfig" class="tsd-signature-type" data-tsd-kind="Type alias">SimulateTransactionConfig</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#RpcResponseAndContext" class="tsd-signature-type" data-tsd-kind="Type alias">RpcResponseAndContext</a><span class="tsd-signature-symbol"><</span><a href="../modules/web3.html#SimulatedTransactionResponse" class="tsd-signature-type" data-tsd-kind="Type alias">SimulatedTransactionResponse</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></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-get-signature tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#rpcEndpoint" class="tsd-kind-icon">rpc<wbr/>Endpoint</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#getAddressLookupTable" class="tsd-kind-icon">get<wbr/>Address<wbr/>Lookup<wbr/>Table</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#getBlockHeight" class="tsd-kind-icon">get<wbr/>Block<wbr/>Height</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-external"><a href="web3.Connection.html#getBlockProduction" class="tsd-kind-icon">get<wbr/>Block<wbr/>Production</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#getMultipleParsedAccounts" class="tsd-kind-icon">get<wbr/>Multiple<wbr/>Parsed<wbr/>Accounts</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#getParsedBlock" class="tsd-kind-icon">get<wbr/>Parsed<wbr/>Block</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#getStakeMinimumDelegation" class="tsd-kind-icon">get<wbr/>Stake<wbr/>Minimum<wbr/>Delegation</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#getTransactions" class="tsd-kind-icon">get<wbr/>Transactions</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-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-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></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>
|