transaction

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TypeSpawn is type of the spawn transaction.
	TypeSpawn = 1 + iota
	// TypeMultisigSpawn is type of the multisig spawn transaction.
	TypeMultisigSpawn
	// TypeSpend is type of the spend transaction.
	TypeSpend
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodedTransactioner

type DecodedTransactioner interface {
	GetType() uint8
	GetAmount() uint64
	GetCounter() uint64
	GetReceiver() address.Address
	GetGasPrice() uint64
	GetPrincipal() address.Address
	GetPublicKeys() [][]byte
	GetSignature() []byte
}

DecodedTransactioner is an interface for transaction decoded from raw bytes.

Jump to

Keyboard shortcuts

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