17 lines
262 B
JavaScript
Raw Normal View History

import { gql } from 'graphql-tag'
2022-12-07 18:04:02 -06:00
export default gql`
extend type Query {
expectedRewards: ExpectedRewards!
}
extend type Mutation {
donateToRewards(sats: Int!): Int!
}
type ExpectedRewards {
total: Int!
sources: [NameValue!]!
}
`