Documentation
¶
Index ¶
- Constants
- type Config
- type ErigonResult
- type ErigonStructLog
- type Node
- func (n *Node) BlockByNumber(ctx context.Context, blockNumber *big.Int) (*types.Block, error)
- func (n *Node) BlockNumber(ctx context.Context) (*uint64, error)
- func (n *Node) DebugTraceTransaction(ctx context.Context, hash string, blockNumber *big.Int) (*TraceTransaction, error)
- func (n *Node) Metadata() *services.MetadataService
- func (n *Node) Name() string
- func (n *Node) OnReady(_ context.Context, callback func(ctx context.Context) error)
- func (n *Node) Start(ctx context.Context) error
- func (n *Node) Stop(ctx context.Context) error
- type StructLog
- type TraceTransaction
Constants ¶
View Source
const ( STATUS_ERROR = "error" STATUS_SUCCESS = "success" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type ErigonResult ¶
type ErigonResult struct { Gas uint64 `json:"gas"` Failed bool `json:"failed"` ReturnValue *string `json:"returnValue"` // empty array on transfer StructLogs []ErigonStructLog `json:"structLogs"` }
type ErigonStructLog ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) BlockByNumber ¶
func (*Node) DebugTraceTransaction ¶
func (n *Node) DebugTraceTransaction(ctx context.Context, hash string, blockNumber *big.Int) (*TraceTransaction, error)
DebugTraceTransaction traces a transaction execution using the client's debug API
func (*Node) Metadata ¶
func (n *Node) Metadata() *services.MetadataService
Click to show internal directories.
Click to hide internal directories.