Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidContract = errors.New("invalid Contract") ErrInvalidData = errors.New("invalid Data") ErrInvalidMethod = errors.New("invalid Method") ErrInvalidType = errors.New("invalid Type") ErrInvalidGasPrice = errors.New("invalid GasPrice") ErrFileRead = errors.New("File Read Error") ErrNotFoundEvent = errors.New("Event Not Found") ErrArgument = errors.New("Argument Error") )
Functions ¶
func NewMetamaskRelay ¶
func NewMetamaskRelay(api *apiserver.APIServer, ts itxsearch.ITxSearch, bs *bloomservice.BloomBitService, cn *chain.Chain, nd INode)
Types ¶
type RPCTransaction ¶
type RPCTransaction struct { BlockHash string `json:"blockHash"` BlockNumber string `json:"blockNumber"` From string `json:"from"` Gas string `json:"gas"` GasPrice string `json:"gasPrice"` GasFeeCap string `json:"maxFeePerGas,omitempty"` GasTipCap string `json:"maxPriorityFeePerGas,omitempty"` Hash string `json:"hash"` Input string `json:"input"` Nonce interface{} `json:"nonce"` To interface{} `json:"to"` TransactionIndex string `json:"transactionIndex"` Value string `json:"value"` Type string `json:"type,omitempty"` Accesses string `json:"accessList,omitempty"` ChainID string `json:"chainId,omitempty"` V string `json:"v"` R string `json:"r"` S string `json:"s"` }
RPCTransaction represents a transaction that will serialize to the RPC representation of a transaction
Click to show internal directories.
Click to hide internal directories.