2023-07-23 10:08:43 -05:00

17 lines
262 B
JavaScript

import { gql } from 'graphql-tag'
export default gql`
extend type Query {
expectedRewards: ExpectedRewards!
}
extend type Mutation {
donateToRewards(sats: Int!): Int!
}
type ExpectedRewards {
total: Int!
sources: [NameValue!]!
}
`