Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { TxHash string `json:"txHash"` BlockHeight int64 `json:"blockHeight"` TxType string `json:"txType"` Timestamp int64 `json:"timeStamp"` TxFee json.Number `json:"txFee"` TxAge int64 `json:"txAge"` Code int64 `json:"code"` Log string `json:"log"` ConfirmBlocks int `json:"confirmBlocks"` Memo string `json:"memo"` Source int64 `json:"source"` // for transfers FromAddr string `json:"fromAddr"` ToAddr string `json:"toAddr"` Value json.Number `json:"value"` TxAsset string `json:"txAsset"` // for multi-send txs HasChildren int `json:"hasChildren"` // for multi-send child txs, an exception case where the field name is `asset` instead of `txAsset` ChildTxAsset string `json:"asset"` OutputIndex int `json:"-"` }
Click to show internal directories.
Click to hide internal directories.