Skip to content

@superfluid:netflow

Net flow rate of an account (all incoming minus all outgoing streams, CFA plus GDA), in wei per second. Negative means the balance is draining.

Returns: number

@superfluid:netflow(token account)
NameTypeDescription
tokensupertokenSuperToken symbol or address
accountaddressAccount to inspect
# Assert your xDAIx balance is not draining before ending the script
print "Net flow:" @superfluid:netflow(xDAIx @me)