Documentation
¶
Index ¶
Constants ¶
View Source
const ( ChainBitcoin = iota ChainEthereum ChainEthereumClassic ChainBitcoinCash ChainCallisto ChainRavenCoin )
View Source
const ( PlatformWeb = iota + 1 PlatformDesktop )
Variables ¶
This section is empty.
Functions ¶
func BulkInsertTransactions ¶
func BulkInsertTransactions(db *sql.DB, ethTxns []EthTransaction) error
func GetLatestBlockInDB ¶
getAccounts retrieve a list of accounts for a particular blockchain.
Types ¶
type EthTransaction ¶
type EthTransaction struct {
Time int64
TxnFrom common.Address
TxnTo common.Address
Gas uint64
GasPrice *big.Int
Block int64
TxnHash string
Value float64
ContractTo common.Address `json:"contract_to"`
ContractValue string `json:"contract_value"`
}
func GetEthTransactions ¶
getAccounts retrieve a list of accounts for a particular blockchain.
Click to show internal directories.
Click to hide internal directories.