We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697ede4 commit c2d1c5dCopy full SHA for c2d1c5d
packages/graphql/src/transactions.ts
@@ -1,4 +1,4 @@
1
-import { TransactionFragment } from './fragments';
+import { TransactionFragment, TransactionRequestFragment } from './fragments';
2
import { graphql, type RequestOf } from './graphql';
3
4
/**
@@ -52,3 +52,16 @@ export const WithdrawQuery = graphql(
52
[TransactionFragment],
53
);
54
export type WithdrawRequest = RequestOf<typeof WithdrawQuery>;
55
+
56
+/**
57
+ * @internal
58
+ */
59
+export const EModeToggleQuery = graphql(
60
+ `query EModeToggle($request: EmodeToggleRequest!) {
61
+ value: eModeToggle(request: $request) {
62
+ ...TransactionRequest
63
+ }
64
+ }`,
65
+ [TransactionRequestFragment],
66
+);
67
+export type EModeToggleRequest = RequestOf<typeof EModeToggleQuery>;
0 commit comments