Documentation
¶
Index ¶
Constants ¶
View Source
const (
BalanceFuncSelector string = "70a08231"
)
Variables ¶
View Source
var ( Contracts = map[string]ContractInfo{ "usdt": { Address: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", Fee: decimal.NewFromInt(28), }, } )
Functions ¶
Types ¶
type ContractInfo ¶
type RawData ¶
type RawData struct { Contract []struct { Parameter struct { Value struct { Data string `json:"data"` Amount int `json:"amount"` OwnerAddress string `json:"owner_address"` ContractAddress string `json:"contract_address"` ToAddress string `json:"to_address"` } `json:"value"` TypeURL string `json:"type_url"` } `json:"parameter"` Type string `json:"type"` } `json:"contract"` RefBlockBytes string `json:"ref_block_bytes"` RefBlockHash string `json:"ref_block_hash"` Expiration int64 `json:"expiration"` Timestamp int64 `json:"timestamp"` FeeLimit int64 `json:"fee_limit"` }
type RawTransaction ¶
Click to show internal directories.
Click to hide internal directories.