JUMP TO👋 IntroductionAlchemy API Reference OverviewEnhanced APIs OverviewAlchemy Quickstart Guide📚 ResourcesFAQFeature Support By ChainThroughputBatch RequestsGas LimitsError ReferenceCompute UnitsPricing PlansCompute Unit Costs🎨 NFT APINFT API QuickstartNFT API Tutorials and ApplicationsNFT API FAQNFT API Endpoints OverviewOwnership & Token GatinggetNFTsgetgetOwnersForTokengetgetOwnersForCollectiongetisHolderOfCollectiongetgetContractsForOwnergetNFT Metadata AccessgetNFTMetadatagetgetNFTMetadataBatchpostgetContractMetadatagetgetContractMetadataBatchpostinvalidateContractgetreingestContractgetsearchContractMetadatagetCollectionsgetNFTsForCollectiongetSpam DetectiongetSpamContractsgetisSpamContractgetisAirdropgetreportSpamgetSales & Marketplace DatagetFloorPricegetgetNFTSalesgetRarity DatacomputeRaritygetsummarizeNFTAttributesgetNFT API V2 to V3 Migration GuideNFT API V2 vs. V3 Endpoint DifferencesNFT API V3 Methods (BETA)getNFTsForOwnergetgetNFTMetadatagetgetNFTMetadataBatchpostgetContractMetadatagetgetContractMetadataBatchpostgetNFTsForContractgetgetOwnersForNFTgetgetOwnersForContractgetgetSpamContractsgetisSpamContractgetisAirdropNFTgetgetFloorPricegetcomputeRaritygetsearchContractMetadatagetsummarizeNFTAttributesgetisHolderOfContractgetgetNFTSalesgetgetContractsForOwnergetreportSpamget💸 Transfers API (Tx History)Transfers API QuickstartTransfers API Endpointsalchemy_getAssetTransferspost🧾 Transaction Receipts APITransaction Receipts Endpointsalchemy_getTransactionReceiptspost🪙 Token APIToken API QuickstartToken API Endpointsalchemy_getTokenAllowancepostalchemy_getTokenBalancespostalchemy_getTokenMetadatapost🔔 WebhooksNotify API QuickstartNotify Tutorials and ApplicationsNotify API FAQCustom Webhooks QuickstartCustom Webhooks FAQCustom Webhooks GraphQL ExamplesNotify API MethodsGet all webhooksgetGet all addresses for an Address Activity webhookgetCreate webhookpostAdd and remove webhook addressespatchReplace webhook addressesputUpdate webhook statusputUpdate webhook NFT filterspatchUpdate NFT metadata webhook filterspatchGet all webhook NFT filtersgetDelete webhookdeleteWebhook TypesCustom WebhookAddress Activity WebhookMined Transaction WebhookDropped Transaction WebhookNFT Activity WebhookNFT Metadata Updates Webhook🔊 WebsocketsSubscription API QuickstartBest Practices for Using WebSockets in Web3Subscription API Endpointsalchemy_minedTransactionsalchemy_pendingTransactionsnewPendingTransactionsnewHeadslogs🔎 Trace APITrace API QuickstartTrace API Endpointstrace_callposttrace_blockposttrace_getposttrace_filterposttrace_transactionposttrace_rawTransactionposttrace_replayTransactionposttrace_replayBlockTransactionspostTrace API ResourcesWhat are EVM Traces?Trace API vs. Debug APIWhat is trace_transaction?What is trace_block?What is trace_filter?trace_call vs debug_traceCall🪲 Debug APIDebug API QuickstartDebug API Endpointsdebug_traceBlockByHashpostdebug_traceBlockByNumberpostdebug_traceTransactionpostdebug_traceCallpost🪄 Account AbstractionGas Manager Coverage API QuickstartGas Manager Coverage API Endpointsalchemy_requestPaymasterAndDatapostGas Manager Admin API QuickstartBundler API QuickstartBundler API Endpointseth_estimateUserOperationGasposteth_sendUserOperationposteth_getUserOperationReceiptposteth_supportedEntryPointsposteth_getUserOperationByHashpostAccount Abstraction SDK💰 Alchemy TransactTransact QuickstartReinforced TransactionsTransaction SimulationAsset ChangesExecution SimulationBundle SimulationTransaction Simulation ExamplesTransaction Simulation FAQsTransaction Simulation Endpointsalchemy_simulateAssetChangespostalchemy_simulateAssetChangesBundlepostalchemy_simulateExecutionpostalchemy_simulateExecutionBundlepostGas Optimized Transactionsalchemy_sendGasOptimizedTransactionpostalchemy_getGasOptimizedTransactionStatuspostPrivate Transactionseth_sendPrivateTransactionposteth_cancelPrivateTransactionpost🛠️ Alchemy SDKAlchemy SDK QuickstartHow to use Alchemy SDK with TypescriptExamples Using the Alchemy SDKHow to Manage a Multichain Project Using Alchemy SDKAlchemy SDK Surface OverviewAlchemy SDK vs. Raw API MethodsSDK Core Methodscall - SDKestimateGas - SDKfindContractDeployer -SDKgetAssetTransfers - SDKgetBalance - SDKgetBlock -SDKgetBlockNumber - SDKgetBlockWithTransactions - SDKgetCode - SDKgetFeeData - SDKgetGasPrice - SDKgetLogs - SDKgetStorageAt - SDKgetTokenBalances - SDKgetTokenMetadata - SDKgetTransactionCount - SDKgetTransactionReceipt - SDKgetTransactionReceipts - SDKsend - SDKSDK NFT MethodsgetNftsForOwner - SDKgetNftMetadata - SDKgetNftMetadataBatch - SDKrefreshNftMetadata -SDKgetNftSales - SDKsummarizeNftAttributes - SDKsearchContractMetadata - SDKgetNftsForOwnerIterator - SDKgetNftsForContractIterator -SDKgetContractMetadata - SDKgetNftsForContract - SDKgetTransfersForOwner - SDKgetTransfersForContract - SDKgetMintedNfts - SDKgetOwnersForNft - SDKgetOwnersForContract - SDKgetSpamContracts - SDKisSpamContract - SDKrefreshContract - SDKgetFloorPrice - SDKcomputeRarity - SDKverifyNftOwnership - SDKSDK Transact MethodsgetTransaction - SDKsendTransaction - SDKsendPrivateTransaction - SDKcancelPrivateTransaction - SDKwaitForTransaction - SDKestimateGas - SDKgetMaxPriorityFeePerGas - SDKsimulateAssetChanges - SDKsimulateAssetChangesBundle - SDKsimulateExecution - SDKsimulateExecutionBundle - SDKSDK Debug MethodstraceCall - SDKtraceTransaction - SDKtraceBlock - SDKSDK Notify MethodsgetAllWebhooks - SDKgetAddresses - SDKgetNftFilters - SDKupdateWebhook - SDKcreateWebhook - SDKdeleteWebhook - SDKSDK Ethers UtilsarrayifyformatUnitsconcathexConcatdnsEncodehexDataLengthformatEtherhexDataSlicehexStripZeroshashMessageisHexStringisValidNamejoinSignaturesplitSignaturetoUtf8ByteshexValuetoUtf8StringhexZeroPadzeroPadhexlifyidisBytesisBytesLikeInterfacenamehashparseEtherparseUnitsstripZerosSDK WebSockets Endpoints💎 EthereumEthereum API QuickstartEthereum API FAQEthereum Developer Guide to the MergeHow to decode an eth_call responseEthereum API Endpointseth_accounts - Ethereumposteth_getProof - Ethereumposteth_getBalance - Ethereumposteth_estimateGas - Ethereumposteth_newFilter - Ethereumposteth_getBlockTransactionCountByHash - Ethereumposteth_call - Ethereumposteth_feeHistory - Ethereumposteth_chainId - Ethereumposteth_getFilterLogs - Ethereumposteth_getBlockTransactionCountByNumber - Ethereumposteth_getBlockReceipts - Ethereumposteth_blockNumber - Ethereumposteth_getBlockByNumber - Ethereumposteth_getFilterChanges - Ethereumposteth_getLogs - Ethereumposteth_getBlockByHash - Ethereumposteth_getUncleCountByBlockHash - Ethereumposteth_getTransactionCount - Ethereumposteth_getStorageAt - Ethereumposteth_getTransactionReceipt - Ethereumposteth_getTransactionByHash - Ethereumposteth_getUncleByBlockNumberAndIndex - Ethereumposteth_getTransactionByBlockHashAndIndex - Ethereumpostweb3_clientVersion - Ethereumposteth_getUncleByBlockHashAndIndex - Ethereumposteth_createAccessList - Ethereumposteth_getUncleCountByBlockNumber - Ethereumposteth_maxPriorityFeePerGas - Ethereumposteth_getCode - Ethereumposteth_newBlockFilter - Ethereumposteth_newPendingTransactionFilter - Ethereumposteth_gasPrice - Ethereumposteth_getTransactionByBlockNumberAndIndex - Ethereumposteth_protocolVersion - Ethereumposteth_sendRawTransaction - Ethereumposteth_uninstallFilter - Ethereumpostnet_listening - Ethereumpostnet_version - Ethereumpostweb3_sha3 - Ethereumposteth_subscribeeth_unsubscribe💜 Polygon PoSPolygon PoS API QuickstartPolygon SDK ExamplesPolygon PoS API FAQPolygon PoS API Endpointsbor_getSignersAtHash - Polygon PoSpostbor_getCurrentProposer - Polygon PoSpostbor_getRootHash - Polygon PoSpostbor_getAuthor - Polygon PoSpostbor_getCurrentValidators - Polygon PoSposteth_accounts - Polygon PoSposteth_blockNumber - Polygon PoSposteth_createAccessList - Polygon PoSposteth_call - Polygon PoSposteth_gasPrice - Polygon PoSposteth_getBalance - Polygon PoSposteth_getBlockByNumber - Polygon PoSposteth_chainId - Polygon PoSposteth_getCode - Polygon PoSposteth_estimateGas - Polygon PoSposteth_getFilterLogs - Polygon PoSposteth_getFilterChanges - Polygon PoSposteth_getSignersAtHash - Polygon PoSposteth_getBlockTransactionCountByHash - Polygon PoSposteth_getBlockTransactionCountByNumber - Polygon PoSposteth_getStorageAt - Polygon PoSposteth_getUncleByBlockNumberAndIndex - Polygon PoSposteth_getTransactionByHash - Polygon PoSposteth_getTransactionByBlockNumberAndIndex - Polygon PoSposteth_getTransactionByBlockHashAndIndex - Polygon PoSposteth_getRootHash - Polygon PoSposteth_getProof - Polygon PoSposteth_getTransactionReceiptsByBlock - Polygon PoSposteth_getLogs - Polygon PoSposteth_getUncleByBlockHashAndIndex - Polygon PoSposteth_getBlockByHash - Polygon PoSposteth_getTransactionReceipt - Polygon PoSposteth_newBlockFilter - Polygon PoSposteth_getUncleCountByBlockNumber - Polygon PoSposteth_getUncleCountByBlockHash - Polygon PoSposteth_getTransactionCount - Polygon PoSposteth_newFilter - Polygon PoSposteth_newPendingTransactionFilter - Polygon PoSposteth_sendRawTransaction - Polygon PoSposteth_subscribe - Polygon PoSeth_uninstallFilter - Polygon PoSposteth_unsubscribe - Polygon PoSnet_version - Polygon PoSpostnet_listening - Polygon PoSpostweb3_clientVersion - Polygon PoSpostweb3_sha3 - Polygon PoSpost💟 Polygon zkEVMPolygon zkEVM API QuickstartPolygon zkEVM API FAQWhat is the difference between Polygon zkEVM and Ethereum?What is the difference between Polygon zkEVM and Polygon PoS?Polygon zkEVM Endpointszkevm_isBlockConsolidated - Polygon zkEVMposteth_getBlockByNumber - Polygon zkEVMposteth_getBlockByHash - Polygon zkEVMposteth_blockNumber - Polygon zkEVMposteth_newBlockFilter - Polygon zkEVMposteth_newFilter - Polygon zkEVMposteth_uninstallFilter - Polygon zkEVMposteth_getBlockTransactionCountByHash - Polygon zkEVMposteth_getBlockTransactionCountByNumber - Polygon zkEVMposteth_getFilterChanges - Polygon zkEVMposteth_getFilterLogs - Polygon zkEVMposteth_getTransactionByBlockNumberAndIndex - Polygon zkEVMposteth_getTransactionByBlockHashAndIndex - Polygon zkEVMposteth_chainId - Polygon zkEVMpostnet_version - Polygon zkEVMposteth_getUncleByBlockHashAndIndex - Polygon zkEVMposteth_getTransactionByHash - Polygon zkEVMposteth_sendRawTransaction - Polygon zkEVMposteth_getTransactionCount - Polygon zkEVMpostweb3_sha3 - Polygon zkEVMposteth_protocolVersion - Polygon zkEVMposteth_call - Polygon zkEVMposteth_getTransactionReceipt - Polygon zkEVMposteth_getUncleCountByBlockNumber - Polygon zkEVMposteth_gasPrice - Polygon zkEVMposteth_getBalance - Polygon zkEVMposteth_estimateGas - Polygon zkEVMpostweb3_clientVersion - Polygon zkEVMpostzkevm_verifiedBatchNumber - Polygon zkEVMposteth_getStorageAt - Polygon zkEVMposteth_getLogs - Polygon zkEVMposteth_getCode - Polygon zkEVMposteth_getUncleCountByBlockHash - Polygon zkEVMpostzkevm_isBlockVirtualized - Polygon zkEVMpostzkevm_getBatchByNumber - Polygon zkEVMpostzkevm_getBroadcastURI - Polygon zkEVMpostzkevm_virtualBatchNumber - Polygon zkEVMpostzkevm_batchNumberByBlockNumber - Polygon zkEVMposteth_getUncleByBlockNumberAndIndex - Polygon zkEVMposteth_getCompilers - Polygon zkEVMpostzkevm_consolidatedBlockNumber - Polygon zkEVMpostzkevm_batchNumber - Polygon zkEVMpost🪐 ArbitrumArbitrum API QuickstartArbitrum SDK ExamplesArbitrum API FAQArbitrum vs. Ethereum API DifferencesArbitrum API Endpointseth_accounts - Arbitrumposteth_chainId - Arbitrumposteth_blockNumber - Arbitrumposteth_getBlockByNumber - Arbitrumposteth_call - Arbitrumposteth_estimateGas - Arbitrumposteth_getBalance - Arbitrumposteth_gasPrice - Arbitrumposteth_getBlockByHash - Arbitrumposteth_getBlockTransactionCountByHash - Arbitrumposteth_createAccessList - Arbitrumposteth_getBlockTransactionCountByNumber - Arbitrumposteth_getFilterChanges - Arbitrumposteth_getCode - Arbitrumposteth_getFilterLogs - Arbitrumposteth_getLogs - Arbitrumposteth_getStorageAt - Arbitrumposteth_getTransactionByBlockHashAndIndex - Arbitrumposteth_getTransactionByBlockNumberAndIndex - Arbitrumposteth_getTransactionByHash - Arbitrumposteth_getTransactionCount - Arbitrumposteth_getTransactionReceipt - Arbitrumposteth_getUncleByBlockNumberAndIndex - Arbitrumposteth_getUncleByBlockHashAndIndex - Arbitrumposteth_getUncleCountByBlockHash - Arbitrumposteth_newBlockFilter - Arbitrumposteth_getUncleCountByBlockNumber - Arbitrumposteth_newFilter - Arbitrumposteth_newPendingTransactionFilter - Arbitrumposteth_getProof - Arbitrumposteth_sendRawTransaction - Arbitrumposteth_maxPriorityFeePerGas - Arbitrumposteth_uninstallFilter - Arbitrumpostnet_listening - Arbitrumpostnet_version - Arbitrumpostweb3_clientVersion - Arbitrumpostweb3_sha3 - Arbitrumposteth_feeHistory - Arbitrumposteth_subscribeeth_unsubscribe🔴 OptimismOptimism API QuickstartOptimism SDK ExamplesOptimism API FAQOptimism API Endpointseth_blockNumber - Optimismposteth_gasPrice - Optimismposteth_call - Optimismposteth_getUncleByBlockHashAndIndex - Optimismposteth_accounts - Optimismposteth_chainId - Optimismposteth_estimateGas - Optimismposteth_getBlockByHash - Optimismposteth_getBlockByNumber - Optimismposteth_getBlockTransactionCountByNumber - Optimismposteth_getBlockTransactionCountByHash - Optimismposteth_getBalance - Optimismposteth_getCode - Optimismposteth_getFilterChanges - Optimismposteth_getFilterLogs - Optimismposteth_getLogs - Optimismposteth_getStorageAt - Optimismposteth_getTransactionByBlockHashAndIndex - Optimismposteth_getTransactionByBlockNumberAndIndex - Optimismposteth_getTransactionByHash - Optimismposteth_getProof - Optimismposteth_getTransactionCount - Optimismposteth_getTransactionReceipt - Optimismposteth_getUncleByBlockNumberAndIndex - Optimismposteth_getUncleCountByBlockHash - Optimismposteth_getUncleCountByBlockNumber - Optimismposteth_newBlockFilter - Optimismposteth_newFilter - Optimismposteth_newPendingTransactionFilter - Optimismposteth_protocolVersion - Optimismposteth_sendRawTransaction - Optimismposteth_syncing - Optimismposteth_uninstallFilter - Optimismpostnet_listening - Optimismpostnet_version - Optimismpostweb3_clientVersion - Optimismpostweb3_sha3 - Optimismposteth_subscribeeth_unsubscribe❇️ SolanaSolana API QuickstartSolana API FAQSolana API EndpointsgetBlockProductionpostgetBlockpostgetBlockTimepostgetBlockCommitmentpostgetBlocksWithLimitpostgetBlockHeightpostgetBlockspostisBlockhashValidpostgetBalancepostgetLargestAccountspostgetAccountInfopostgetVoteAccountspostgetMultipleAccountspostgetProgramAccountspostgetClusterNodespostgetHealthpostgetVersionpostgetIdentitypostgetInflationGovernorpostgetInflationRatepostgetInflationRewardpostgetSupplypostgetEpochSchedulepostgetEpochInfopostgetFeeForMessagepostgetHighestSnapshotSlotpostgetGenesisHashpostgetRecentPerformanceSamplespostgetFirstAvailableBlockpostgetMinimumBalanceForRentExemptionpostgetTransactionpostsendTransactionpostgetSignatureStatusespostgetSignaturesForAddresspostsimulateTransactionpostminimumLedgerSlotpostgetMaxShredInsertSlotpostgetSlotpostgetSlotLeaderpostgetSlotLeaderspostgetMaxRetransmitSlotpostgetTokenAccountsByOwnerpostgetTokenAccountBalancepostgetTokenSupplypostrequestAirdroppostsignatureSubscribesignatureUnsubscribeslotSubscribeslotUnsubscribeslotUpdateSubscribeblockSubscribeblockUnsubscribelogsSubscribelogsUnsubscribe⭐️ AstarAstar API QuickstartAstar API FAQAstar API Endpointseth_getLogs - Astarposteth_getBlockByHash - Astarposteth_newBlockFilter - Astarposteth_getFilterChanges - Astarposteth_newPendingTransactionFilter - Astarposteth_newFilter - Astarposteth_getFilterLogs - Astarposteth_uninstallFilter - Astarposteth_accounts - Astarposteth_blockNumber - Astarposteth_chainId - Astarposteth_call - Astarposteth_estimateGas - Astarposteth_gasPrice - Astarposteth_getBalance - Astarposteth_getBlockByNumber - Astarposteth_getBlockTransactionCountByHash - Astarposteth_getBlockTransactionCountByNumber - Astarposteth_getCode - Astarposteth_getStorageAt - Astarposteth_getTransactionByBlockHashAndIndex - Astarposteth_getTransactionByBlockNumberAndIndex - Astarposteth_getTransactionByHash - Astarposteth_getTransactionCount - Astarposteth_getTransactionReceipt - Astarposteth_getUncleByBlockNumberAndIndex - Astarposteth_maxPriorityFeePerGas - Astarposteth_sendRawTransaction - Astarpostnet_version - Astarpostweb3_clientVersion - Astarpostweb3_sha3 - Astarposteth_subscribeeth_unsubscribe🛸 STARKNETStarknet API QuickstartStarknet API FAQStarknet API Endpointsstarknet_getClassHashAtpoststarknet_addDeployAccountTransactionpoststarknet_addDeclareTransactionpoststarknet_blockHashAndNumberpoststarknet_getStorageAtpoststarknet_blockNumberpoststarknet_getStateUpdatepoststarknet_getTransactionByBlockIdAndIndexpoststarknet_getTransactionReceiptpoststarknet_getBlockTransactionCountpoststarknet_callpoststarknet_estimateFeepoststarknet_getNoncepoststarknet_chainIdpoststarknet_getTransactionByHashpoststarknet_syncingpoststarknet_getBlockWithTxHashespoststarknet_getEventspoststarknet_pendingTransactionspoststarknet_getClasspoststarknet_getBlockWithTxspoststarknet_addInvokeTransactionpoststarknet_getClassAtpost🪄 Gas Manager Admin APIGas Manager Admin API EndpointsCreate PolicypostGet PolicygetDelete PolicydeleteReplace PolicyputGet All PoliciesgetUpdate Policy StatusputGet Policy Statsgetstarknet_getBlockTransactionCountpost https://starknet-mainnet.g.alchemy.com/v2/{apiKey}Returns the number of transactions in the designated block.