import { buildQuery } from "../../../helper-func-types";
import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse, TxDecodeRequest, TxDecodeResponse, TxEncodeRequest, TxEncodeResponse, TxEncodeAminoRequest, TxEncodeAminoResponse, TxDecodeAminoRequest, TxDecodeAminoResponse } from "./service";
export const createGetSimulate = (clientResolver) => buildQuery({
    encode: SimulateRequest.encode,
    decode: SimulateResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "Simulate",
    clientResolver
});
export const createGetGetTx = (clientResolver) => buildQuery({
    encode: GetTxRequest.encode,
    decode: GetTxResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "GetTx",
    clientResolver
});
export const createGetBroadcastTx = (clientResolver) => buildQuery({
    encode: BroadcastTxRequest.encode,
    decode: BroadcastTxResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "BroadcastTx",
    clientResolver
});
export const createGetGetTxsEvent = (clientResolver) => buildQuery({
    encode: GetTxsEventRequest.encode,
    decode: GetTxsEventResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "GetTxsEvent",
    clientResolver
});
export const createGetGetBlockWithTxs = (clientResolver) => buildQuery({
    encode: GetBlockWithTxsRequest.encode,
    decode: GetBlockWithTxsResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "GetBlockWithTxs",
    clientResolver
});
export const createGetTxDecode = (clientResolver) => buildQuery({
    encode: TxDecodeRequest.encode,
    decode: TxDecodeResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "TxDecode",
    clientResolver
});
export const createGetTxEncode = (clientResolver) => buildQuery({
    encode: TxEncodeRequest.encode,
    decode: TxEncodeResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "TxEncode",
    clientResolver
});
export const createGetTxEncodeAmino = (clientResolver) => buildQuery({
    encode: TxEncodeAminoRequest.encode,
    decode: TxEncodeAminoResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "TxEncodeAmino",
    clientResolver
});
export const createGetTxDecodeAmino = (clientResolver) => buildQuery({
    encode: TxDecodeAminoRequest.encode,
    decode: TxDecodeAminoResponse.decode,
    service: "cosmos.tx.v1beta1.Service",
    method: "TxDecodeAmino",
    clientResolver
});
