Documentation ¶
Index ¶
- type Receipt
- func (rpt *Receipt) GetData() []byte
- func (rpt *Receipt) GetGasLimit() uint64
- func (rpt *Receipt) GetGasPrice() uint64
- func (rpt *Receipt) GetNonce() uint64
- func (rpt *Receipt) GetRecvAddress() []byte
- func (rpt *Receipt) GetSndAddress() []byte
- func (rpt *Receipt) GetValue() *big.Int
- func (rpt *Receipt) IsInterfaceNil() bool
- func (rpt *Receipt) SetData(data []byte)
- func (rpt *Receipt) SetRecvAddress(_ []byte)
- func (rpt *Receipt) SetSndAddress(addr []byte)
- func (rpt *Receipt) SetValue(value *big.Int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Receipt ¶
type Receipt struct { Value *big.Int `json:"value"` SndAddr []byte `json:"sender"` Data []byte `json:"data,omitempty"` TxHash []byte `json:"txHash"` }
Receipt holds all the data needed for a transaction receipt
func (*Receipt) GetGasLimit ¶
GetGasLimit returns the gas limit of the receipt
func (*Receipt) GetGasPrice ¶
GetGasPrice returns the gas price of the receipt
func (*Receipt) GetRecvAddress ¶ added in v1.0.67
GetRecvAddress returns the receiver address from the receipt
func (*Receipt) GetSndAddress ¶ added in v1.0.67
GetSndAddress returns the sender address from the receipt
func (*Receipt) IsInterfaceNil ¶
IsInterfaceNil verifies if underlying object is nil
func (*Receipt) SetRecvAddress ¶ added in v1.0.67
SetRecvAddress sets the receiver address of the receipt
func (*Receipt) SetSndAddress ¶ added in v1.0.67
SetSndAddress sets the sender address of the receipt
Click to show internal directories.
Click to hide internal directories.