Geth/Parity Proxy

For the full documentation of available parameters and descriptions, please visit the official Ethereum JSON-RPC docs.

For compatibility with Parity, please prefix all hex strings with " 0x ".

eth_blockNumber

Returns the number of most recent block

{
  "jsonrpc": "2.0",
  "id": 83,
  "result": "0x1bbac"
}

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x10d4f
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=1BAFE
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0x1888a560cfa3cc3dceb01ef3bc01d4f2b13839fa8bb6b66a7a33712c019c519f
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

Returns information about a transaction by block number.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=1BAFE
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0xe40778d56FE4E817435eC0046473e2046ee75d8E
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

Submits a pre-signed transaction for broadcast to the Linea network.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_sendRawTransaction
   &hex=0xf904808000831cfde080
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getTransactionReceipt
   &txhash=0xa142d269c92fb563222abbf401670f94186f401899a8163df9a1b49e6057b47c
   &apikey=YourApiKeyToken

Query Parameters

eth_call

Executes a new message call immediately without creating a transaction on the block chain.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_call
   &to=0xAEEF46DB4855E25702F8237E8f403FddcaF931C0
   &data=0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getCode

Returns code at a given address.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getCode
   &address=0x009a0b7C38B542208936F1179151CD08E2943833
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getStorageAt

Returns the value from a storage position at a given address.

This endpoint is still experimental and may have potential issues

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Try this endpoint in your browser

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_gasPrice
   &apikey=YourApiKeyToken

No parameters required.

eth_estimateGas

Makes a call or transaction, which won't be added to the blockchain and returns the used gas.

https://api.lineascan.build/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x4e71d92d
   &to=0xf0160428a8552ac9bb7e050d90eeade4ddd52843
   &value=0xff22
   &gasPrice=0x51da038cc
   &gas=0x5f5e0ff
   &apikey=YourApiKeyToken

Query Parameters

Last updated