Pricing
Compute units

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#

Here is an actual method list with its CU pricing. 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 100 CU. If you think something is wrong, ask in our discord (opens in a new tab).

Ethereum and EVM: Polygon, Optimism, Base, BNB Smart Chain, Arbitrum#

MethodCU
eth_accounts0
eth_blockNumber10
eth_call21
eth_chainId0
eth_coinbase0
eth_createAccessList30
eth_estimateGas60
eth_feeHistory15
eth_gasPrice15
eth_getBalance11
eth_getBlockByHash21
eth_getBlockByHash#full60
eth_getBlockByNumber24
eth_getBlockByNumber#full60
eth_getBlockReceipts80
eth_getBlockTransactionCountByHash15
eth_getBlockTransactionCountByNumber11
eth_getCode24
eth_getFilterChanges20
eth_getFilterLogs60
eth_getLogs60
eth_getProof11
eth_getStorageAt14
eth_getTransactionByBlockHashAndIndex19
eth_getTransactionByBlockNumberAndIndex13
eth_getTransactionByHash11
eth_getTransactionCount11
eth_getTransactionReceipt30
eth_getUncleByBlockHashAndIndex15
eth_getUncleByBlockNumberAndIndex15
eth_getUncleCountByBlockHash15
eth_getUncleCountByBlockNumber15
eth_hashrate0
eth_maxPriorityFeePerGas16
eth_mining0
eth_newBlockFilter20
eth_newFilter20
eth_newPendingTransactionFilter20
eth_protocolVersion0
eth_sendRawTransaction90
eth_subscribe10
eth_syncing0
eth_uninstallFilter10
eth_unsubscribe10
net_listening0
net_peerCount0
net_version0
debug_traceBlockByHash90
debug_traceBlockByNumber90
debug_traceCall90
debug_traceTransaction90
trace_block90
trace_call60
trace_callMany90
trace_filter75
trace_get20
trace_rawTransaction75
trace_replayBlockTransactions90
trace_replayBlockTransactions#vmTrace300
trace_replayTransaction90
trace_replayTransaction#vmTrace300
trace_transaction90
txpool_content1000
bor_getAuthor10
bor_getCurrentProposer10
bor_getCurrentValidators10
bor_getRootHash10
bor_getSignersAtHash10
web3_clientVersion0
web3_sha310

Bitcoin#

MethodCU
getblockhash30
getrawtransaction30
gettransaction30
getblocknumber30
getblockcount30
estimatesmartfee30
getblockchaininfo30
getnetworkinfo0
getbestblockhash30
getblock30
gettxout30
listunspent30
sendrawtransaction100
getreceivedbyaddress30
getmemorypool100
getconnectioncount0

Solana#

MethodCost
getLeaderSchedule5
requestAirdrop5
getVoteAccounts5
getBlockCommitment5
getBlocksWithLimit5
getHealth5
getIdentity5
getLatestBlockhash7
getSlot7
getInflationRate8
getMaxRetransmitSlot8
getRecentPerformanceSamples8
getEpochInfo9
getTokenAccountBalance9
getBlockTime9
getHighestSnapshotSlot9
sendTransaction10
getEpochSchedule10
getStakeActivation10
getMaxShredInsertSlot10
getVersion10
isBlockhashValid10
getAccountInfo10
getFeeForMessage10
getFees10
getConfirmedBlocks10
getTokenLargestAccounts10
getTokenAccountsByDelegate10
getInflationGovernor10
getSlotLeader11
getMultipleAccounts11
minimumLedgerSlot11
getBlockHeight11
simulateTransaction11
getFeeCalculatorForBlockhash11
getSignatureStatuses11
getRecentBlockhash12
getBlocks12
getTokenAccountsByOwner12
getMinimumBalanceForRentExemption12
getBalance12
getGenesisHash13
getBlockProduction13
getTokenSupply14
getTransactionCount16
getSlotLeaders16
getRecentPrioritizationFees20
getClusterNodes23
getSignaturesForAddress28
getFirstAvailableBlock33
getConfirmedSignaturesForAddress235
getConfirmedTransaction38
getTransaction59
getBlock66
getProgramAccounts117
getConfirmedBlock151
getInflationReward341
getSupply822
getLargestAccounts3000
accountSubscribe10
accountUnsubscribe0
blockSubscribe10
blockUnsubscribe0
logsSubscribe10
logsUnsubscribe0
programSubscribe10
programUnsubscribe0
signatureSubscribe10
signatureUnsubscribe0
slotSubscribe10
slotUnsubscribe0

