Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchedQuerierHandler ¶
func BatchedQuerierHandler(clientCtx client.Context) http.HandlerFunc
BatchedQuerierHandler returns a handler that performs batch queries to smart contracts.
Types ¶
type BatchQueryRequest ¶
type BatchQueryRequest struct {
QueryRequests []wasmtypes.QuerySmartContractStateRequest `json:"requests"`
}
type BatchQueryResponse ¶
type BatchQueryResponse struct { Index int `json:"index"` Error string `json:"error"` Data wasmtypes.RawContractMessage `json:"result"` }
type QueryResponse ¶
type QueryResponse struct { Error string `json:"error,omitempty"` Results []*BatchQueryResponse `json:"results,omitempty"` }
Click to show internal directories.
Click to hide internal directories.