address

package
Version: v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddressEmpty = Address{}

AddressEmpty represents the 0-value of an address.

Functions

This section is empty.

Types

type Address

type Address struct {
	AddressBytes [ledgerstate.AddressLength]byte
	Index        uint64
}

Address represents an address in a wallet. It extends the normal address type with an index number that was used to generate the address from its seed.

func (Address) Address added in v0.4.0

func (a Address) Address() (ledgerStateAddress ledgerstate.Address)

Address returns the ledgerstate Address of this wallet Address.

func (Address) Base58 added in v0.5.0

func (a Address) Base58() string

Base58 returns the base58 encoded address.

func (Address) String added in v0.4.0

func (a Address) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL