Documentation ¶
Index ¶
- type Config
- type NodeConfig
- type Provider
- func (s *Provider) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (s *Provider) ChainID(ctx context.Context) (*big.Int, error)
- func (s *Provider) Dial() error
- func (s *Provider) TransactionDetails(ctx context.Context, txnHash common.Hash) (bool, *types.Receipt, *types.Transaction, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Nodes []NodeConfig ChaindID int // expected ChainID so we confirm on connect.. TestMode bool }
func (*Config) AddNode ¶
func (c *Config) AddNode(nodeConfig NodeConfig)
type NodeConfig ¶
Click to show internal directories.
Click to hide internal directories.