Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeTx ¶
NormalizeTx converts an Aion transaction into the generic model
func NormalizeTxs ¶
NormalizeTxs converts multiple Aion transactions
Types ¶
type Tx ¶
type Tx struct { BlockHash string `json:"blockHash"` ToAddr string `json:"toAddr"` ContractAddr string `json:"contractAddr"` TransactionHash string `json:"transactionHash"` TransactionTimestamp int64 `json:"transactionTimestamp"` NrgConsumed int `json:"nrgConsumed"` BlockNumber uint64 `json:"blockNumber"` BlockTimestamp int64 `json:"blockTimestamp"` FromAddr string `json:"fromAddr"` Value json.Number `json:"value"` }
Click to show internal directories.
Click to hide internal directories.