Documentation ¶
Index ¶
- type DmBlockTransaction
- type DmCreateTransactionCmd
- type DmCryptoInfo
- type DmGetBalanceCmd
- type DmGetBlockCountCmd
- type DmGetBlockHeightCmd
- type DmGetNewAddressCmd
- type DmGetNewAddressResult
- type DmGetTokenInfoCmd
- type DmGetTransactionDetailCmd
- type DmGetTransactionDetailResult
- type DmGetTransactionIdCmd
- type DmGetTransactionIdResutl
- type DmGetTransactionsByBlockIdCmd
- type DmTokenInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DmBlockTransaction ¶
type DmBlockTransaction struct { Amount string `json:"amount"` AuthoritySign string `json:"authority_sign"` Black string `json:"black"` BlockNum string `json:"blockNum"` Chaincode string `json:"chaincode"` Error string `json:"error"` Facc string `json:"facc"` MinerNormal string `json:"minerNormal"` MinerSuper string `json:"minerSuper"` NMinerFee string `json:"nMinerFee"` Remark string `json:"remark"` SMinerFee string `json:"sMinerFee"` Status string `json:"status"` Tacc string `json:"tacc"` Time string `json:"time"` TxID string `json:"txId"` Type string `json:"type"` }
type DmCreateTransactionCmd ¶
type DmCryptoInfo ¶
type DmGetBalanceCmd ¶
func NewDmGetBalanceCmd ¶
func NewDmGetBalanceCmd(address string, token string) *DmGetBalanceCmd
type DmGetBlockCountCmd ¶
type DmGetBlockCountCmd struct {
Method string
}
func NewDmGetBlockCountCmd ¶
func NewDmGetBlockCountCmd() *DmGetBlockCountCmd
type DmGetBlockHeightCmd ¶
func NewDmGetBlockHeightCmd ¶
func NewDmGetBlockHeightCmd() *DmGetBlockHeightCmd
type DmGetNewAddressCmd ¶
func NewDmGetNewAddressCmd ¶
func NewDmGetNewAddressCmd(psw string) *DmGetNewAddressCmd
type DmGetNewAddressResult ¶
type DmGetNewAddressResult struct { Address string `json:"address"` Crypto DmCryptoInfo `json:"crypto"` }
type DmGetTokenInfoCmd ¶
type DmGetTokenInfoCmd struct {
Cc string
}
func NewDmGetTokenInfoCmd ¶
func NewDmGetTokenInfoCmd(cc string) *DmGetTokenInfoCmd
type DmGetTransactionDetailCmd ¶
func NewDmGetTransactionDetailCmd ¶
func NewDmGetTransactionDetailCmd(tx string) *DmGetTransactionDetailCmd
type DmGetTransactionDetailResult ¶
type DmGetTransactionDetailResult struct { Amount string `json:"amount"` AuthoritySign string `json:"authority_sign"` BlockNum string `json:"blockNum"` Error string `json:"error"` Fee string `json:"fee"` In string `json:"in"` Out string `json:"out"` Remark string `json:"remark"` Status string `json:"status"` Sum string `json:"sum"` Time string `json:"time"` Token string `json:"token"` TxID string `json:"txId"` Type string `json:"type"` }
type DmGetTransactionIdCmd ¶
type DmGetTransactionIdCmd struct {
Cnt int
}
func NewDmGetTransactionIdCmd ¶
func NewDmGetTransactionIdCmd(cnt int) *DmGetTransactionIdCmd
type DmGetTransactionsByBlockIdCmd ¶
func NewDmGetTransactionsByBlockIdCmd ¶
func NewDmGetTransactionsByBlockIdCmd(blockHeight int64) *DmGetTransactionsByBlockIdCmd
type DmTokenInfo ¶
type DmTokenInfo struct { Name string `json:"name"` Cc string `json:"cc"` Creator string `json:"creator"` Desc string `json:"desc"` Total string `json:"total"` URL string `json:"url"` Decimal string `json:"decimal"` Logo string `json:"logo"` Mineral string `json:"mineral"` Award string `json:"award"` Email string `json:"email"` TokenCharge string `json:"tokenCharge"` Charge string `json:"charge"` PublishTime string `json:"publishTime"` Deflation string `json:"deflation"` }
Click to show internal directories.
Click to hide internal directories.