# Métodos JSON-RPC

> Source: https://docs.blockvectra.com/pt-br/api/json-rpc/methods/

BlockVectra oferece métodos Ethereum JSON-RPC 2.0 padrão nas redes blockchain compatíveis. As requisições são medidas em **Compute Units (CU)** e têm limites de taxa por API key.

Selecione um método abaixo para ver seus parâmetros, estrutura de retorno, observações, exemplo de requisição curl e disponibilidade por rede.

## Métodos

| Método | Resumo | CU / chamada |
| --- | --- | --- |
| [`eth_blockNumber`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_blockNumber/) (English) | Return the number of the latest block known to the node. | 1 CU |
| [`eth_chainId`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_chainId/) (English) | Return the EIP-155 chain ID of the current network. | 1 CU |
| [`eth_syncing`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_syncing/) (English) | Return the node's syncing status. | 10 CU |
| [`net_version`](https://docs.blockvectra.com/en/api/json-rpc/methods/net_version/) (English) | Return the network ID of the current network as a decimal string. | 10 CU |
| [`web3_clientVersion`](https://docs.blockvectra.com/en/api/json-rpc/methods/web3_clientVersion/) (English) | Return the client name and version string of the node. | 10 CU |
| [`eth_gasPrice`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_gasPrice/) (English) | Return the node's suggested current gas price in wei. | 10 CU |
| [`eth_maxPriorityFeePerGas`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_maxPriorityFeePerGas/) (English) | Return the node's suggested EIP-1559 priority fee (tip) per gas, in wei. | 10 CU |
| [`eth_feeHistory`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_feeHistory/) (English) | Return historical base fees, gas usage ratios and optional priority-fee percentiles over a range of blocks. | 10 CU |
| [`eth_estimateGas`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_estimateGas/) (English) | Estimate the gas limit a transaction would need. | 20 CU |
| [`eth_call`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_call/) (English) | Execute a read-only call against the state of a given block and return its result. | 15 CU |
| [`eth_simulateV1`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_simulateV1/) (English) | Simulate a sequence of calls or transactions against block state without broadcasting. | 20 CU |
| [`eth_getBalance`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getBalance/) (English) | Return the balance of an address at a given block, in wei. | 10 CU |
| [`eth_getCode`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getCode/) (English) | Return the contract bytecode deployed at an address at a given block. | 10 CU |
| [`eth_getStorageAt`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getStorageAt/) (English) | Return the raw value stored at a given storage slot of an address. | 10 CU |
| [`eth_getTransactionCount`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getTransactionCount/) (English) | Return the number of transactions sent from an address (its nonce) at a given block. | 10 CU |
| [`eth_getLogs`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getLogs/) (English) | Query event logs within a block range that match a filter. | 30 CU |
| [`eth_getBlockByNumber`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getBlockByNumber/) (English) | Return a block by its number, optionally with full transaction objects. | 5 CU |
| [`eth_getBlockByHash`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getBlockByHash/) (English) | Return a block by its hash, optionally with full transaction objects. | 10 CU |
| [`eth_getBlockReceipts`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getBlockReceipts/) (English) | Return all transaction receipts for a given block. | 10 CU |
| [`eth_getTransactionByHash`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getTransactionByHash/) (English) | Return a transaction by its hash. | 10 CU |
| [`eth_getTransactionReceipt`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_getTransactionReceipt/) (English) | Return the receipt (execution result) of a transaction by its hash. | 10 CU |
| [`eth_sendRawTransaction`](https://docs.blockvectra.com/en/api/json-rpc/methods/eth_sendRawTransaction/) (English) | Submit a signed raw transaction. | 30 CU |
| [`debug_traceTransaction`](https://docs.blockvectra.com/en/api/json-rpc/methods/debug_traceTransaction/) (English) | Reconstruct and replay the execution of a transaction to produce an execution trace. | 100 CU |
| [`debug_traceCall`](https://docs.blockvectra.com/en/api/json-rpc/methods/debug_traceCall/) (English) | Run an eth_call on top of a given block state and generate an execution trace. | 100 CU |
| [`trace_transaction`](https://docs.blockvectra.com/en/api/json-rpc/methods/trace_transaction/) (English) | Return all traces produced during the execution of a transaction. | 100 CU |

## Referências relacionadas

* [Visão geral de JSON-RPC e regras de medição](https://docs.blockvectra.com/en/api/json-rpc/)
* [Tabela de códigos de erro](https://docs.blockvectra.com/en/api/json-rpc/#error-codes)
* [Política de métodos por rede](https://docs.blockvectra.com/en/api/json-rpc/#method-policy)
* [Redes compatíveis](https://docs.blockvectra.com/en/chains/)