Starknet#

MethodCost
starknet_getBlockWithTxHashes16
starknet_getBlockWithTxs16
starknet_getStateUpdate21
starknet_getStorageAt17
starknet_getTransactionByHash17
starknet_getTransactionByBlockIdAndIndex15
starknet_getTransactionReceipt15
starknet_getClass19
starknet_getClassHashAt19
starknet_getClassAt19
starknet_getBlockTransactionCount20
starknet_call26
starknet_blockNumber10
starknet_blockHashAndNumber10
starknet_chainId10
starknet_pendingTransactions50
starknet_syncing10
starknet_getNonce26
starknet_getEvents75
starknet_estimateFee87
starknet_addInvokeTransaction250
starknet_addDeclareTransaction250
starknet_addDeployAccountTransaction250
starknet_estimateMessageFee87

Varanet#

MethodCost
author_pendingExtrinsics50
author_removeExtrinsic50
chain_getBlock50
chain_getBlockHash50
chain_getFinalisedHead50
chain_getFinalizedHead50
chain_getHead50
chain_getHeader50
chain_getRuntimeVersion50
childstate_getKeys50
childstate_getKeysPaged50
childstate_getKeysPagedAt50
childstate_getStorage50
childstate_getStorageEntries50
childstate_getStorageHash50
childstate_getStorageSize50
gear_calculateHandleGas50
gear_calculateInitCreateGas50
gear_calculateInitUploadGas50
gear_calculateReplyGas50
gear_readMetahash50
gear_readState50
gear_readStateBatch50
gear_readStateUsingWasm50
gear_readStateUsingWasmBatch50
grandpa_proveFinality50
grandpa_roundState50
payment_queryFeeDetails50
payment_queryInfo50
rpc_modules50
state_call50
state_callAt50
state_getChildReadProof50
state_getKeys50
state_getKeysPaged50
state_getKeysPagedAt50
state_getMetadata50
state_getPairs50
state_getReadProof50
state_getRuntimeVersion50
state_getStorage50
state_getStorageAt50
state_getStorageHash50
state_getStorageHashAt50
state_getStorageSize50
state_getStorageSizeAt50
state_queryStorage50
state_queryStorageAt50
state_traceBlock50
state_trieMigrationStatus50
system_chain50
author_submitExtrinsic100
subscribe_newHead50
unsubscribe_newHead50
chain_subscribeAllHeads50
chain_unsubscribeAllHeads50
chain_subscribeFinalizedHeads50
chain_unsubscribeFinalizedHeads50
chain_subscribeNewHeads50
chain_unsubscribeNewHeads50
chain_subscribeRuntimeVersion50
chain_unsubscribeRuntimeVersion50

harmony#

