receipts

package
v0.60.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Receipt

type Receipt struct {
	Status   Status
	Error    error
	Logs     []*types.Log
	Receipts *Receipts
}

type Receipts

type Receipts struct {
	Digest   common.Hash
	Receipts []Receipt
}

func TransactionReceipts

func TransactionReceipts(ctx context.Context, transaction common.Hash, provider *ethrpc.Provider, chainID ...*big.Int) (Receipts, error)

func TransactionReceiptsForReceipt

func TransactionReceiptsForReceipt(ctx context.Context, receipt *types.Receipt, provider *ethrpc.Provider, chainID ...*big.Int) (Receipts, error)

func (*Receipts) Find

func (r *Receipts) Find(digest common.Hash) *Receipts

type Status

type Status int
const (
	StatusNotExecuted Status = iota
	StatusSucceeded
	StatusFailed
	StatusAborted
)

Jump to

Keyboard shortcuts

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