Skip to content

@superfluid:balance

Real-time available SuperToken balance of an account: the streaming balance at this instant, minus buffer deposits. Negative when the account is critical.

Returns: number

@superfluid:balance(token account?)
NameTypeDescription
tokensupertokenSuperToken symbol or address
[account]addressAccount to inspect (defaults to the connected account)
# Print your real-time xDAIx balance (streaming balance minus buffers)
print "Balance:" @superfluid:balance(xDAIx)