MethodCost
hmy_getStakingTransactionByBlockHashAndIndex19
hmy_getStakingTransactionByHash11
hmy_getCXReceiptByHash11
hmy_getBlockTransactionCountByHash15
hmy_getTransactionByHash11
hmy_getTransactionByBlockHashAndIndex19
hmy_getBlockByHash21
hmy_getStakingTransactionByBlockNumberAndIndex13
hmy_getTransactionReceipt30
hmy_getBlockTransactionCountByNumber11
hmy_getTransactionByBlockNumberAndIndex13
hmy_getBlockByNumber24
hmy_getAllValidatorInformationByBlockNumber10
hmy_sendRawStakingTransaction90
hmy_sendRawTransaction90
hmy_getTransactionCount11
hmy_newFilter20
hmy_newBlockFilter20
hmy_newPendingTransactionFilter20
hmy_getFilterLogs60
hmy_getFilterChanges20
hmy_getPendingCrossLinks10
hmy_getCurrentTransactionErrorSink5
hmy_getPendingCXReceipts30
hmy_pendingTransactions30
hmy_getTransactionsHistory60
hmy_getBlocks60
hmy_getBalanceByBlockNumber11
hmy_getBalance11
hmy_getLogs60
hmy_estimateGas60
hmy_getStorageAt14
hmy_call21
hmy_getCode24
hmy_isLastBlock5
hmy_latestHeader20
hmy_blockNumber10
hmy_gasPrice15
hmy_getEpoch10
hmy_epochLastBlock10
hmy_getShardingStructure20
hmy_syncing0
hmy_getLeader5
hmy_getCirculatingSupply5
hmy_getTotalSupply5
hmy_getStakingNetworkInfo15
hmy_getAllValidatorInformation30
hmy_getDelegationsByValidator15
hmy_getDelegationsByDelegatorAndValidator15
hmy_getDelegationsByDelegator15
hmy_getValidatorMetrics15
hmy_getMedianRawStakeSnapshot5
hmy_getElectedValidatorAddresses5
hmy_getAllValidatorAddresses10
hmy_getCurrentStakingErrorSink5
hmy_getValidatorInformation15
hmy_getSignedBlocks5
hmy_getValidators10
hmy_isBlockSigner5
hmy_getBlockSigners10
hmyv2_getBalanceByBlockNumber11
hmyv2_getTransactionCount11
hmyv2_getBalance11
hmyv2_getCurrentTransactionErrorSink5
hmyv2_getPendingCrossLinks10
hmyv2_getPendingCXReceipts30
hmyv2_pendingTransactions30
hmyv2_getTransactionsHistory60
hmyv2_getBlocks60
hmyv2_blockNumber10
hmyv2_gasPrice15
hmyv2_getEpoch10
hmyv2_getValidators10
hmyv2_getStakingTransactionByBlockHashAndIndex19
hmyv2_getStakingTransactionByBlockNumberAndIndex13
hmyv2_getStakingTransactionByHash11
hmyv2_getTransactionReceipt30
hmyv2_getBlockTransactionCountByHash15
hmyv2_getBlockTransactionCountByNumber11
hmyv2_getTransactionByHash11
hmyv2_getTransactionByBlockNumberAndIndex13
hmyv2_getTransactionByBlockHashAndIndex19
hmyv2_getBlockByNumber24
hmyv2_getBlockByHash21
hmyv2_getCXReceiptByHash11

zkevm#

MethodCost
zkevm_consolidatedBlockNumber10
zkevm_isBlockConsolidated5
zkevm_isBlockVirtualized5
zkevm_batchNumberByBlockNumber10
zkevm_batchNumber10
zkevm_virtualBatchNumber10
zkevm_verifiedBatchNumber10
zkevm_getBatchByNumber15
zkevm_getBroadcastURI5

zksync#

MethodCost
zks_estimateFee60
zks_estimateGasL1ToL260
zks_getAllAccountBalances11
zks_getBlockDetails20
zks_getBridgeContracts10
zks_getBytecodeByHash500
zks_getConfirmedTokens30
zks_getL1BatchBlockRange10
zks_getL1BatchDetails20
zks_getL2ToL1LogProof30
zks_getL2ToL1MsgProof30
zks_getMainContract10
zks_getRawBlockTransactions20
zks_getTestnetPaymaster10
zks_getTokenPrice10
zks_getTransactionDetails11
zks_L1BatchNumber10
zks_L1ChainId5

Linea#

MethodCost
linea_estimateGas60

NEAR#

MethodCost
block10
chunk10
gas_price10
network_info10
query10
send_tx20
status10
tx10
validators10

Cosmos#

MethodCost
abci_info20
abci_query20
block_by_hash20
block_results20
block_search20
blockchain20
broadcast_tx20
broadcast_tx_commit20
check_tx20
commit20
consensus_params20
consensus_state20
dump_consensus_state20
genesis_chunked20
header20
header_by_hash20
health20
lag_status20
num_unconfirmed_txs20
status20
tx20
tx_search20