Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // GetAccount fetches the account if it has been initialized GetAccount(address crypto.Address) (std.Account, error) // SendTransactionSync sends the specified transaction to the network, // and does not wait for it to be committed to the chain SendTransactionSync(tx *std.Tx) (*coreTypes.ResultBroadcastTx, error) // SendTransactionCommit sends the specified transaction to the network, // and wait for it to be committed to the chain SendTransactionCommit(tx *std.Tx) (*coreTypes.ResultBroadcastTxCommit, error) }
Client defines the TM2 client functionality
Click to show internal directories.
Click to hide internal directories.