vega-frontend-monorepo/apps/token/src/lib/client.graphql
Dexter Edwards 92be8dfabf
Chore/1877 deprecated apis stake (#1914)
* chore: generate types

* chore: remove type policy as it is bad

* chore: migrate all usages of depreacted stake field

* chore: fix build
2022-11-01 09:38:02 +00:00

34 lines
621 B
GraphQL

extend type Proposal {
"Whether or the not the proposal is processing on the blockchain"
pending: Boolean!
"Generated name for the proposal"
name: String!
}
extend type Node {
pendingStakeFormatted: String!
stakedByOperatorFormatted: String!
stakedByDelegatesFormatted: String!
stakedTotalFormatted: String!
}
extend type Delegation {
amountFormatted: String!
}
extend type NodeData {
stakedTotalFormatted: String!
}
extend type Reward {
amountFormatted: String!
}
extend type RewardPerAssetDetail {
totalAmountFormatted: String!
}
extend type AccountBalance {
balanceFormatted: String!
}