@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
Syntax
Section titled “Syntax”@superfluid:netflow(token account)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
token | supertoken | SuperToken symbol or address |
account | address | Account to inspect |
Examples
Section titled “Examples”# Assert your xDAIx balance is not draining before ending the scriptprint "Net flow:" @superfluid:netflow(xDAIx @me)