stacker.news/fragments/rewards.js

34 lines
493 B
JavaScript
Raw Normal View History

2023-08-15 17:41:51 +00:00
import gql from 'graphql-tag'
export const REWARDS = gql`
query rewards($when: String) {
rewards(when: $when) {
total
time
sources {
name
value
}
}
}`
export const ME_REWARDS = gql`
query meRewards($when: String) {
rewards(when: $when) {
total
time
sources {
name
value
}
}
meRewards(when: $when) {
total
rewards {
type
rank
sats
}
}
}`