Compute Units
A compute unit is a measurement of the computational resources required to fulfill a particular request for data via JSON RPC protocol. DRPC uses CUs to calculate the cost of a request, and also to track the workload of each data provider.
Methods costs in CU#
All RPC methods cost a flat 20 compute units starting Monday 2nd June. The cost is $0.30 for 1M CU. This table is correct for all blockchains and networks that DRPC support. If you call a method that is not a part of this table, the default cost is 20 CU. If you think something is wrong, ask in our support portal (opens in a new tab).
Ethereum and EVM: Polygon, Optimism, Base, BNB Smart Chain, Arbitrum#
| Method | CU |
|---|---|
| debug_traceBlockByHash | |
| debug_traceBlockByNumber | |
| debug_traceCall | |
| debug_traceTransaction | |
| eth_accounts | 0 |
| eth_blockNumber | |
| eth_call | |
| eth_chainId | 0 |
| eth_coinbase | 0 |
| eth_createAccessList | |
| eth_estimateGas | |
| eth_feeHistory | |
| eth_gasPrice | |
| eth_getBalance | |
| eth_getBlockByHash | |
| eth_getBlockByHash#full | |
| eth_getBlockByNumber | |
| eth_getBlockByNumber#full | |
| eth_getBlockReceipts | |
| eth_getBlockTransactionCountByHash | |
| eth_getBlockTransactionCountByNumber | |
| eth_getCode | |
| eth_getFilterChanges | |
| eth_getFilterLogs | |
| eth_getLogs | |
| eth_getProof | |
| eth_getStorageAt | |
| eth_getTransactionByBlockHashAndIndex | |
| eth_getTransactionByBlockNumberAndIndex | |
| eth_getTransactionByHash | |
| eth_getTransactionCount | |
| eth_getTransactionReceipt | |
| eth_getUncleByBlockHashAndIndex | |
| eth_getUncleByBlockNumberAndIndex | |
| eth_getUncleCountByBlockHash | |
| eth_getUncleCountByBlockNumber | |
| eth_hashrate | 0 |
| eth_maxPriorityFeePerGas | |
| eth_mining | 0 |
| eth_newBlockFilter | |
| eth_newFilter | |
| eth_newPendingTransactionFilter | |
| eth_protocolVersion | 0 |
| eth_sendRawTransaction | |
| eth_syncing | 0 |
| eth_subscribe | |
| Notifications from the events you've subscribed to | |
| eth_uninstallFilter | |
| eth_unsubscribe | |
| net_listening | 0 |
| net_peerCount | 0 |
| net_version | 0 |
| trace_block | |
| trace_call | |
| trace_callMany | |
| trace_filter | |
| trace_get | |
| trace_rawTransaction | |
| trace_replayBlockTransactions | |
| trace_replayBlockTransactions#vmTrace | |
| trace_replayTransaction | |
| trace_replayTransaction#vmTrace | |
| trace_transaction | |
| txpool_content | |
| web3_clientVersion | 0 |
| web3_sha3 | |
| bor_getAuthor | |
| bor_getCurrentProposer | |
| bor_getCurrentValidators | |
| bor_getRootHash | |
| bor_getSignersAtHash |
Bitcoin#
| Method | CU |
|---|---|
| estimatesmartfee | |
| getbestblockhash | |
| getblock | |
| getblockchaininfo | |
| getblockcount | |
| getblockhash | |
| getblocknumber | |
| getconnectioncount | 0 |
| getmemorypool | |
| getnetworkinfo | 0 |
| getreceivedbyaddress | |
| getrawtransaction | |
| gettransaction | |
| gettxout | |
| listunspent | |
| sendrawtransaction |
Solana#
| Method | Cost |
|---|---|
| accountSubscribe | |
| accountUnsubscribe | 0 |
| blockSubscribe | |
| blockUnsubscribe | 0 |
| Notifications from the events you've subscribed to | |
| getAccountInfo | |
| getBalance | |
| getBlock | |
| getBlockCommitment | |
| getBlockHeight | |
| getBlockProduction | |
| getBlockTime | |
| getBlocks | |
| getBlocksWithLimit | |
| getClusterNodes | |
| getConfirmedBlock | |
| getConfirmedBlocks | |
| getConfirmedSignaturesForAddress2 | |
| getConfirmedTransaction | |
| getEpochInfo | |
| getEpochSchedule | |
| getFirstAvailableBlock | |
| getFeeCalculatorForBlockhash | |
| getFeeForMessage | |
| getFees | |
| getGenesisHash | |
| getHealth | 0 |
| getHighestSnapshotSlot | |
| getInflationGovernor | |
| getInflationRate | |
| getInflationReward | |
| getIdentity | |
| getLatestBlockhash | |
| getLeaderSchedule | |
| getLargestAccounts | |
| getMaxRetransmitSlot | |
| getMultipleAccounts | |
| getMinimumBalanceForRentExemption | |
| getRecentBlockhash | |
| getRecentPerformanceSamples | |
| getRecentPrioritizationFees | |
| getSignaturesForAddress | |
| getSignatureStatuses | |
| getSlot | |
| getSlotLeader | |
| getSlotLeaders | |
| getStakeActivation | |
| getSupply | |
| getTokenAccountBalance | |
| getTokenAccountsByDelegate | |
| getTokenAccountsByOwner | |
| getTokenLargestAccounts | |
| getTokenSupply | |
| getTransaction | |
| getTransactionCount | |
| getVoteAccounts | |
| getVersion | |
| isBlockhashValid | |
| logsSubscribe | |
| logsUnsubscribe | 0 |
| programSubscribe | |
| programUnsubscribe | 0 |
| requestAirdrop | |
| sendTransaction | |
| simulateTransaction | |
| signatureSubscribe | |
| signatureUnsubscribe | 0 |
| slotSubscribe | |
| slotUnsubscribe | 0 |
Starknet#
| Method | Cost |
|---|---|
| starknet_addDeclareTransaction | |
| starknet_addDeployAccountTransaction | |
| starknet_addInvokeTransaction | |
| starknet_blockHashAndNumber | |
| starknet_blockNumber | |
| starknet_call | |
| starknet_chainId | |
| starknet_estimateFee | |
| starknet_estimateMessageFee | |
| starknet_getBlockTransactionCount | |
| starknet_getBlockWithTxHashes | |
| starknet_getBlockWithTxs | |
| starknet_getClass | |
| starknet_getClassAt | |
| starknet_getClassHashAt | |
| starknet_getEvents | |
| starknet_getNonce | |
| starknet_getStateUpdate | |
| starknet_getStorageAt | |
| starknet_getTransactionByBlockIdAndIndex | |
| starknet_getTransactionByHash | |
| starknet_getTransactionReceipt | |
| starknet_pendingTransactions | |
| starknet_syncing |
harmony#
| Method | Cost |
|---|---|
| hmy_call | |
| hmy_blockNumber | |
| hmy_getAllValidatorAddresses | |
| hmy_getAllValidatorInformation | |
| hmy_getAllValidatorInformationByBlockNumber | |
| hmy_getBalance | |
| hmy_getBalanceByBlockNumber | |
| hmy_getBlockByHash | |
| hmy_getBlockByNumber | |
| hmy_getBlockSigners | |
| hmy_getBlockTransactionCountByHash | |
| hmy_getBlockTransactionCountByNumber | |
| hmy_getBlocks | |
| hmy_getCXReceiptByHash | |
| hmy_getCirculatingSupply | |
| hmy_getCode | |
| hmy_getCurrentStakingErrorSink | |
| hmy_getCurrentTransactionErrorSink | |
| hmy_getDelegationsByDelegator | |
| hmy_getDelegationsByDelegatorAndValidator | |
| hmy_getDelegationsByValidator | |
| hmy_getElectedValidatorAddresses | |
| hmy_getEpoch | |
| hmy_getFilterChanges | |
| hmy_getFilterLogs | |
| hmy_getGasPrice | |
| hmy_getLeader | |
| hmy_getLatestHeader | |
| hmy_getLogs | |
| hmy_getMedianRawStakeSnapshot | |
| hmy_getNonce | |
| hmy_getPendingCXReceipts | |
| hmy_getPendingCrossLinks | |
| hmy_getShardingStructure | |
| hmy_getSignedBlocks | |
| hmy_getStakingNetworkInfo | |
| hmy_getStakingTransactionByBlockHashAndIndex | |
| hmy_getStakingTransactionByBlockNumberAndIndex | |
| hmy_getStakingTransactionByHash | |
| hmy_getStorageAt | |
| hmy_getTotalSupply | |
| hmy_getTransaction | |
| hmy_getTransactionByBlockHashAndIndex | |
| hmy_getTransactionByBlockNumberAndIndex | |
| hmy_getTransactionByHash | |
| hmy_getTransactionCount | |
| hmy_getTransactionReceipt | |
| hmy_getValidators | |
| hmy_gasPrice | |
| hmy_isBlockSigner | |
| hmy_isLastBlock | |
| hmy_latestHeader | |
| hmy_newBlockFilter | |
| hmy_newFilter | |
| hmy_newPendingTransactionFilter | |
| hmy_pendingTransactions | |
| hmy_sendRawStakingTransaction | |
| hmy_sendRawTransaction | |
| hmy_syncing | 0 |
| hmyv2_blockNumber | |
| hmyv2_getBalance | |
| hmyv2_getBalanceByBlockNumber | |
| hmyv2_getBlockByHash | |
| hmyv2_getBlockByNumber | |
| hmyv2_getBlockTransactionCountByHash | |
| hmyv2_getBlockTransactionCountByNumber | |
| hmyv2_getCXReceiptByHash | |
| hmyv2_getCurrentTransactionErrorSink | |
| hmyv2_getEpoch | |
| hmyv2_getPendingCXReceipts | |
| hmyv2_getPendingCrossLinks | |
| hmyv2_getStakingTransactionByBlockHashAndIndex | |
| hmyv2_getStakingTransactionByBlockNumberAndIndex | |
| hmyv2_getStakingTransactionByHash | |
| hmyv2_getTransactionByBlockHashAndIndex | |
| hmyv2_getTransactionByBlockNumberAndIndex | |
| hmyv2_getTransactionByHash | |
| hmyv2_getTransactionCount | |
| hmyv2_getTransactionReceipt | |
| hmyv2_getTransactionsHistory | |
| hmyv2_gasPrice | |
| hmyv2_getValidators | |
| hmyv2_pendingTransactions | |
| hmyv2_getBlocks |
zkevm#
| Method | Cost |
|---|---|
| zkevm_batchNumber | |
| zkevm_batchNumberByBlockNumber | |
| zkevm_consolidatedBlockNumber | |
| zkevm_getBatchByNumber | |
| zkevm_getBroadcastURI | |
| zkevm_isBlockConsolidated | |
| zkevm_isBlockVirtualized | |
| zkevm_virtualBatchNumber | |
| zkevm_verifiedBatchNumber |
zksync#
| Method | Cost |
|---|---|
| zks_estimateFee | |
| zks_estimateGasL1ToL2 | |
| zks_getAllAccountBalances | |
| zks_getBlockDetails | |
| zks_getBridgeContracts | |
| zks_getBytecodeByHash | |
| zks_getConfirmedTokens | |
| zks_getL1BatchBlockRange | |
| zks_getL1BatchDetails | |
| zks_getL2ToL1LogProof | |
| zks_getL2ToL1MsgProof | |
| zks_getMainContract | |
| zks_getRawBlockTransactions | |
| zks_getTestnetPaymaster | |
| zks_getTokenPrice | |
| zks_getTransactionDetails | |
| zks_L1BatchNumber | |
| zks_L1ChainId |
Linea#
| Method | Cost |
|---|---|
| linea_estimateGas |
NEAR#
| Method | Cost |
|---|---|
| block | |
| chunk | |
| gas_price | |
| network_info | |
| query | |
| send_tx | |
| status | |
| tx | |
| validators |
Cosmos#
| Method | Cost |
|---|---|
| abci_info | |
| abci_query | |
| block_by_hash | |
| block_results | |
| block_search | |
| blockchain | |
| broadcast_tx | |
| broadcast_tx_commit | |
| check_tx | |
| commit | |
| consensus_params | |
| consensus_state | |
| dump_consensus_state | |
| genesis_chunked | |
| header | |
| header_by_hash | |
| health | |
| lag_status | |
| num_unconfirmed_txs | |
| status | |
| tx | |
| tx_search |