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#

All RPC methods cost a flat 20 compute units. 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#

MethodCU
debug_traceBlockByHash20
debug_traceBlockByNumber20
debug_traceCall20
debug_traceTransaction20
eth_accounts0
eth_blockNumber20
eth_call20
eth_chainId0
eth_coinbase0
eth_createAccessList20
eth_estimateGas20
eth_feeHistory20
eth_gasPrice20
eth_getBalance20
eth_getBlockByHash20
eth_getBlockByHash#full20
eth_getBlockByNumber20
eth_getBlockByNumber#full20
eth_getBlockReceipts20
eth_getBlockTransactionCountByHash20
eth_getBlockTransactionCountByNumber20
eth_getCode20
eth_getFilterChanges20
eth_getFilterLogs20
eth_getLogs20
eth_getProof20
eth_getStorageAt20
eth_getTransactionByBlockHashAndIndex20
eth_getTransactionByBlockNumberAndIndex20
eth_getTransactionByHash20
eth_getTransactionCount20
eth_getTransactionReceipt20
eth_getUncleByBlockHashAndIndex20
eth_getUncleByBlockNumberAndIndex20
eth_getUncleCountByBlockHash20
eth_getUncleCountByBlockNumber20
eth_hashrate0
eth_maxPriorityFeePerGas20
eth_mining0
eth_newBlockFilter20
eth_newFilter20
eth_newPendingTransactionFilter20
eth_protocolVersion0
eth_sendRawTransaction20
eth_syncing0
eth_subscribe20
Notifications from the events you've subscribed to20
eth_uninstallFilter20
eth_unsubscribe20
net_listening0
net_peerCount0
net_version0
trace_block20
trace_call20
trace_callMany20
trace_filter20
trace_get20
trace_rawTransaction20
trace_replayBlockTransactions20
trace_replayBlockTransactions#vmTrace20
trace_replayTransaction20
trace_replayTransaction#vmTrace20
trace_transaction20
txpool_content20
web3_clientVersion0
web3_sha320
bor_getAuthor20
bor_getCurrentProposer20
bor_getCurrentValidators20
bor_getRootHash20
bor_getSignersAtHash20

WS Subscriptions pricing

Action TypeCU
Subscription20
Notification20

Bitcoin#

MethodCU
estimatesmartfee20
getbestblockhash20
getblock20
getblockchaininfo20
getblockcount20
getblockhash20
getblocknumber20
getconnectioncount0
getmemorypool20
getnetworkinfo0
getreceivedbyaddress20
getrawtransaction20
gettransaction20
gettxout20
listunspent20
sendrawtransaction20

Solana#

MethodCost
accountSubscribe20
accountUnsubscribe0
blockSubscribe20
blockUnsubscribe0
Notifications from the events you've subscribed to20
getAccountInfo20
getBalance20
getBlock20
getBlockCommitment20
getBlockHeight20
getBlockProduction20
getBlockTime20
getBlocks20
getBlocksWithLimit20
getClusterNodes20
getConfirmedBlock20
getConfirmedBlocks20
getConfirmedSignaturesForAddress220
getConfirmedTransaction20
getEpochInfo20
getEpochSchedule20
getFirstAvailableBlock20
getFeeCalculatorForBlockhash20
getFeeForMessage20
getFees20
getGenesisHash20
getHealth0
getHighestSnapshotSlot20
getInflationGovernor20
getInflationRate20
getInflationReward20
getIdentity20
getLatestBlockhash20
getLeaderSchedule20
getLargestAccounts20
getMaxRetransmitSlot20
getMultipleAccounts20
getMinimumBalanceForRentExemption20
getRecentBlockhash20
getRecentPerformanceSamples20
getRecentPrioritizationFees20
getSignaturesForAddress20
getSignatureStatuses20
getSlot20
getSlotLeader20
getSlotLeaders20
getStakeActivation20
getSupply20
getTokenAccountBalance20
getTokenAccountsByDelegate20
getTokenAccountsByOwner20
getTokenLargestAccounts20
getTokenSupply20
getTransaction20
getTransactionCount20
getVoteAccounts20
getVersion20
isBlockhashValid20
logsSubscribe20
logsUnsubscribe0
programSubscribe20
programUnsubscribe0
requestAirdrop20
sendTransaction20
simulateTransaction20
signatureSubscribe20
signatureUnsubscribe0
slotSubscribe20
slotUnsubscribe0

WS Subscriptions pricing

Action TypeCU
Subscription20
Notification20

Starknet#

MethodCost
starknet_addDeclareTransaction20
starknet_addDeployAccountTransaction20
starknet_addInvokeTransaction20
starknet_blockHashAndNumber20
starknet_blockNumber20
starknet_call20
starknet_chainId20
starknet_estimateFee20
starknet_estimateMessageFee20
starknet_getBlockTransactionCount20
starknet_getBlockWithTxHashes20
starknet_getBlockWithTxs20
starknet_getClass20
starknet_getClassAt20
starknet_getClassHashAt20
starknet_getEvents20
starknet_getNonce20
starknet_getStateUpdate20
starknet_getStorageAt20
starknet_getTransactionByBlockIdAndIndex20
starknet_getTransactionByHash20
starknet_getTransactionReceipt20
starknet_pendingTransactions20
starknet_syncing20

