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.
Click to show internal directories.
Click to hide internal directories.