Add To to Receipt

This commit is contained in:
mayakalpana1 2024-07-15 11:26:55 +08:00
parent a0631f3ebd
commit 5c8f66ebb4

View file

@ -68,9 +68,10 @@ type Receipt struct {
// Inclusion information: These fields provide information about the inclusion of the // Inclusion information: These fields provide information about the inclusion of the
// transaction corresponding to this receipt. // transaction corresponding to this receipt.
BlockHash common.Hash `json:"blockHash,omitempty"` BlockHash common.Hash `json:"blockHash,omitempty"`
BlockNumber *big.Int `json:"blockNumber,omitempty"` BlockNumber *big.Int `json:"blockNumber,omitempty"`
TransactionIndex uint `json:"transactionIndex"` TransactionIndex uint `json:"transactionIndex"`
To common.Address `json:"to,omitempty"`
} }
type receiptMarshaling struct { type receiptMarshaling struct {