Documentation ¶
Index ¶
- type API
- func (a *API) Balance(w http.ResponseWriter, r *http.Request)
- func (a *API) CallEVM(w http.ResponseWriter, r *http.Request)
- func (a *API) EstimateGas(w http.ResponseWriter, r *http.Request)
- func (a *API) GasPrice(w http.ResponseWriter, _ *http.Request)
- func (a *API) Register(r *mux.Router)
- func (a *API) TransactionCount(w http.ResponseWriter, r *http.Request)
- type CallEVMRequest
- type CallEVMResponse
- type EstimateGasResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) EstimateGas ¶
func (a *API) EstimateGas(w http.ResponseWriter, r *http.Request)
func (*API) GasPrice ¶
func (a *API) GasPrice(w http.ResponseWriter, _ *http.Request)
GasPrice - returns static gas unit price. When gas price becomes dynamic a new approach is needed
func (*API) TransactionCount ¶
func (a *API) TransactionCount(w http.ResponseWriter, r *http.Request)
type CallEVMRequest ¶
type CallEVMResponse ¶
type CallEVMResponse struct { ProcessingDetails *evm.ProcessingDetails // contains filtered or unexported fields }
type EstimateGasResponse ¶
type EstimateGasResponse struct { GasUsed uint64 // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.