Skip to main content

Returns

onBalanceUpdated
BalanceUpdate!
A stream of balance updates for the subscribed wallet. One event is pushed per token balance change. See BalanceUpdate.

Arguments

walletAddress
String!
required
The wallet address to stream balance updates for. Must be a valid address; invalid inputs return BAD_USER_INPUT. EVM addresses are normalized internally for matching.

Example

subscription OnBalanceUpdated {
  onBalanceUpdated(walletAddress: "0xBa616F6b873a51a6dE9c72181BBeF9cA45488D94") {
    address
    networkId
    tokenAddress
    balance
    shiftedBalance
    balanceUsd
    tokenPriceUsd
    firstHeldTimestamp
    liquidityUsd
    token {
      name
      symbol
      logo
    }
  }
}