Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetBlock(blockHeight string) (transaction.Block, error) GetTransaction(transactionId string) (transaction.Transaction, error) ListBlocks(transactionID string) ([]transaction.Block, error) ListOutputs(pubKey string, spent bool) ([]transaction.OutputLocation, error) ListTransactions(assetID, operation string) ([]transaction.Transaction, error) ListVotes(blockID string) (interface{}, error) PostTransaction(txn transaction.Transaction, mode string) (transaction.Transaction, error) SearchAsset(search string, limit int) ([]transaction.Asset, error) SearchMetadata(search string, limit int) ([]transaction.Metadata, error) }
type Transaction ¶
type Transaction interface { New(operation string, asset transaction.Asset, metadata transaction.Metadata, inputs []transaction.Input, outputs []transaction.Output, ) (*transaction.Transaction, error) NewCreateTransaction( asset transaction.Asset, metadata transaction.Metadata, outputs []transaction.Output, issuers []string, ) (*transaction.Transaction, error) Sign(keyPairs []client.KeyPair) error }
Click to show internal directories.
Click to hide internal directories.