Skip to main content

Returns

Balance
[Balance!]!
See Balance

Arguments

input
[RefreshBalancesInput!]!
required
See RefreshBalancesInput

Example

Test this query in the Explorer →
mutation {
  refreshBalances(
    input: [
      {
        walletId: "0xADDRESS:1"
        tokenId: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1"
      }
    ]
  ) {
    walletId
    tokenId
    balance
    shiftedBalance
    balanceUsd
    tokenPriceUsd
    token {
      name
      symbol
    }
  }
}

Usage Guidelines

  • This mutation is EVM only
  • walletId is formatted as walletAddress:networkId and tokenId as tokenAddress:networkId
  • input accepts a list, so you can refresh multiple wallet/token balances in a single call