txresult

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: LGPL-3.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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