Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallSite ¶
type CallSite struct {
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
Value string `json:"value,omitempty"`
GasPrice string `json:"gasPrice,omitempty"`
Gas string `json:"gas,omitempty"`
Data string `json:"data,omitempty"`
}
CallSite .
type Client ¶
type Client interface {
BlockNumber() (int64, error)
BlockByNumber(number int64, block interface{}) error
BalanceOf(address string, asset string) (string, error)
SendTransaction(data []byte) (string, error)
GetTransactionReceipt(tx string) (val *TransactionReceipt, err error)
}
Client .
Click to show internal directories.
Click to hide internal directories.