Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceResponse ¶
type BalanceResponse struct { Address string `json:"address"` Balance string `json:"balance"` Symbol string `json:"symbol"` Units string `json:"units"` }
BalanceResponse data struct
type Block ¶
type Block struct { BlockNumber int64 `json:"block_number"` Timestamp uint64 `json:"timestamp"` Difficulty uint64 `json:"difficulty"` Hash string `json:"hash"` TransactionsCount int `json:"transactions_count"` Transactions []Transaction `json:"transactions"` }
Block data structure
type HashResponse ¶
type HashResponse struct {
Hash string `json:"hash"`
}
HashResponse data structure
type Transaction ¶
type Transaction struct { Hash string `json:"hash"` Value string `json:"value"` Gas uint64 `json:"gas"` GasPrice uint64 `json:"gas_price"` Nonce uint64 `json:"nonce"` To string `json:"to"` Pending bool `json:"pending"` }
Transaction data structure
type TransferEtheRequest ¶
type TransferEtheRequest struct { PrivKey string `json:"priv_key"` To string `json:"to"` Amount int64 `json:"amount"` }
TransferEthRequest data structure
Click to show internal directories.
Click to hide internal directories.