Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CORSServer ¶
type CORSServer struct {
// contains filtered or unexported fields
}
func (*CORSServer) ServeHTTP ¶
func (s *CORSServer) ServeHTTP(rw http.ResponseWriter, req *http.Request)
type JsonAccount ¶
type JsonAccountList ¶
type JsonAccountList struct {
Accounts []JsonAccount `json:"accounts"`
}
type JsonCallRes ¶
type JsonCallRes struct {
Data string `json:"data"`
}
type JsonReceipt ¶
type JsonReceipt struct { Root common.Hash `json:"root"` TransactionHash common.Hash `json:"transactionHash"` From common.Address `json:"from"` To *common.Address `json:"to"` Value *big.Int `json:"value"` Gas *big.Int `json:"gas"` GasUsed *big.Int `json:"gasUsed"` GasPrice *big.Int `json:"gasPrice"` CumulativeGasUsed *big.Int `json:"cumulativeGasUsed"` ContractAddress common.Address `json:"contractAddress"` Logs []*ethTypes.Log `json:"logs"` LogsBloom ethTypes.Bloom `json:"logsBloom"` Error string `json:"error"` Failed bool `json:"failed"` }
type SendTxArgs ¶
type SendTxArgs struct { From common.Address `json:"from"` To *common.Address `json:"to"` Gas *big.Int `json:"gas"` GasPrice *big.Int `json:"gasPrice"` Value *big.Int `json:"value"` Data string `json:"data"` Nonce *uint64 `json:"nonce"` }
SendTxArgs represents the arguments to submit a new transaction into the transaction pool.
Click to show internal directories.
Click to hide internal directories.