Documentation
¶
Overview ¶
Package txresult defines shared result types for TRON transaction operations, used by both the txbuilder and contract packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Receipt ¶
type Receipt struct {
TxID string
BlockNumber int64
Confirmed bool
EnergyUsed int64
BandwidthUsed int64
Fee int64 // in SUN
Result []byte // contract return data
Error string // TRON error message if failed
}
Receipt holds the result of a broadcast (and optional confirmation) of a TRON transaction.
Click to show internal directories.
Click to hide internal directories.