harmony#

MethodCost
hmy_call20
hmy_blockNumber20
hmy_getAllValidatorAddresses20
hmy_getAllValidatorInformation20
hmy_getAllValidatorInformationByBlockNumber20
hmy_getBalance20
hmy_getBalanceByBlockNumber20
hmy_getBlockByHash20
hmy_getBlockByNumber20
hmy_getBlockSigners20
hmy_getBlockTransactionCountByHash20
hmy_getBlockTransactionCountByNumber20
hmy_getBlocks20
hmy_getCXReceiptByHash20
hmy_getCirculatingSupply20
hmy_getCode20
hmy_getCurrentStakingErrorSink20
hmy_getCurrentTransactionErrorSink20
hmy_getDelegationsByDelegator20
hmy_getDelegationsByDelegatorAndValidator20
hmy_getDelegationsByValidator20
hmy_getElectedValidatorAddresses20
hmy_getEpoch20
hmy_getFilterChanges20
hmy_getFilterLogs20
hmy_getGasPrice20
hmy_getLeader20
hmy_getLatestHeader20
hmy_getLogs20
hmy_getMedianRawStakeSnapshot20
hmy_getNonce20
hmy_getPendingCXReceipts20
hmy_getPendingCrossLinks20
hmy_getShardingStructure20
hmy_getSignedBlocks20
hmy_getStakingNetworkInfo20
hmy_getStakingTransactionByBlockHashAndIndex20
hmy_getStakingTransactionByBlockNumberAndIndex20
hmy_getStakingTransactionByHash20
hmy_getStorageAt20
hmy_getTotalSupply20
hmy_getTransaction20
hmy_getTransactionByBlockHashAndIndex20
hmy_getTransactionByBlockNumberAndIndex20
hmy_getTransactionByHash20
hmy_getTransactionCount20
hmy_getTransactionReceipt20
hmy_getValidators20
hmy_gasPrice20
hmy_isBlockSigner20
hmy_isLastBlock20
hmy_latestHeader20
hmy_newBlockFilter20
hmy_newFilter20
hmy_newPendingTransactionFilter20
hmy_pendingTransactions20
hmy_sendRawStakingTransaction20
hmy_sendRawTransaction20
hmy_syncing0
hmyv2_blockNumber20
hmyv2_getBalance20
hmyv2_getBalanceByBlockNumber20
hmyv2_getBlockByHash20
hmyv2_getBlockByNumber20
hmyv2_getBlockTransactionCountByHash20
hmyv2_getBlockTransactionCountByNumber20
hmyv2_getCXReceiptByHash20
hmyv2_getCurrentTransactionErrorSink20
hmyv2_getEpoch20
hmyv2_getPendingCXReceipts20
hmyv2_getPendingCrossLinks20
hmyv2_getStakingTransactionByBlockHashAndIndex20
hmyv2_getStakingTransactionByBlockNumberAndIndex20
hmyv2_getStakingTransactionByHash20
hmyv2_getTransactionByBlockHashAndIndex20
hmyv2_getTransactionByBlockNumberAndIndex20
hmyv2_getTransactionByHash20
hmyv2_getTransactionCount20
hmyv2_getTransactionReceipt20
hmyv2_getTransactionsHistory20
hmyv2_gasPrice20
hmyv2_getValidators20
hmyv2_pendingTransactions20
hmyv2_getBlocks20

zkevm#

MethodCost
zkevm_batchNumber20
zkevm_batchNumberByBlockNumber20
zkevm_consolidatedBlockNumber20
zkevm_getBatchByNumber20
zkevm_getBroadcastURI20
zkevm_isBlockConsolidated20
zkevm_isBlockVirtualized20
zkevm_virtualBatchNumber20
zkevm_verifiedBatchNumber20

zksync#

MethodCost
zks_estimateFee20
zks_estimateGasL1ToL220
zks_getAllAccountBalances20
zks_getBlockDetails20
zks_getBridgeContracts20
zks_getBytecodeByHash20
zks_getConfirmedTokens20
zks_getL1BatchBlockRange20
zks_getL1BatchDetails20
zks_getL2ToL1LogProof20
zks_getL2ToL1MsgProof20
zks_getMainContract20
zks_getRawBlockTransactions20
zks_getTestnetPaymaster20
zks_getTokenPrice20
zks_getTransactionDetails20
zks_L1BatchNumber20
zks_L1ChainId20

Linea#

MethodCost
linea_estimateGas20

NEAR#

MethodCost
block20
chunk20
gas_price20
network_info20
query20
send_tx20
status20
tx20
validators20

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