@bandprotocol/bandchain.js
Version:
TypeScript library for Cosmos SDK and BandChain
1,179 lines • 52.8 kB
TypeScript
import { DataSource, DataSourceAmino, DataSourceSDKType, OracleScript, OracleScriptAmino, OracleScriptSDKType, Request, RequestAmino, RequestSDKType, Report, ReportAmino, ReportSDKType, Result, ResultAmino, ResultSDKType, SigningResult, SigningResultAmino, SigningResultSDKType, Params, ParamsAmino, ParamsSDKType, ValidatorStatus, ValidatorStatusAmino, ValidatorStatusSDKType, ActiveValidator, ActiveValidatorAmino, ActiveValidatorSDKType, PriceResult, PriceResultAmino, PriceResultSDKType } from "./oracle";
import { BinaryReader, BinaryWriter } from "../../../binary";
/** QueryCountsRequest is request type for the Query/Count RPC method. */
export interface QueryCountsRequest {
}
export interface QueryCountsRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryCountsRequest";
value: Uint8Array;
}
/** QueryCountsRequest is request type for the Query/Count RPC method. */
export interface QueryCountsRequestAmino {
}
export interface QueryCountsRequestAminoMsg {
type: "/band.oracle.v1.QueryCountsRequest";
value: QueryCountsRequestAmino;
}
/** QueryCountsRequest is request type for the Query/Count RPC method. */
export interface QueryCountsRequestSDKType {
}
/** QueryCountsResponse is response type for the Query/Count RPC method. */
export interface QueryCountsResponse {
/** DataSourceCount is total number of data sources available on the chain */
dataSourceCount: bigint;
/** OracleScriptCount is total number of oracle scripts available on the chain */
oracleScriptCount: bigint;
/** RequestCount is total number of requests submitted to the chain */
requestCount: bigint;
}
export interface QueryCountsResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryCountsResponse";
value: Uint8Array;
}
/** QueryCountsResponse is response type for the Query/Count RPC method. */
export interface QueryCountsResponseAmino {
/** DataSourceCount is total number of data sources available on the chain */
data_source_count?: string;
/** OracleScriptCount is total number of oracle scripts available on the chain */
oracle_script_count?: string;
/** RequestCount is total number of requests submitted to the chain */
request_count?: string;
}
export interface QueryCountsResponseAminoMsg {
type: "/band.oracle.v1.QueryCountsResponse";
value: QueryCountsResponseAmino;
}
/** QueryCountsResponse is response type for the Query/Count RPC method. */
export interface QueryCountsResponseSDKType {
data_source_count: bigint;
oracle_script_count: bigint;
request_count: bigint;
}
/** QueryDataRequest is request type for the Query/Data RPC method. */
export interface QueryDataRequest {
/**
* DataHash is SHA256 hash of the file's content, which can be data source or
* oracle script
*/
dataHash: string;
}
export interface QueryDataRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryDataRequest";
value: Uint8Array;
}
/** QueryDataRequest is request type for the Query/Data RPC method. */
export interface QueryDataRequestAmino {
/**
* DataHash is SHA256 hash of the file's content, which can be data source or
* oracle script
*/
data_hash?: string;
}
export interface QueryDataRequestAminoMsg {
type: "/band.oracle.v1.QueryDataRequest";
value: QueryDataRequestAmino;
}
/** QueryDataRequest is request type for the Query/Data RPC method. */
export interface QueryDataRequestSDKType {
data_hash: string;
}
/** QueryDataResponse is response type for the Query/Data RPC method. */
export interface QueryDataResponse {
/** Data is file's content, which can be data source or oracle script */
data: Uint8Array;
}
export interface QueryDataResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryDataResponse";
value: Uint8Array;
}
/** QueryDataResponse is response type for the Query/Data RPC method. */
export interface QueryDataResponseAmino {
/** Data is file's content, which can be data source or oracle script */
data?: string;
}
export interface QueryDataResponseAminoMsg {
type: "/band.oracle.v1.QueryDataResponse";
value: QueryDataResponseAmino;
}
/** QueryDataResponse is response type for the Query/Data RPC method. */
export interface QueryDataResponseSDKType {
data: Uint8Array;
}
/** QueryDataSourceRequest is request type for the Query/DataSource RPC method. */
export interface QueryDataSourceRequest {
/** DataSourceID is ID of a data source script */
dataSourceId: bigint;
}
export interface QueryDataSourceRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryDataSourceRequest";
value: Uint8Array;
}
/** QueryDataSourceRequest is request type for the Query/DataSource RPC method. */
export interface QueryDataSourceRequestAmino {
/** DataSourceID is ID of a data source script */
data_source_id?: string;
}
export interface QueryDataSourceRequestAminoMsg {
type: "/band.oracle.v1.QueryDataSourceRequest";
value: QueryDataSourceRequestAmino;
}
/** QueryDataSourceRequest is request type for the Query/DataSource RPC method. */
export interface QueryDataSourceRequestSDKType {
data_source_id: bigint;
}
/** QueryDataSourceResponse is response type for the Query/DataSource RPC method. */
export interface QueryDataSourceResponse {
/** DataSource is summary information of a data source */
dataSource?: DataSource;
}
export interface QueryDataSourceResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryDataSourceResponse";
value: Uint8Array;
}
/** QueryDataSourceResponse is response type for the Query/DataSource RPC method. */
export interface QueryDataSourceResponseAmino {
/** DataSource is summary information of a data source */
data_source?: DataSourceAmino;
}
export interface QueryDataSourceResponseAminoMsg {
type: "/band.oracle.v1.QueryDataSourceResponse";
value: QueryDataSourceResponseAmino;
}
/** QueryDataSourceResponse is response type for the Query/DataSource RPC method. */
export interface QueryDataSourceResponseSDKType {
data_source?: DataSourceSDKType;
}
/**
* QueryOracleScriptRequest is request type for the Query/OracleScript RPC
* method.
*/
export interface QueryOracleScriptRequest {
/** OracleScriptID is ID of an oracle script */
oracleScriptId: bigint;
}
export interface QueryOracleScriptRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryOracleScriptRequest";
value: Uint8Array;
}
/**
* QueryOracleScriptRequest is request type for the Query/OracleScript RPC
* method.
*/
export interface QueryOracleScriptRequestAmino {
/** OracleScriptID is ID of an oracle script */
oracle_script_id?: string;
}
export interface QueryOracleScriptRequestAminoMsg {
type: "/band.oracle.v1.QueryOracleScriptRequest";
value: QueryOracleScriptRequestAmino;
}
/**
* QueryOracleScriptRequest is request type for the Query/OracleScript RPC
* method.
*/
export interface QueryOracleScriptRequestSDKType {
oracle_script_id: bigint;
}
/**
* QueryOracleScriptResponse is response type for the Query/OracleScript RPC
* method.
*/
export interface QueryOracleScriptResponse {
/** OracleScript is summary information of an oracle script */
oracleScript?: OracleScript;
}
export interface QueryOracleScriptResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryOracleScriptResponse";
value: Uint8Array;
}
/**
* QueryOracleScriptResponse is response type for the Query/OracleScript RPC
* method.
*/
export interface QueryOracleScriptResponseAmino {
/** OracleScript is summary information of an oracle script */
oracle_script?: OracleScriptAmino;
}
export interface QueryOracleScriptResponseAminoMsg {
type: "/band.oracle.v1.QueryOracleScriptResponse";
value: QueryOracleScriptResponseAmino;
}
/**
* QueryOracleScriptResponse is response type for the Query/OracleScript RPC
* method.
*/
export interface QueryOracleScriptResponseSDKType {
oracle_script?: OracleScriptSDKType;
}
/** QueryRequestRequest is request type for the Query/Request RPC method. */
export interface QueryRequestRequest {
/** RequestID is ID of an oracle request */
requestId: bigint;
}
export interface QueryRequestRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestRequest";
value: Uint8Array;
}
/** QueryRequestRequest is request type for the Query/Request RPC method. */
export interface QueryRequestRequestAmino {
/** RequestID is ID of an oracle request */
request_id?: string;
}
export interface QueryRequestRequestAminoMsg {
type: "/band.oracle.v1.QueryRequestRequest";
value: QueryRequestRequestAmino;
}
/** QueryRequestRequest is request type for the Query/Request RPC method. */
export interface QueryRequestRequestSDKType {
request_id: bigint;
}
/** QueryRequestResponse is response type for the Query/Request RPC method. */
export interface QueryRequestResponse {
/** Request is an oracle request */
request?: Request;
/**
* Reports is list of result data as raw reports that are fulfilled by
* assigned validators
*/
reports: Report[];
/** Result is a final form of result data */
result?: Result;
/** Signing is the signing detail in the bandtss module. */
signing?: SigningResult;
}
export interface QueryRequestResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestResponse";
value: Uint8Array;
}
/** QueryRequestResponse is response type for the Query/Request RPC method. */
export interface QueryRequestResponseAmino {
/** Request is an oracle request */
request?: RequestAmino;
/**
* Reports is list of result data as raw reports that are fulfilled by
* assigned validators
*/
reports?: ReportAmino[];
/** Result is a final form of result data */
result?: ResultAmino;
/** Signing is the signing detail in the bandtss module. */
signing?: SigningResultAmino;
}
export interface QueryRequestResponseAminoMsg {
type: "/band.oracle.v1.QueryRequestResponse";
value: QueryRequestResponseAmino;
}
/** QueryRequestResponse is response type for the Query/Request RPC method. */
export interface QueryRequestResponseSDKType {
request?: RequestSDKType;
reports: ReportSDKType[];
result?: ResultSDKType;
signing?: SigningResultSDKType;
}
/**
* QueryPendingRequestRequest is request type for the Query/PendingRequests RPC
* method.
*/
export interface QueryPendingRequestsRequest {
/** ValidatorAddress is address of a validator */
validatorAddress: string;
}
export interface QueryPendingRequestsRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryPendingRequestsRequest";
value: Uint8Array;
}
/**
* QueryPendingRequestRequest is request type for the Query/PendingRequests RPC
* method.
*/
export interface QueryPendingRequestsRequestAmino {
/** ValidatorAddress is address of a validator */
validator_address?: string;
}
export interface QueryPendingRequestsRequestAminoMsg {
type: "/band.oracle.v1.QueryPendingRequestsRequest";
value: QueryPendingRequestsRequestAmino;
}
/**
* QueryPendingRequestRequest is request type for the Query/PendingRequests RPC
* method.
*/
export interface QueryPendingRequestsRequestSDKType {
validator_address: string;
}
/**
* QueryPendingRequestResponse is response type for the Query/PendingRequests
* RPC method.
*/
export interface QueryPendingRequestsResponse {
/** RequestIDs is a list of pending request IDs assigned to the given validator */
requestIds: bigint[];
}
export interface QueryPendingRequestsResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryPendingRequestsResponse";
value: Uint8Array;
}
/**
* QueryPendingRequestResponse is response type for the Query/PendingRequests
* RPC method.
*/
export interface QueryPendingRequestsResponseAmino {
/** RequestIDs is a list of pending request IDs assigned to the given validator */
request_ids?: string[];
}
export interface QueryPendingRequestsResponseAminoMsg {
type: "/band.oracle.v1.QueryPendingRequestsResponse";
value: QueryPendingRequestsResponseAmino;
}
/**
* QueryPendingRequestResponse is response type for the Query/PendingRequests
* RPC method.
*/
export interface QueryPendingRequestsResponseSDKType {
request_ids: bigint[];
}
/** QueryParamsRequest is request type for the Query/Params RPC method. */
export interface QueryParamsRequest {
}
export interface QueryParamsRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryParamsRequest";
value: Uint8Array;
}
/** QueryParamsRequest is request type for the Query/Params RPC method. */
export interface QueryParamsRequestAmino {
}
export interface QueryParamsRequestAminoMsg {
type: "/band.oracle.v1.QueryParamsRequest";
value: QueryParamsRequestAmino;
}
/** QueryParamsRequest is request type for the Query/Params RPC method. */
export interface QueryParamsRequestSDKType {
}
/** QueryParamsResponse is response type for the Query/Params RPC method. */
export interface QueryParamsResponse {
/** pagination defines an optional pagination for the request. */
params: Params;
}
export interface QueryParamsResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryParamsResponse";
value: Uint8Array;
}
/** QueryParamsResponse is response type for the Query/Params RPC method. */
export interface QueryParamsResponseAmino {
/** pagination defines an optional pagination for the request. */
params?: ParamsAmino;
}
export interface QueryParamsResponseAminoMsg {
type: "/band.oracle.v1.QueryParamsResponse";
value: QueryParamsResponseAmino;
}
/** QueryParamsResponse is response type for the Query/Params RPC method. */
export interface QueryParamsResponseSDKType {
params: ParamsSDKType;
}
/** QueryValidatorRequest is request type for the Query/Validator RPC method. */
export interface QueryValidatorRequest {
/** ValidatorAddress is address of a validator */
validatorAddress: string;
}
export interface QueryValidatorRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryValidatorRequest";
value: Uint8Array;
}
/** QueryValidatorRequest is request type for the Query/Validator RPC method. */
export interface QueryValidatorRequestAmino {
/** ValidatorAddress is address of a validator */
validator_address?: string;
}
export interface QueryValidatorRequestAminoMsg {
type: "/band.oracle.v1.QueryValidatorRequest";
value: QueryValidatorRequestAmino;
}
/** QueryValidatorRequest is request type for the Query/Validator RPC method. */
export interface QueryValidatorRequestSDKType {
validator_address: string;
}
/** QueryValidatorResponse is response type for the Query/Validator RPC method. */
export interface QueryValidatorResponse {
/** Status is status of a validator e.g. active/inactive */
status?: ValidatorStatus;
}
export interface QueryValidatorResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryValidatorResponse";
value: Uint8Array;
}
/** QueryValidatorResponse is response type for the Query/Validator RPC method. */
export interface QueryValidatorResponseAmino {
/** Status is status of a validator e.g. active/inactive */
status?: ValidatorStatusAmino;
}
export interface QueryValidatorResponseAminoMsg {
type: "/band.oracle.v1.QueryValidatorResponse";
value: QueryValidatorResponseAmino;
}
/** QueryValidatorResponse is response type for the Query/Validator RPC method. */
export interface QueryValidatorResponseSDKType {
status?: ValidatorStatusSDKType;
}
/** QueryIsReporterRequest is request type for the Query/Reporter RPC method. */
export interface QueryIsReporterRequest {
/** ValidatorAddress is a validator address */
validatorAddress: string;
/** ReporterAddress is a candidate account */
reporterAddress: string;
}
export interface QueryIsReporterRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryIsReporterRequest";
value: Uint8Array;
}
/** QueryIsReporterRequest is request type for the Query/Reporter RPC method. */
export interface QueryIsReporterRequestAmino {
/** ValidatorAddress is a validator address */
validator_address?: string;
/** ReporterAddress is a candidate account */
reporter_address?: string;
}
export interface QueryIsReporterRequestAminoMsg {
type: "/band.oracle.v1.QueryIsReporterRequest";
value: QueryIsReporterRequestAmino;
}
/** QueryIsReporterRequest is request type for the Query/Reporter RPC method. */
export interface QueryIsReporterRequestSDKType {
validator_address: string;
reporter_address: string;
}
/** QueryIsReporterResponse is response type for the Query/Reporter RPC method. */
export interface QueryIsReporterResponse {
/** IsReporter is true if this account has been granted by validator */
isReporter: boolean;
}
export interface QueryIsReporterResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryIsReporterResponse";
value: Uint8Array;
}
/** QueryIsReporterResponse is response type for the Query/Reporter RPC method. */
export interface QueryIsReporterResponseAmino {
/** IsReporter is true if this account has been granted by validator */
is_reporter?: boolean;
}
export interface QueryIsReporterResponseAminoMsg {
type: "/band.oracle.v1.QueryIsReporterResponse";
value: QueryIsReporterResponseAmino;
}
/** QueryIsReporterResponse is response type for the Query/Reporter RPC method. */
export interface QueryIsReporterResponseSDKType {
is_reporter: boolean;
}
/** QueryReportersRequest is request type for the Query/Reporters RPC method. */
export interface QueryReportersRequest {
/** ValidatorAddress is a validator address */
validatorAddress: string;
}
export interface QueryReportersRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryReportersRequest";
value: Uint8Array;
}
/** QueryReportersRequest is request type for the Query/Reporters RPC method. */
export interface QueryReportersRequestAmino {
/** ValidatorAddress is a validator address */
validator_address?: string;
}
export interface QueryReportersRequestAminoMsg {
type: "/band.oracle.v1.QueryReportersRequest";
value: QueryReportersRequestAmino;
}
/** QueryReportersRequest is request type for the Query/Reporters RPC method. */
export interface QueryReportersRequestSDKType {
validator_address: string;
}
/** QueryReportersResponse is response type for the Query/Reporters RPC method. */
export interface QueryReportersResponse {
/** Reporter is a list of account addresses of reporters */
reporter: string[];
}
export interface QueryReportersResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryReportersResponse";
value: Uint8Array;
}
/** QueryReportersResponse is response type for the Query/Reporters RPC method. */
export interface QueryReportersResponseAmino {
/** Reporter is a list of account addresses of reporters */
reporter?: string[];
}
export interface QueryReportersResponseAminoMsg {
type: "/band.oracle.v1.QueryReportersResponse";
value: QueryReportersResponseAmino;
}
/** QueryReportersResponse is response type for the Query/Reporters RPC method. */
export interface QueryReportersResponseSDKType {
reporter: string[];
}
/**
* QueryActiveValidatorsRequest is request type for the Query/ActiveValidators
* RPC method.
*/
export interface QueryActiveValidatorsRequest {
}
export interface QueryActiveValidatorsRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryActiveValidatorsRequest";
value: Uint8Array;
}
/**
* QueryActiveValidatorsRequest is request type for the Query/ActiveValidators
* RPC method.
*/
export interface QueryActiveValidatorsRequestAmino {
}
export interface QueryActiveValidatorsRequestAminoMsg {
type: "/band.oracle.v1.QueryActiveValidatorsRequest";
value: QueryActiveValidatorsRequestAmino;
}
/**
* QueryActiveValidatorsRequest is request type for the Query/ActiveValidators
* RPC method.
*/
export interface QueryActiveValidatorsRequestSDKType {
}
/**
* QueryActiveValidatorsResponse is response type for the Query/ActiveValidators
* RPC method.
*/
export interface QueryActiveValidatorsResponse {
/** Validators is a list of active validators */
validators: ActiveValidator[];
}
export interface QueryActiveValidatorsResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryActiveValidatorsResponse";
value: Uint8Array;
}
/**
* QueryActiveValidatorsResponse is response type for the Query/ActiveValidators
* RPC method.
*/
export interface QueryActiveValidatorsResponseAmino {
/** Validators is a list of active validators */
validators?: ActiveValidatorAmino[];
}
export interface QueryActiveValidatorsResponseAminoMsg {
type: "/band.oracle.v1.QueryActiveValidatorsResponse";
value: QueryActiveValidatorsResponseAmino;
}
/**
* QueryActiveValidatorsResponse is response type for the Query/ActiveValidators
* RPC method.
*/
export interface QueryActiveValidatorsResponseSDKType {
validators: ActiveValidatorSDKType[];
}
/**
* QueryRequestSearchRequest is request type for the Query/RequestSearch RPC
* method.
*/
export interface QueryRequestSearchRequest {
/** OracleScriptID is ID of an oracle script */
oracleScriptId: bigint;
/**
* Calldata is OBI-encoded data in hex format as argument params for the
* oracle script
*/
calldata: string;
/** AskCount is number of validators allowed for fulfilling the request */
askCount: bigint;
/** MinCount is number of validators required for fulfilling the request */
minCount: bigint;
}
export interface QueryRequestSearchRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestSearchRequest";
value: Uint8Array;
}
/**
* QueryRequestSearchRequest is request type for the Query/RequestSearch RPC
* method.
*/
export interface QueryRequestSearchRequestAmino {
/** OracleScriptID is ID of an oracle script */
oracle_script_id?: string;
/**
* Calldata is OBI-encoded data in hex format as argument params for the
* oracle script
*/
calldata?: string;
/** AskCount is number of validators allowed for fulfilling the request */
ask_count?: string;
/** MinCount is number of validators required for fulfilling the request */
min_count?: string;
}
export interface QueryRequestSearchRequestAminoMsg {
type: "/band.oracle.v1.QueryRequestSearchRequest";
value: QueryRequestSearchRequestAmino;
}
/**
* QueryRequestSearchRequest is request type for the Query/RequestSearch RPC
* method.
*/
export interface QueryRequestSearchRequestSDKType {
oracle_script_id: bigint;
calldata: string;
ask_count: bigint;
min_count: bigint;
}
/**
* QueryRequestSearchResponse is response type for the Query/RequestSearch RPC
* method.
*/
export interface QueryRequestSearchResponse {
/** Request is details of an oracle request */
request?: QueryRequestResponse;
}
export interface QueryRequestSearchResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestSearchResponse";
value: Uint8Array;
}
/**
* QueryRequestSearchResponse is response type for the Query/RequestSearch RPC
* method.
*/
export interface QueryRequestSearchResponseAmino {
/** Request is details of an oracle request */
request?: QueryRequestResponseAmino;
}
export interface QueryRequestSearchResponseAminoMsg {
type: "/band.oracle.v1.QueryRequestSearchResponse";
value: QueryRequestSearchResponseAmino;
}
/**
* QueryRequestSearchResponse is response type for the Query/RequestSearch RPC
* method.
*/
export interface QueryRequestSearchResponseSDKType {
request?: QueryRequestResponseSDKType;
}
/**
* QueryRequestPriceRequest is request type for the Query/RequestPrice RPC
* method.
*/
export interface QueryRequestPriceRequest {
/** Symbol is unit of data indicating what the data is */
symbols: string[];
/** AskCount is number of validators allowed for fulfilling the request */
askCount: bigint;
/** MinCount is number of validators required for fulfilling the request */
minCount: bigint;
}
export interface QueryRequestPriceRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestPriceRequest";
value: Uint8Array;
}
/**
* QueryRequestPriceRequest is request type for the Query/RequestPrice RPC
* method.
*/
export interface QueryRequestPriceRequestAmino {
/** Symbol is unit of data indicating what the data is */
symbols?: string[];
/** AskCount is number of validators allowed for fulfilling the request */
ask_count?: string;
/** MinCount is number of validators required for fulfilling the request */
min_count?: string;
}
export interface QueryRequestPriceRequestAminoMsg {
type: "/band.oracle.v1.QueryRequestPriceRequest";
value: QueryRequestPriceRequestAmino;
}
/**
* QueryRequestPriceRequest is request type for the Query/RequestPrice RPC
* method.
*/
export interface QueryRequestPriceRequestSDKType {
symbols: string[];
ask_count: bigint;
min_count: bigint;
}
/**
* QueryRequestPriceResponse is response type for the Query/RequestPrice RPC
* method.
*/
export interface QueryRequestPriceResponse {
/** PriceResult is a list of price results for given symbols */
priceResults: PriceResult[];
}
export interface QueryRequestPriceResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestPriceResponse";
value: Uint8Array;
}
/**
* QueryRequestPriceResponse is response type for the Query/RequestPrice RPC
* method.
*/
export interface QueryRequestPriceResponseAmino {
/** PriceResult is a list of price results for given symbols */
price_results?: PriceResultAmino[];
}
export interface QueryRequestPriceResponseAminoMsg {
type: "/band.oracle.v1.QueryRequestPriceResponse";
value: QueryRequestPriceResponseAmino;
}
/**
* QueryRequestPriceResponse is response type for the Query/RequestPrice RPC
* method.
*/
export interface QueryRequestPriceResponseSDKType {
price_results: PriceResultSDKType[];
}
/**
* QueryRequestVerificationRequest is request type for the
* Query/RequestVerification RPC
*/
export interface QueryRequestVerificationRequest {
/**
* ChainID is the chain ID to identify which chain ID is used for the
* verification
*/
chainId: string;
/** Validator is a validator address */
validator: string;
/** RequestID is oracle request ID */
requestId: bigint;
/** ExternalID is an oracle's external ID */
externalId: bigint;
/** DataSourceID is the ID of data source */
dataSourceId: bigint;
/**
* Reporter is an bech32-encoded public key of the reporter authorized by the
* validator
*/
reporter: string;
/**
* Signature is a signature signed by the reporter using reporter's private
* key
*/
signature: Uint8Array;
/**
* MaxDelay is a max number of RequestID delay acceptable in case of node
* delay
*/
maxDelay: bigint;
}
export interface QueryRequestVerificationRequestProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestVerificationRequest";
value: Uint8Array;
}
/**
* QueryRequestVerificationRequest is request type for the
* Query/RequestVerification RPC
*/
export interface QueryRequestVerificationRequestAmino {
/**
* ChainID is the chain ID to identify which chain ID is used for the
* verification
*/
chain_id?: string;
/** Validator is a validator address */
validator?: string;
/** RequestID is oracle request ID */
request_id?: string;
/** ExternalID is an oracle's external ID */
external_id?: string;
/** DataSourceID is the ID of data source */
data_source_id?: string;
/**
* Reporter is an bech32-encoded public key of the reporter authorized by the
* validator
*/
reporter?: string;
/**
* Signature is a signature signed by the reporter using reporter's private
* key
*/
signature?: string;
/**
* MaxDelay is a max number of RequestID delay acceptable in case of node
* delay
*/
max_delay?: string;
}
export interface QueryRequestVerificationRequestAminoMsg {
type: "/band.oracle.v1.QueryRequestVerificationRequest";
value: QueryRequestVerificationRequestAmino;
}
/**
* QueryRequestVerificationRequest is request type for the
* Query/RequestVerification RPC
*/
export interface QueryRequestVerificationRequestSDKType {
chain_id: string;
validator: string;
request_id: bigint;
external_id: bigint;
data_source_id: bigint;
reporter: string;
signature: Uint8Array;
max_delay: bigint;
}
/**
* QueryRequestVerificationResponse is response type for the
* Query/RequestVerification RPC
*/
export interface QueryRequestVerificationResponse {
/** ChainID is the targeted chain ID */
chainId: string;
/** Validator is the targeted validator address */
validator: string;
/** RequestID is the ID of targeted request */
requestId: bigint;
/** ExternalID is the ID of targeted oracle's external data source */
externalId: bigint;
/**
* DataSourceID is the ID of a data source that relates to the targeted
* external ID
*/
dataSourceId: bigint;
/**
* IsDelay is a flag to tell that this request is not exist yet but in
* MaxDelay range
*/
isDelay: boolean;
}
export interface QueryRequestVerificationResponseProtoMsg {
typeUrl: "/band.oracle.v1.QueryRequestVerificationResponse";
value: Uint8Array;
}
/**
* QueryRequestVerificationResponse is response type for the
* Query/RequestVerification RPC
*/
export interface QueryRequestVerificationResponseAmino {
/** ChainID is the targeted chain ID */
chain_id?: string;
/** Validator is the targeted validator address */
validator?: string;
/** RequestID is the ID of targeted request */
request_id?: string;
/** ExternalID is the ID of targeted oracle's external data source */
external_id?: string;
/**
* DataSourceID is the ID of a data source that relates to the targeted
* external ID
*/
data_source_id?: string;
/**
* IsDelay is a flag to tell that this request is not exist yet but in
* MaxDelay range
*/
is_delay?: boolean;
}
export interface QueryRequestVerificationResponseAminoMsg {
type: "/band.oracle.v1.QueryRequestVerificationResponse";
value: QueryRequestVerificationResponseAmino;
}
/**
* QueryRequestVerificationResponse is response type for the
* Query/RequestVerification RPC
*/
export interface QueryRequestVerificationResponseSDKType {
chain_id: string;
validator: string;
request_id: bigint;
external_id: bigint;
data_source_id: bigint;
is_delay: boolean;
}
export declare const QueryCountsRequest: {
typeUrl: string;
encode(_: QueryCountsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryCountsRequest;
fromPartial(_: Partial<QueryCountsRequest>): QueryCountsRequest;
fromAmino(_: QueryCountsRequestAmino): QueryCountsRequest;
toAmino(_: QueryCountsRequest): QueryCountsRequestAmino;
fromAminoMsg(object: QueryCountsRequestAminoMsg): QueryCountsRequest;
fromProtoMsg(message: QueryCountsRequestProtoMsg): QueryCountsRequest;
toProto(message: QueryCountsRequest): Uint8Array;
toProtoMsg(message: QueryCountsRequest): QueryCountsRequestProtoMsg;
};
export declare const QueryCountsResponse: {
typeUrl: string;
encode(message: QueryCountsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryCountsResponse;
fromPartial(object: Partial<QueryCountsResponse>): QueryCountsResponse;
fromAmino(object: QueryCountsResponseAmino): QueryCountsResponse;
toAmino(message: QueryCountsResponse): QueryCountsResponseAmino;
fromAminoMsg(object: QueryCountsResponseAminoMsg): QueryCountsResponse;
fromProtoMsg(message: QueryCountsResponseProtoMsg): QueryCountsResponse;
toProto(message: QueryCountsResponse): Uint8Array;
toProtoMsg(message: QueryCountsResponse): QueryCountsResponseProtoMsg;
};
export declare const QueryDataRequest: {
typeUrl: string;
encode(message: QueryDataRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryDataRequest;
fromPartial(object: Partial<QueryDataRequest>): QueryDataRequest;
fromAmino(object: QueryDataRequestAmino): QueryDataRequest;
toAmino(message: QueryDataRequest): QueryDataRequestAmino;
fromAminoMsg(object: QueryDataRequestAminoMsg): QueryDataRequest;
fromProtoMsg(message: QueryDataRequestProtoMsg): QueryDataRequest;
toProto(message: QueryDataRequest): Uint8Array;
toProtoMsg(message: QueryDataRequest): QueryDataRequestProtoMsg;
};
export declare const QueryDataResponse: {
typeUrl: string;
encode(message: QueryDataResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryDataResponse;
fromPartial(object: Partial<QueryDataResponse>): QueryDataResponse;
fromAmino(object: QueryDataResponseAmino): QueryDataResponse;
toAmino(message: QueryDataResponse): QueryDataResponseAmino;
fromAminoMsg(object: QueryDataResponseAminoMsg): QueryDataResponse;
fromProtoMsg(message: QueryDataResponseProtoMsg): QueryDataResponse;
toProto(message: QueryDataResponse): Uint8Array;
toProtoMsg(message: QueryDataResponse): QueryDataResponseProtoMsg;
};
export declare const QueryDataSourceRequest: {
typeUrl: string;
encode(message: QueryDataSourceRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryDataSourceRequest;
fromPartial(object: Partial<QueryDataSourceRequest>): QueryDataSourceRequest;
fromAmino(object: QueryDataSourceRequestAmino): QueryDataSourceRequest;
toAmino(message: QueryDataSourceRequest): QueryDataSourceRequestAmino;
fromAminoMsg(object: QueryDataSourceRequestAminoMsg): QueryDataSourceRequest;
fromProtoMsg(message: QueryDataSourceRequestProtoMsg): QueryDataSourceRequest;
toProto(message: QueryDataSourceRequest): Uint8Array;
toProtoMsg(message: QueryDataSourceRequest): QueryDataSourceRequestProtoMsg;
};
export declare const QueryDataSourceResponse: {
typeUrl: string;
encode(message: QueryDataSourceResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryDataSourceResponse;
fromPartial(object: Partial<QueryDataSourceResponse>): QueryDataSourceResponse;
fromAmino(object: QueryDataSourceResponseAmino): QueryDataSourceResponse;
toAmino(message: QueryDataSourceResponse): QueryDataSourceResponseAmino;
fromAminoMsg(object: QueryDataSourceResponseAminoMsg): QueryDataSourceResponse;
fromProtoMsg(message: QueryDataSourceResponseProtoMsg): QueryDataSourceResponse;
toProto(message: QueryDataSourceResponse): Uint8Array;
toProtoMsg(message: QueryDataSourceResponse): QueryDataSourceResponseProtoMsg;
};
export declare const QueryOracleScriptRequest: {
typeUrl: string;
encode(message: QueryOracleScriptRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryOracleScriptRequest;
fromPartial(object: Partial<QueryOracleScriptRequest>): QueryOracleScriptRequest;
fromAmino(object: QueryOracleScriptRequestAmino): QueryOracleScriptRequest;
toAmino(message: QueryOracleScriptRequest): QueryOracleScriptRequestAmino;
fromAminoMsg(object: QueryOracleScriptRequestAminoMsg): QueryOracleScriptRequest;
fromProtoMsg(message: QueryOracleScriptRequestProtoMsg): QueryOracleScriptRequest;
toProto(message: QueryOracleScriptRequest): Uint8Array;
toProtoMsg(message: QueryOracleScriptRequest): QueryOracleScriptRequestProtoMsg;
};
export declare const QueryOracleScriptResponse: {
typeUrl: string;
encode(message: QueryOracleScriptResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryOracleScriptResponse;
fromPartial(object: Partial<QueryOracleScriptResponse>): QueryOracleScriptResponse;
fromAmino(object: QueryOracleScriptResponseAmino): QueryOracleScriptResponse;
toAmino(message: QueryOracleScriptResponse): QueryOracleScriptResponseAmino;
fromAminoMsg(object: QueryOracleScriptResponseAminoMsg): QueryOracleScriptResponse;
fromProtoMsg(message: QueryOracleScriptResponseProtoMsg): QueryOracleScriptResponse;
toProto(message: QueryOracleScriptResponse): Uint8Array;
toProtoMsg(message: QueryOracleScriptResponse): QueryOracleScriptResponseProtoMsg;
};
export declare const QueryRequestRequest: {
typeUrl: string;
encode(message: QueryRequestRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryRequestRequest;
fromPartial(object: Partial<QueryRequestRequest>): QueryRequestRequest;
fromAmino(object: QueryRequestRequestAmino): QueryRequestRequest;
toAmino(message: QueryRequestRequest): QueryRequestRequestAmino;
fromAminoMsg(object: QueryRequestRequestAminoMsg): QueryRequestRequest;
fromProtoMsg(message: QueryRequestRequestProtoMsg): QueryRequestRequest;
toProto(message: QueryRequestRequest): Uint8Array;
toProtoMsg(message: QueryRequestRequest): QueryRequestRequestProtoMsg;
};
export declare const QueryRequestResponse: {
typeUrl: string;
encode(message: QueryRequestResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryRequestResponse;
fromPartial(object: Partial<QueryRequestResponse>): QueryRequestResponse;
fromAmino(object: QueryRequestResponseAmino): QueryRequestResponse;
toAmino(message: QueryRequestResponse): QueryRequestResponseAmino;
fromAminoMsg(object: QueryRequestResponseAminoMsg): QueryRequestResponse;
fromProtoMsg(message: QueryRequestResponseProtoMsg): QueryRequestResponse;
toProto(message: QueryRequestResponse): Uint8Array;
toProtoMsg(message: QueryRequestResponse): QueryRequestResponseProtoMsg;
};
export declare const QueryPendingRequestsRequest: {
typeUrl: string;
encode(message: QueryPendingRequestsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryPendingRequestsRequest;
fromPartial(object: Partial<QueryPendingRequestsRequest>): QueryPendingRequestsRequest;
fromAmino(object: QueryPendingRequestsRequestAmino): QueryPendingRequestsRequest;
toAmino(message: QueryPendingRequestsRequest): QueryPendingRequestsRequestAmino;
fromAminoMsg(object: QueryPendingRequestsRequestAminoMsg): QueryPendingRequestsRequest;
fromProtoMsg(message: QueryPendingRequestsRequestProtoMsg): QueryPendingRequestsRequest;
toProto(message: QueryPendingRequestsRequest): Uint8Array;
toProtoMsg(message: QueryPendingRequestsRequest): QueryPendingRequestsRequestProtoMsg;
};
export declare const QueryPendingRequestsResponse: {
typeUrl: string;
encode(message: QueryPendingRequestsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryPendingRequestsResponse;
fromPartial(object: Partial<QueryPendingRequestsResponse>): QueryPendingRequestsResponse;
fromAmino(object: QueryPendingRequestsResponseAmino): QueryPendingRequestsResponse;
toAmino(message: QueryPendingRequestsResponse): QueryPendingRequestsResponseAmino;
fromAminoMsg(object: QueryPendingRequestsResponseAminoMsg): QueryPendingRequestsResponse;
fromProtoMsg(message: QueryPendingRequestsResponseProtoMsg): QueryPendingRequestsResponse;
toProto(message: QueryPendingRequestsResponse): Uint8Array;
toProtoMsg(message: QueryPendingRequestsResponse): QueryPendingRequestsResponseProtoMsg;
};
export declare const QueryParamsRequest: {
typeUrl: string;
encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest;
fromPartial(_: Partial<QueryParamsRequest>): QueryParamsRequest;
fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest;
toAmino(_: QueryParamsRequest): QueryParamsRequestAmino;
fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest;
fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest;
toProto(message: QueryParamsRequest): Uint8Array;
toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg;
};
export declare const QueryParamsResponse: {
typeUrl: string;
encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse;
fromPartial(object: Partial<QueryParamsResponse>): QueryParamsResponse;
fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse;
toAmino(message: QueryParamsResponse): QueryParamsResponseAmino;
fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse;
fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse;
toProto(message: QueryParamsResponse): Uint8Array;
toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg;
};
export declare const QueryValidatorRequest: {
typeUrl: string;
encode(message: QueryValidatorRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorRequest;
fromPartial(object: Partial<QueryValidatorRequest>): QueryValidatorRequest;
fromAmino(object: QueryValidatorRequestAmino): QueryValidatorRequest;
toAmino(message: QueryValidatorRequest): QueryValidatorRequestAmino;
fromAminoMsg(object: QueryValidatorRequestAminoMsg): QueryValidatorRequest;
fromProtoMsg(message: QueryValidatorRequestProtoMsg): QueryValidatorRequest;
toProto(message: QueryValidatorRequest): Uint8Array;
toProtoMsg(message: QueryValidatorRequest): QueryValidatorRequestProtoMsg;
};
export declare const QueryValidatorResponse: {
typeUrl: string;
encode(message: QueryValidatorResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorResponse;
fromPartial(object: Partial<QueryValidatorResponse>): QueryValidatorResponse;
fromAmino(object: QueryValidatorResponseAmino): QueryValidatorResponse;
toAmino(message: QueryValidatorResponse): QueryValidatorResponseAmino;
fromAminoMsg(object: QueryValidatorResponseAminoMsg): QueryValidatorResponse;
fromProtoMsg(message: QueryValidatorResponseProtoMsg): QueryValidatorResponse;
toProto(message: QueryValidatorResponse): Uint8Array;
toProtoMsg(message: QueryValidatorResponse): QueryValidatorResponseProtoMsg;
};
export declare const QueryIsReporterRequest: {
typeUrl: string;
encode(message: QueryIsReporterRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryIsReporterRequest;
fromPartial(object: Partial<QueryIsReporterRequest>): QueryIsReporterRequest;
fromAmino(object: QueryIsReporterRequestAmino): QueryIsReporterRequest;
toAmino(message: QueryIsReporterRequest): QueryIsReporterRequestAmino;
fromAminoMsg(object: QueryIsReporterRequestAminoMsg): QueryIsReporterRequest;
fromProtoMsg(message: QueryIsReporterRequestProtoMsg): QueryIsReporterRequest;
toProto(message: QueryIsReporterRequest): Uint8Array;
toProtoMsg(message: QueryIsReporterRequest): QueryIsReporterRequestProtoMsg;
};
export declare const QueryIsReporterResponse: {
typeUrl: string;
encode(message: QueryIsReporterResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryIsReporterResponse;
fromPartial(object: Partial<QueryIsReporterResponse>): QueryIsReporterResponse;
fromAmino(object: QueryIsReporterResponseAmino): QueryIsReporterResponse;
toAmino(message: QueryIsReporterResponse): QueryIsReporterResponseAmino;
fromAminoMsg(object: QueryIsReporterResponseAminoMsg): QueryIsReporterResponse;
fromProtoMsg(message: QueryIsReporterResponseProtoMsg): QueryIsReporterResponse;
toProto(message: QueryIsReporterResponse): Uint8Array;
toProtoMsg(message: QueryIsReporterResponse): QueryIsReporterResponseProtoMsg;
};
export declare const QueryReportersRequest: {
typeUrl: string;
encode(message: QueryReportersRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryReportersRequest;
fromPartial(object: Partial<QueryReportersRequest>): QueryReportersRequest;
fromAmino(object: QueryReportersRequestAmino): QueryReportersRequest;
toAmino(message: QueryReportersRequest): QueryReportersRequestAmino;
fromAminoMsg(object: QueryReportersRequestAminoMsg): QueryReportersRequest;
fromProtoMsg(message: QueryReportersRequestProtoMsg): QueryReportersRequest;
toProto(message: QueryReportersRequest): Uint8Array;
toProtoMsg(message: QueryReportersRequest): QueryReportersRequestProtoMsg;
};
export declare const QueryReportersResponse: {
typeUrl: string;
encode(message: QueryReportersResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryReportersResponse;
fromPartial(object: Partial<QueryReportersResponse>): QueryReportersResponse;
fromAmino(object: QueryReportersResponseAmino): QueryReportersResponse;
toAmino(message: QueryReportersResponse): QueryReportersResponseAmino;
fromAminoMsg(object: QueryReportersResponseAminoMsg): QueryReportersResponse;
fromProtoMsg(message: QueryReportersResponseProtoMsg): QueryReportersResponse;
toProto(message: QueryReportersResponse): Uint8Array;
toProtoMsg(message: QueryReportersResponse): QueryReportersResponseProtoMsg;
};
export declare const QueryActiveValidatorsRequest: {
typeUrl: string;
encode(_: QueryActiveValidatorsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryActiveValidatorsRequest;
fromPartial(_: Partial<QueryActiveValidatorsRequest>): QueryActiveValidatorsRequest;
fromAmino(_: QueryActiveValidatorsRequestAmino): QueryActiveValidatorsRequest;
toAmino(_: QueryActiveValidatorsRequest): QueryActiveValidatorsRequestAmino;
fromAminoMsg(object: QueryActiveValidatorsRequestAminoMsg): QueryActiveValidatorsRequest;
fromProtoMsg(message: QueryActiveValidatorsRequestProtoMsg): QueryActiveValidatorsRequest;
toProto(message: QueryActiveValidatorsRequest): Uint8Array;
toProtoMsg(message: QueryActiveValidatorsRequest): QueryActiveValidatorsRequestProtoMsg;
};
export declare const QueryActiveValidatorsResponse: {
typeUrl: string;
encode(message: QueryActiveValidatorsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryActiveValidatorsResponse;
fromPartial(object: Partial<QueryActiveValidatorsResponse>): QueryActiveValidatorsResponse;
fromAmino(object: QueryActiveValidatorsResponseAmino): QueryActiveValidatorsResponse;
toAmino(message: QueryActiveValidatorsResponse): QueryActiveValidatorsResponseAmino;
fromAminoMsg(object: QueryActiveValidatorsResponseAminoMsg): QueryActiveValidatorsResponse;
fromProtoMsg(message: QueryActiveValidatorsResponseProtoMsg): QueryActiveValidatorsResponse;
toProto(message: QueryActiveValidatorsResponse): Uint8Array;
toProtoMsg(message: QueryActiveValidatorsResponse): QueryActiveValidatorsResponseProtoMsg;
};
export declare const QueryRequestSearchRequest: {
typeUrl: string;
encode(message: QueryRequestSearchRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryRequestSearchRequest;
fromPartial(object: Partial<QueryRequestSearchRequest>): QueryRequestSearchRequest;
fromAmino(object: QueryRequestSearchRequestAmino): QueryRequestSearchRequest;
toAmino(message: QueryRequestSearchRequest): QueryRequestSearchRequestAmino;
fromAminoMsg(object: QueryRequestSearchRequestAminoMsg): QueryRequestSearchRequest;
fromProtoMsg(message: QueryRequestSearchRequestProtoMsg): QueryRequestSearchRequest;
toProto(message: QueryRequestSearchRequest): Uint8Array;
toProtoMsg(message: QueryRequestSearchRequest): QueryRequestSearchRequestProtoMsg;
};
export declare const QueryRequestSearchResponse: {
typeUrl: string;
encode(message: QueryRequestSearchResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryRequestSearchResponse;
fromPartial(object: Partial<QueryRequestSearchResponse>): QueryRequestSearchResponse;
fromAmino(object: QueryRequestSearchResponseAmino): QueryRequestSearchResponse;
toAmino(message: QueryRequestSearchResponse): QueryRequestSearchResponseAmino;
fromAminoMsg(object: QueryRequestSearchResponseAminoMsg): QueryRequestSearchResponse;
fromProtoMsg(message: QueryRequestSearchResponseProtoMsg): QueryRequestSearchResponse;
toProto(message: QueryRequestSearchResponse): Uint8Array;
toProtoMsg(message: QueryRequestSearchResponse): QueryRequestSearchResponseProtoMsg;
};
export declare const QueryRequestPriceRequest: {
typeUrl: string;
encode(message: QueryRequestPriceRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryRequestPriceRequest;
fromPartial(object: Partial<QueryRequestPriceRequest>): QueryRequestPriceRequest;
fromAmino(object: QueryRequestPriceRequestAmino): QueryRequestPriceRequest;
toAmino(message: QueryRequestPriceRequest): QueryRequestPriceRequestAmino;
fromAminoMsg(object: QueryRequestPriceRequestAminoMsg): QueryRequestPriceRequest;
fromProtoMsg(message: QueryRequestPriceRequestProtoMsg): QueryRequestPriceRequest;
toProto(message: QueryRequestPriceRequest): Uint8Array;
toProto