RPC

Connect to the chain

Everything a wallet or dapp needs, copyable row by row. Transactions are signed with secp256k1 and executed against the deployed contracts.

Network configuration

tap to copy
  • NetworkTSLA Chain L3
  • Chain ID32768(0x8000)
  • RPC URL
  • CurrencyTSLA · 18 decimals
  • Explorer
  • Bridge
  • Bridge address0x8147000000000000000000000000000000000000
  • SettlementTSLA Chain L2 · chain 16384
  • ClientTslaChain/v1.0.0-evm

Live endpoint check

  • calling the endpoint…

Connect a client

only the URL changes
curl
curl -s  \
  -X POST -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
viem
import { createPublicClient, http } from "viem";

const tslaChain = {
  id: 32768,
  name: "TSLA Chain L3",
  nativeCurrency: { name: "Tesla", symbol: "TSLA", decimals: 18 },
  rpcUrls: { default: { http: [""] } },
};

const client = createPublicClient({ chain: tslaChain, transport: http() });
console.log(await client.getBlockNumber());
ethers
import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider("", 32768);
console.log(await provider.getBlockNumber());
foundry
cast block-number --rpc-url 
cast chain-id --rpc-url 
cast call 0x74534c4100000000000000000000000000000000 "balanceOf(address)(uint256)" 0xYourAddress --rpc-url 

Contracts

  • TSLA token

  • USDX token

  • TSLA/USDX pair

  • Router

  • Bridge

Supported methods

Chain

eth_chainIdnet_versionweb3_clientVersioneth_syncingnet_listening

State

eth_blockNumbereth_getBalanceeth_getTransactionCounteth_getCodeeth_getStorageAteth_call

Transactions

eth_sendRawTransactioneth_estimateGaseth_gasPriceeth_maxPriorityFeePerGaseth_feeHistoryeth_getTransactionByHasheth_getTransactionReceipt

Blocks & logs

eth_getBlockByNumbereth_getBlockByHasheth_getBlockTransactionCountByNumbereth_getLogs

Contracts run natively on the chain, so eth_call answers from real contract state and eth_sendRawTransaction executes against it.