Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeTx ¶ added in v1.0.0
NormalizeTx converts an Aion transaction into the generic model
func NormalizeTxs ¶ added in v1.0.0
NormalizeTxs converts multiple Aion transactions
Types ¶
type Tx ¶ added in v1.0.0
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.