Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/ethereum_jsonrpc
Luke Imhoff 0680973e64 fetched_balance_block_number instead of fetched_balance_at 7 years ago
..
config Explorer.JSONRPC -> EthereumJSONRPC 7 years ago
lib fetched_balance_block_number instead of fetched_balance_at 7 years ago
test Start realtime index immediately from latest block on boot. 7 years ago
.formatter.exs cd apps; mix new ethereum_jsonrpc 7 years ago
.gitignore cd apps; mix new ethereum_jsonrpc 7 years ago
README.md Explorer.JSONRPC -> EthereumJSONRPC 7 years ago
mix.exs Store variable-length DATA as Explorer.Chain.Data 7 years ago

README.md

EthereumJSONRPC

Ethereum JSONRPC client.

Configuration

Configuration for parity URLs can be provided with the following mix config:

config :ethereum_jsonrpc,
  url: "https://sokol.poa.network",
  trace_url: "https://sokol-trace.poa.network",
  http: [recv_timeout: 60_000, timeout: 60_000, hackney: [pool: :ethereum_jsonrpc]]

Note: the tracing node URL is provided separately from :url, via :trace_url. The trace URL and is used for fetch_internal_transactions, which is only a supported method on tracing nodes. The :http option is passed directly to the HTTP library (HTTPoison), which forwards the options down to :hackney.

Installation

The OTP application :ethereum_jsonrpc can be used in other umbrella OTP applications by adding ethereum_jsonrpc to your list of dependencies in mix.exs:

def deps do
  [
    {:ethereum_jsonrpc, in_umbrella: true}
  ]
end