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
debug_traceBlockByHash90
debug_traceBlockByNumber90
debug_traceCall90
debug_traceTransaction90
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_syncing0
eth_subscribe10
Notifications from the events you've subscribed to25
eth_uninstallFilter10
eth_unsubscribe10
net_listening0
net_peerCount0
net_version0
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
web3_clientVersion0
web3_sha310
bor_getAuthor10
bor_getCurrentProposer10
bor_getCurrentValidators10
bor_getRootHash10
bor_getSignersAtHash10

Bitcoin#

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

Solana#

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

Starknet#

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

Varanet#

MethodCost
author_pendingExtrinsics50
author_removeExtrinsic50
author_submitExtrinsic100
chain_getBlock50
chain_getBlockHash50
chain_getFinalisedHead50
chain_getFinalizedHead50
chain_getHead50
chain_getHeader50
chain_getRuntimeVersion50
chain_subscribeAllHeads50
chain_subscribeFinalizedHeads50
chain_subscribeNewHeads50
chain_subscribeRuntimeVersion50
chain_unsubscribeAllHeads50
chain_unsubscribeFinalizedHeads50
chain_unsubscribeNewHeads50
chain_unsubscribeRuntimeVersion50
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
subscribe_newHead50
unsubscribe_newHead50

harmony#

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

zkevm#

MethodCost
zkevm_batchNumber10
zkevm_batchNumberByBlockNumber10
zkevm_consolidatedBlockNumber10
zkevm_getBatchByNumber15
zkevm_getBroadcastURI5
zkevm_isBlockConsolidated5
zkevm_isBlockVirtualized5
zkevm_virtualBatchNumber10
zkevm_verifiedBatchNumber10

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