stacker.news/fragments/rewards.js
2023-08-15 12:41:51 -05:00

34 lines
493 B
JavaScript

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
}
}
}`