metamaskrelay

package
v0.0.0-...-24e5678 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: LGPL-3.0 Imports: 43 Imported by: 0

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

Types

type INode

type INode interface {
	AddTx(tx *types.Transaction, sig common.Signature) error
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL