pallad icon indicating copy to clipboard operation
pallad copied to clipboard

Remove Deprecated Fields from GraphQL Provider Queries

Open teddyjfpender opened this issue 1 year ago • 1 comments

Some of the GraphQL provider queries have deprecated fields. We must remove them and use the proper fields.

For example in AccountInfoProvider's query:

export const getAccountBalance = `
  query accountBalance($publicKey: PublicKey!) {
    account(publicKey: $publicKey) {
      balance {
        total
      },
      nonce
      inferredNonce
      delegate
      publicKey
    }
  }
`

The delegate field is deprecated & should be replaced with delegateAccount.

teddyjfpender avatar Dec 27 '23 14:12 teddyjfpender