Module ext

Source
Expand description

seismic implementation of eth api and its extensions

Overrides the eth_ namespace to be compatible with seismic specific types Most endpoints handle transaction decrytpion before passing to the inner eth api For eth_sendRawTransaction, we directly call the inner eth api without decryption See that function’s docs for more details

Structs§

EthApiExt
Implementation of the eth_ namespace override
SeismicApi
Implementation of the seismic rpc api

Traits§

EthApiOverrideClient
Client implementation for the EthApiOverride RPC API.
EthApiOverrideServer
Server trait implementation for the EthApiOverride RPC API.
SeismicApiClient
Client implementation for the SeismicApi RPC API.
SeismicApiServer
Server trait implementation for the SeismicApi RPC API.
SeismicTransaction
Extension trait for EthTransactions to add custom transaction sending functionalities.

Functions§

ext_decryption_error
Creates a EthApiError that says that seismic decryption failed
ext_encryption_error
Creates a EthApiError that says that seismic encryption failed
test_address
Localhost with port 0 so a free port is used.