Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Ctx context.Context EthClient *ethclient.Client Forwarder common.Forwarder Key *common.Key ChainID *big.Int NewForwardRequestFunc NewForwardRequestFunc }
Config ...
type NewForwardRequestFunc ¶
type NewForwardRequestFunc func() common.ForwardRequest
type Relayer ¶
type Relayer struct {
// contains filtered or unexported fields
}
Relayer represents a transaction relayer. It contains an Ethereum client and a private key, allowing it to forward transactions.
func NewRelayer ¶
func (*Relayer) SubmitTransaction ¶
func (s *Relayer) SubmitTransaction(req *common.SubmitTransactionRequest) (*common.SubmitTransactionResponse, error)
Click to show internal directories.
Click to hide internal directories.