Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTxParser ¶
Types ¶
type ITxParser ¶
type ITxParser interface {
// last parsed block
GetCurrentBlock() (uint64, error)
// add address to observer
Subscribe(address string) (bool, error)
// remove address from observer
Unsubscribe(address string) (bool, error)
// list of inbound or outbound transactions for an address
GetTransactions(address string) ([]*types.Transaction, error)
}
Click to show internal directories.
Click to hide internal directories.