# Copyright 2020-2022 SubQuery Pte Ltd authors & contributors
# SPDX-License-Identifier: Apache-2.0

fragment TotalLockFields on TotalLock {
  id
  totalStake
  totalDelegation
}

query GetTotalLock {
  totalLocks {
    totalCount
    nodes {
      ...TotalLockFields
    }
  }
}
