fragment StakingDelegationsFields on Delegation {
  amount
  node {
    id
  }
  epoch
}

query PartyDelegations($partyId: ID!, $delegationsPagination: Pagination) {
  party(id: $partyId) {
    id
    delegationsConnection(pagination: $delegationsPagination) {
      edges {
        node {
          ...StakingDelegationsFields
        }
      }
    }
  }
  epoch {
    id
  }
}
