You can access Base via Ethereum API. Learn more:
The following methods are allowed in Native Access API:
- eth_blockNumber
- eth_call
- eth_chainId
- eth_estimateGas
- eth_feeHistory
- eth_gasPrice
- eth_getBalance
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- eth_getCode
- eth_getFilterChanges
- eth_getFilterLogs
- eth_getLogs
- eth_getProof
- eth_getStorageAt
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionByHash
- eth_getTransactionCount
- eth_getTransactionReceipt
- eth_getUncleByBlockHashAndIndex
- eth_getUncleByBlockNumberAndIndex
- eth_getUncleCountByBlockHash
- eth_getUncleCountByBlockNumber
- eth_maxPriorityFeePerGas
- eth_protocolVersion
- eth_sendRawTransaction
- eth_syncing
- net_version
- txpool_content
- txpool_inspect
- txpool_status
- web3_clientVersion
- web3_sha3
Additional Optimism Methods Supported by Base
- optimism_outputAtBlock
- optimism_rollupConfig
- optimism_syncStatus
- optimism_version