Tetreum Testnet RPC API

Tetreum Testnet ETH RPC Methods Reference

Complete reference for Ethereum JSON-RPC methods available on Tetreum Testnet.

Quick Reference

Tetreum Testnet is a Geth-based PoA network and provides an EVM-compatible JSON-RPC endpoint.

RPC Endpoint

https://testrpc.tetreum.com

Explorer

https://testnet.tetscan.com/

Network Details

  • Network Name: Tetreum Testnet

  • Chain ID: 793788

  • Currency Symbol: TET

  • Consensus: PoA

  • Client: Geth

Wallet Configuration

Methods Overview

Read Operations

Method
Description
Parameters

eth_blockNumber

Get latest block number

None

eth_getBalance

Get account balance

address, block

eth_getTransactionCount

Get nonce

address, block

eth_getCode

Get contract bytecode

address, block

eth_getStorageAt

Get storage value

address, position, block

eth_gasPrice

Get current gas price

None

eth_chainId

Get chain ID

None

Transaction Operations

Method
Description
Parameters

eth_getTransactionByHash

Get transaction details

hash

eth_getTransactionReceipt

Get transaction receipt

hash

eth_sendRawTransaction

Submit signed transaction

signedData

Block Operations

Method
Description
Parameters

eth_getBlockByNumber

Get block by number

blockNumber, fullTx

eth_getBlockByHash

Get block by hash

blockHash, fullTx

Call Operations

Method
Description
Parameters

eth_call

Execute contract call

transaction, block

eth_estimateGas

Estimate gas cost

transaction, block

Log Operations

Method
Description
Parameters

eth_getLogs

Get event logs

filter

1

eth_blockNumber

Purpose: Get the latest block number.

2

eth_getBalance

Purpose: Get account balance.

3

eth_getLogs

Purpose: Get matching event logs.

4

eth_gasPrice

Purpose: Get current gas price.

5

eth_getTransactionByHash

Purpose: Get transaction details by hash.

6

eth_getTransactionReceipt

Purpose: Get transaction receipt.

7

eth_chainId

Purpose: Get chain ID.

8

eth_getTransactionCount

Purpose: Get nonce for an address.

9

eth_getCode

Purpose: Get bytecode at an address.

10

eth_getStorageAt

Purpose: Get value from storage position.

11

eth_estimateGas

Purpose: Estimate gas cost.

12

eth_getBlockByNumber

Purpose: Get block information by number.

13

eth_getBlockByHash

Purpose: Get block information by hash.

14

eth_sendRawTransaction

Purpose: Submit a signed transaction.

15

eth_call

Purpose: Execute a contract call without creating a transaction.

Usage Tips

Batch Requests

Error Handling

  • -32700 = Parse error

  • -32600 = Invalid request

  • -32601 = Method not found

  • -32602 = Invalid params

  • -32603 = Internal error