Created
May 18, 2019 21:47
Revisions
-
PaulRBerg created this gist
May 18, 2019 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,76 @@ import gql from "graphql-tag"; export const GET_STREAMS = gql` query Streams($owner: String!) { streams(orderBy: id, orderDirection: desc, where: { owner: $owner }) { id flow owner rawStream { id interval payment recipient redeemal { id recipientAmount senderAmount } sender startBlock status stopBlock token { id decimals name symbol } txs { id } withdrawals { id amount } } } } `; export const GET_STREAM = gql` query Stream($streamId: ID!) { stream(id: $streamId) { id flow rawStream { id interval payment recipient redeemal { id recipientAmount senderAmount } sender startBlock status stopBlock token { id decimals name symbol } txs { id } withdrawals { id amount } } } } `;