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 JsonContract ¶
type JsonContractList ¶
type JsonContractList struct {
Contracts []JsonContract `json:"contracts"`
}
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"`
GasUsed uint64 `json:"gasUsed"`
CumulativeGasUsed uint64 `json:"cumulativeGasUsed"`
ContractAddress common.Address `json:"contractAddress"`
Logs []*ethTypes.Log `json:"logs"`
LogsBloom ethTypes.Bloom `json:"logsBloom"`
Status uint64 `json:"status"`
}
type SendTxArgs ¶
type SendTxArgs struct {
From common.Address `json:"from"`
To *common.Address `json:"to"`
Gas uint64 `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 sumbit a new transaction into the transaction pool.
type Service ¶
func NewService ¶
func (*Service) GetSubmitCh ¶
func (*Service) SetInfoCallback ¶
func (m *Service) SetInfoCallback(f infoCallback)
Click to show internal directories.
Click to hide internal directories.