Fantom provides a robust set of API endpoints for retrieving information about blocks, transactions, balances, logs, and more, enabling seamless blockchain development and integration.
Retrieve details about account balances, contract code, and stored data on the Fantom blockchain.
eth_accounts
eth_getBalance
eth_getCode
eth_getProof
eth_getStorageAt
Access detailed information about blocks, including transactions, receipts, and metadata.
eth_blockNumber
eth_getBlockByHash
eth_getBlockByHash#full
eth_getBlockByNumber
eth_getBlockByNumber#full
eth_newBlockFilter
eth_getBlockReceipts
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
Retrieve details about the network's configuration, protocol version, and synchronization status.
eth_chainId
eth_protocolVersion
net_listening
net_version
net_peerCount
eth_syncing
eth_hashrate
Available on paid tiers, these methods allow advanced debugging, transaction tracing, and block execution analysis.
trace_filter
trace_rawTransaction
trace_block
trace_replayBlockTransactions
trace_replayBlockTransactions#vmTrace
debug_traceBlockByHash
debug_traceBlockByNumber
trace_transaction
debug_traceTransaction
trace_replayTransaction
trace_replayTransaction#vmTrace
trace_callMany
trace_get
trace_call
debug_traceCall
Retrieve logs emitted by smart contracts for tracking token transfers, state changes, and other events.
eth_getLogs
eth_newFilter
eth_getFilterChanges
eth_uninstallFilter
eth_getFilterLogs
Enable transaction submission, smart contract execution, and other on-chain interactions.
eth_call
eth_sendRawTransaction
Estimate gas fees for transactions and retrieve historical gas price data.
eth_feeHistory
eth_estimateGas
eth_gasPrice
eth_createAccessList
eth_maxPriorityFeePerGas
Retrieve details about "uncle" blocks that are valid but excluded from the main chain.
eth_getUncleByBlockHashAndIndex
eth_getUncleByBlockNumberAndIndex
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockNumber
Retrieve data about node mining status and rewards.
Subscribe to real-time blockchain events via WebSocket connections.
Fetch data on individual transactions, including status, receipts, and block inclusion details.
eth_getTransactionByHash
eth_getTransactionCount
eth_getTransactionReceipt
eth_newPendingTransactionFilter
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
txpool_content
Access general network configuration data, including client version and cryptographic utilities.