Updated on 2024-11-14 GMT+08:00

Dedicated Edition

Table 1 Supported Polygon APIs

API Method

Description

Throughput (Time/s)

8 vCPUs | 32 GB

16 vCPUs | 64 GB

eth_blockNumber

This API returns the latest block number of the blockchain.

30000

60000

eth_getBlockByNumber

This API returns information about the block by block number.

4000

35000

eth_getUncleByBlockNumberAndIndex

This API returns information about an uncle of a block by number and uncle index position.

30000

51000

eth_getUncleByBlockHashAndIndex

This API returns information about an uncle of a block by hash and uncle index position.

30000

60000

eth_getUncleCountByBlockNumber

This API returns the number of uncles for the block by block number.

30000

53000

eth_getUncleCountByBlockHash

This API returns the number of uncles for the block by block hash.

30000

58000

eth_getBlockByHash

This API returns information about the block by block hash.

9000

15000

eth_getTransactionByHash

This API returns the information about a transaction by transaction hash.

20000

17000

eth_getTransactionCount

This API returns the number of transactions sent from an address.

25000

46000

eth_getTransactionByBlockHashAndIndex

This API returns information about a transaction by a block hash and transaction index position.

25000

43000

eth_getTransactionByBlockNumberAndIndex

This API returns information about a transaction by a block number and transaction index position.

20000

41000

eth_getBlockTransactionCountByNumber

This API returns the number of transactions for the block by block number.

25000

57000

eth_getBlockTransactionCountByHash

This API returns the number of transactions for the block by block hash.

25000

54000

eth_getTransactionReceipt

This API returns the receipt of a transaction by transaction hash.

6000

17000

eth_getTransactionReceiptsByBlock

This API returns all transaction receipts for the given block number or hash.

200

650

eth_sendRawTransaction

This API creates a new message call transaction or creates a contract for signed transactions.

1000

2400

eth_call

This API executes a new message call immediately without creating a transaction on the blockchain. It consumes 20 CUs.

15000

37000

eth_createAccessList

This API creates an EIP-2930 type accessList based on a given Transaction object. It returns a list of addresses and storage keys that are read and written by the transaction (except the sender account and precompiles).

1000

2400

eth_estimateGas

This API returns an estimation of gas for a given transaction.

50

720

eth_feeHistory

This API returns historical gas information.

25000

42000

eth_maxPriorityFeePerGas

This API returns a fee per gas that is an estimate of how much you can pay as a priority fee, or a tip, to get a transaction included in the current block.

30000

54000

eth_gasPrice

This API returns the current gas price in wei.

30000

53000

eth_getBalance

This API returns the balance of the given account address.

25000

48000

eth_getStorageAt

This API returns the balance of the given account address.

25000

47000

eth_accounts

This API returns an array of addresses owned by the client.

30000

53000

eth_getCode

This API returns the compiled byte code of a smart contract, if any, at a given address.

8000

15000

eth_getProof

This API returns the account and storage values, including the Merkle proof, of the specified account.

10000

17000

eth_getLogs

This API returns an array of all the logs matching the given filter object.

10000

14000

eth_getFilterChanges

The polling method for a filter, which returns an array of logs which occurred since last poll. Call eth_newFilter, eth_newBlockFilter, or eth_newPendingTransactionFilter to create a filter.

30000

58000

eth_getFilterLogs

This API returns an array of all the logs matching the given filter ID.

500

1300

eth_newBlockFilter

This API creates a filter in the node to notify when a new block arrives.

25000

30000

eth_newFilter

This API creates a filter object based on the given filter options to notify when the state changes (logs).

25000

41000

eth_newPendingTransactionFilter

This API creates a filter in the node to notify when new pending transactions arrive at Polygon.

30000

30000

eth_uninstallFilter

This API uninstalls a filter with the given filter ID. It should always be called when watching is no longer needed. Additionally, filters time out when they are not requested with eth_getFilterChanges for a period of time.

25000

55000

eth_getRootHash

This API returns the root hash of a specified block range.

7000

20000

eth_syncing

This API returns the sync status.

30000

62000

eth_chainId

This API returns the currently configured chain ID.

30000

58000

bor_getAuthor

This API returns the author address of a specified block.

20000

55000

bor_getCurrentProposer

This API returns the address of the current proposer.

30000

53000

bor_getCurrentValidators

This API returns the current list of validators.

15000

38000

bor_getRootHash

This API returns the root hash of a specified block range.

30000

53000

bor_getSignersAtHash

This API returns all the signers of the block which match the specified block hash.

20000

44000

debug_getBadBlocks

This API returns a list of the last bad blocks that the client has seen on the network.

30

130

debug_storageRangeAt

This API returns the contract storage for the specified range.

25000

48000

debug_traceBlock

This API returns a full stack trace of all invoked opcodes of all transactions that were included in a block.

50

140

debug_traceBlockByHash

This API returns tracing results by executing all transactions in the block specified by the block hash. The results include the type of the call, the sender's address, the receiver's address, the value sent with the transactions, the gas, the input and output data.

50

140

debug_traceBlockByNumber

This API returns tracing results by executing all transactions in the block specified by the block number. The results include the type of the call, the sender's address, the receiver's address, the value sent with the transactions, the gas, the input and output data.

50

120

debug_traceCall

This API returns tracing result by executing an eth call within the context of the given block execution.

15000

31000

debug_traceTransaction

This API tracks specified transactions.

25

250

web3_sha3

This API returns Keccak-256 (not the standardized SHA3-256) hash of the given data.

250000

53000

web3_clientVersion

This API returns the current version of the chain client.

25000

56000

txpool_content

This API returns all pending and queued transactions.

5

10

txpool_inspect

This API returns a textual summary of all pending and queued transactions.

15

30

txpool_status

This API returns the number of transactions in pending and queued states.

3000

6500

net_version

This API returns the current network ID.

30000

58000

net_listening

This API returns true if the client is actively listening for network connections.

30000

51000

eth_subscribe

This API creates a new subscription for particular events. The node returns a subscription ID. For each event that matches the subscription, a notification with relevant data is sent together with the subscription ID.

1000

1000

eth_unsubscribe

This API cancels subscriptions with the subscription ID. It returns a boolean indicating that the subscription was canceled successfully.

1000

1000

nes_sendGasOptimizedTransaction

This API returns an ID. This ID can be used to query the gas optimization status.

100

250

nes_getGasOptimizedTransactionStatus

This API returns the gas optimization status.

1500

1500