Documentation
¶
Index ¶
- type Block
- type EtherscanExplorer
- type InvestigationService
- func (i *InvestigationService) GetAllAssociatedTransactionsForAddress(address string, depth int) (*graph.Graph[string, types.AddressNode], error)
- func (i *InvestigationService) GraphToNodesAndEdges(gRef *graph.Graph[string, types.AddressNode]) (*[]types.AddressNode, *[]graph.Edge[types.AddressNode], error)
- type Network
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
Network string
BlockNumber int64
BlockHash string
PreviousBlockHash string
Transactions []Transaction
}
type EtherscanExplorer ¶
type EtherscanExplorer struct {
// contains filtered or unexported fields
}
func NewEtherscanExplorer ¶
func NewEtherscanExplorer(apiKey string) *EtherscanExplorer
func (*EtherscanExplorer) GetAllTransactionsForAddress ¶
func (ex *EtherscanExplorer) GetAllTransactionsForAddress(address string) ([]Transaction, error)
type InvestigationService ¶
type InvestigationService struct {
// contains filtered or unexported fields
}
func NewInvestigationService ¶
func NewInvestigationService(explorer *EtherscanExplorer) *InvestigationService
func (*InvestigationService) GetAllAssociatedTransactionsForAddress ¶
func (i *InvestigationService) GetAllAssociatedTransactionsForAddress(address string, depth int) (*graph.Graph[string, types.AddressNode], error)
func (*InvestigationService) GraphToNodesAndEdges ¶
func (i *InvestigationService) GraphToNodesAndEdges(gRef *graph.Graph[string, types.AddressNode]) (*[]types.AddressNode, *[]graph.Edge[types.AddressNode], error)
Click to show internal directories.
Click to hide internal directories.