client

package
v0.0.0-...-be3778f Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract interface {
	// GetNewAddress is called to retrieve a new available address from the IOTA Tangle.
	GetNewAddress(seed trinary.Trytes, options api.GetNewAddressOptions) (trinary.Hashes, error)

	// SendTransfer is called to send transactions to an IOTA Tangle.
	SendTransfer(
		seed trinary.Trytes,
		depth uint64,
		mwm uint64,
		transfers bundle.Transfers,
		options *api.SendTransfersOptions) (bundle.Bundle, error)
}

Contract defines the contract used to encapsulate the IOTA Client; separated to facilitate unit testing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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