RPC Methods & Api Credits
Here is the list of supported RPC methods together with current API credit costs:
eth
RPC Method | Cost |
---|---|
eth_chainId | 1 |
eth_protocolVersion | 1 |
eth_uninstallFilter | 5 |
eth_accounts | 5 |
eth_blockNumber | 5 |
eth_subscribe | 5 |
eth_unsubscribe | 5 |
eth_feeHistory | 5 |
eth_getTransactionReceipt | 8 |
eth_getBlockReceipts | 8 |
eth_getUncleByBlockHashAndIndex | 8 |
eth_getUncleByBlockNumberAndIndex | 8 |
eth_getTransactionByBlockHashAndIndex | 8 |
eth_getTransactionByBlockNumberAndIndex | 8 |
eth_getUncleCountByBlockHash | 8 |
eth_getUncleCountByBlockNumber | 8 |
eth_getBlockByNumber | 12 |
eth_getStorageAt | 12 |
eth_getTransactionByHash | 12 |
eth_getRawTransactionByHash | 12 |
eth_gasPrice | 12 |
eth_maxPriorityFeePerGas | 12 |
eth_getBalance | 12 |
eth_getCode | 12 |
eth_getFilterChanges | 12 |
eth_newBlockFilter | 12 |
eth_newFilter | 12 |
eth_signTransaction | 12 |
eth_newPendingTransactionFilter | 12 |
eth_getBlockTransactionCountByHash | 12 |
eth_getBlockTransactionCountByNumber | 12 |
eth_getProof | 12 |
eth_getBlockByHash | 12 |
eth_getTransactionCount | 12 |
eth_call | 25 |
eth_estimateGas | 25 |
eth_getFilterLogs | 25 |
eth_getLogs | 25 |
eth_sendRawTransaction | 50 |
eth_sendPrivateTransaction | 50 |
eth_cancelPrivateTransaction | 50 |
Polygon ZKEVM
RPC Method | Cost |
---|---|
zkevm_consolidatedBlockNumber | 12 |
zkevm_isBlockConsolidated | 12 |
zkevm_isBlockVirtualized | 12 |
zkevm_batchNumberByBlockNumber | 12 |
zkevm_batchNumber | 12 |
zkevm_virtualBatchNumber | 12 |
zkevm_verifiedBatchNumber | 12 |
zkevm_getBatchByNumber | 12 |
zkevm_getBroadcastURI | 12 |
ERC-4337 Bundler
RPC Method | Cost |
---|---|
eth_supportedEntryPoints | 1 |
eth_sendUserOperation | 12 |
eth_estimateUserOperationGas | 12 |
eth_getUserOperationByHash | 12 |
eth_getUserOperationReceipt | 12 |
web3
RPC Method | Cost |
---|---|
web3_clientVersion | 1 |
web3_sha3 | 1 |
net
RPC Method | Cost |
---|---|
net_version | 1 |
net_peerCount | 1 |
net_listening | 1 |