transaction

package
v0.90.0-pre Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttributes

func GetAttributes(t Transaction) []attribute.Attribute

GetAttributes returns a slice of attributes for the given transaction.

func GetHash

func GetHash(t Transaction) []byte

GetHash returns the hash of the given transaction.

func GetInputs

func GetInputs(t Transaction) []input.Input

GetInputs returns the inputs of the given transaction.

func GetOutputs

func GetOutputs(t Transaction) []output.Output

GetOutputs returns the outputs of the given transaction.

func GetReferences

func GetReferences(t Transaction) []interface{}

GetReferences returns a slice of references for the given transaction. FIXME: What is the correct return type for this?

func GetType

func GetType(t Transaction) byte

GetType returns the type of the given transaction.

func GetUnspentCoins

func GetUnspentCoins(t Transaction) interface{}

GetUnspentCoins returns the unspent coins for the given transaction. FIXME: What is the correct return type for this?

Types

type Transaction

type Transaction struct{}

Transaction stubs a NEO transaction type.

Jump to

Keyboard shortcuts

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