From 281be67ceb2c5499aaa9306f66388aa080163e43 Mon Sep 17 00:00:00 2001 From: elweyn Date: Wed, 9 Mar 2022 17:15:42 +0100 Subject: [PATCH] Add query to getTransactionInformation to the queries of the frontend. --- frontend/src/graphql/queries.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/frontend/src/graphql/queries.js b/frontend/src/graphql/queries.js index 94a5e59f3..457514d18 100644 --- a/frontend/src/graphql/queries.js +++ b/frontend/src/graphql/queries.js @@ -127,3 +127,20 @@ export const communities = gql` } } ` + +export const queryTransactionLink = gql` + query($code: String!) { + queryTransactionLink(code: $code) { + amount + memo + createdAt + validUntil + user { + email + firstName + lastName + publisherId + } + } + } +`