Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxD ¶
type TxD struct { TxID uint64 `json:"tx_id"` //交易ID TxHash string `json:"tx_hash"` //交易HASH - 重复交易不会被处理 BlockHeight uint64 `json:"block_height"` //区块高度 BlockHash string `json:"block_hash"` //区块HASH ActionCount uint32 `json:"action_count"` //一笔交易多个action ActionID uint32 `json:"action_id"` //action id Src string `json:"src"` //用户ID (if dir==0,uid 表示转入方,否则表示转出方) Dst string `json:"dst"` //关联的用户ID Nonce uint64 `json:"nonce"` //对应操作源帐户(转出方)NONCE Amount uint64 `json:"amount"` //金额 ResultCode uint `json:"result_code"` //应答码 0-success ResultMsg string `json:"result_msg"` //应答消息 CreateAt uint64 `json:"created_at"` //入库时间 JData string `json:"jdata"` //数据部分 建议JSON序列化 Memo string `json:"memo"` //交易备注 }
Click to show internal directories.
Click to hide internal directories.