Skip to content

Commit

Permalink
Merge pull request #68 from maticnetwork/schema-fix
Browse files Browse the repository at this point in the history
Query filter StakingParams entity
  • Loading branch information
nitinmittal23 authored Jul 12, 2022
2 parents 616bc11 + 23c7aa4 commit ee37a05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion root/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ type Topup @entity {
}

# Staking Params across all validators
type StakingParams @entity {
type StakingParams
@queryFields(singular: "stakingParams", plural: "allStakingParams")
@entity {
id: ID!
owner: Bytes
validatorThreshold: BigInt!
Expand Down

0 comments on commit ee37a05

Please sign in to comment.