|
1 | 1 | import { buildUseVueQuery } from "../../../vue-query";
|
2 | 2 | import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse, TxDecodeRequest, TxDecodeResponse, TxEncodeRequest, TxEncodeResponse, TxEncodeAminoRequest, TxEncodeAminoResponse, TxDecodeAminoRequest, TxDecodeAminoResponse } from "./service";
|
3 |
| -import { getSimulate, getGetTx, getBroadcastTx, getGetTxsEvent, getGetBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func"; |
| 3 | +import { getSimulate, getTx, getBroadcastTx, getTxsEvent, getBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func"; |
4 | 4 | export const useGetSimulate = buildUseVueQuery<SimulateRequest, SimulateResponse>({
|
5 | 5 | builderQueryFn: getSimulate,
|
6 | 6 | queryKeyPrefix: "SimulateQuery"
|
7 | 7 | });
|
8 |
| -export const useGetGetTx = buildUseVueQuery<GetTxRequest, GetTxResponse>({ |
9 |
| - builderQueryFn: getGetTx, |
| 8 | +export const useGetTx = buildUseVueQuery<GetTxRequest, GetTxResponse>({ |
| 9 | + builderQueryFn: getTx, |
10 | 10 | queryKeyPrefix: "GetTxQuery"
|
11 | 11 | });
|
12 | 12 | export const useGetBroadcastTx = buildUseVueQuery<BroadcastTxRequest, BroadcastTxResponse>({
|
13 | 13 | builderQueryFn: getBroadcastTx,
|
14 | 14 | queryKeyPrefix: "BroadcastTxQuery"
|
15 | 15 | });
|
16 |
| -export const useGetGetTxsEvent = buildUseVueQuery<GetTxsEventRequest, GetTxsEventResponse>({ |
17 |
| - builderQueryFn: getGetTxsEvent, |
| 16 | +export const useGetTxsEvent = buildUseVueQuery<GetTxsEventRequest, GetTxsEventResponse>({ |
| 17 | + builderQueryFn: getTxsEvent, |
18 | 18 | queryKeyPrefix: "GetTxsEventQuery"
|
19 | 19 | });
|
20 |
| -export const useGetGetBlockWithTxs = buildUseVueQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({ |
21 |
| - builderQueryFn: getGetBlockWithTxs, |
| 20 | +export const useGetBlockWithTxs = buildUseVueQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({ |
| 21 | + builderQueryFn: getBlockWithTxs, |
22 | 22 | queryKeyPrefix: "GetBlockWithTxsQuery"
|
23 | 23 | });
|
24 | 24 | export const useGetTxDecode = buildUseVueQuery<TxDecodeRequest, TxDecodeResponse>({
|
|
0 commit comments