Documentation ¶
Index ¶
- func QueryRequestByTxQuery(cliCtx client.Context, queryRoute string, requestID tmbytes.HexBytes) (request types.Request, err error)
- func QueryRequestContext(cliCtx client.Context, queryRoute string, ...) (requestContext types.RequestContext, err error)
- func QueryRequestContextByTxQuery(cliCtx client.Context, queryRoute string, ...) (requestContext types.RequestContext, err error)
- func QueryRequestsByBinding(cliCtx client.Context, queryRoute string, serviceName string, ...) ([]types.Request, int64, error)
- func QueryRequestsByReqCtx(cliCtx client.Context, queryRoute, reqCtxIDStr, batchCounterStr string) ([]types.Request, int64, error)
- func QueryResponseByTxQuery(cliCtx client.Context, queryRoute string, requestID tmbytes.HexBytes) (response types.Response, err error)
- type SchemaType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryRequestByTxQuery ¶
func QueryRequestByTxQuery( cliCtx client.Context, queryRoute string, requestID tmbytes.HexBytes, ) ( request types.Request, err error, )
QueryRequestByTxQuery will query for a single request via a direct txs tags query.
func QueryRequestContext ¶
func QueryRequestContext( cliCtx client.Context, queryRoute string, params types.QueryRequestContextRequest, ) ( requestContext types.RequestContext, err error, )
QueryRequestContext queries a single request context
func QueryRequestContextByTxQuery ¶
func QueryRequestContextByTxQuery(cliCtx client.Context, queryRoute string, params types.QueryRequestContextRequest) ( requestContext types.RequestContext, err error)
QueryRequestContextByTxQuery will query for a single request context via a direct txs tags query.
func QueryRequestsByBinding ¶
func QueryRequestsByBinding( cliCtx client.Context, queryRoute string, serviceName string, provider sdk.AccAddress, ) ( []types.Request, int64, error, )
QueryRequestsByBinding queries active requests by the service binding
Types ¶
type SchemaType ¶
type SchemaType string
SchemaType defines the schema type
func (SchemaType) MarshalJSON ¶
func (schema SchemaType) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation
func (SchemaType) MarshalYAML ¶
func (schema SchemaType) MarshalYAML() (interface{}, error)
MarshalYAML returns the YAML representation
func (*SchemaType) UnmarshalJSON ¶
func (schema *SchemaType) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals raw JSON bytes into a SchemaType.
Click to show internal directories.
Click to hide internal directories.