getAccountFlowInfo
Get net stream information for an account pertaining to a specified Super Token
Parameters
Parameter
Type
Description
account
string
Address of account you're getting stream information for
providerOrSigner
ethers.providers.Provider
or ethers.Signer
ethers provider or ethers signer object
Return Value(s)
Returns a JSON object literal with the below info:
Key
Value Type
Description
timestamp
Date
Timestamp when a stream of superToken
was last updated by the account
flowRate
string
Net flow rate (wei/second) of account
for the specified superToken
.
Can be positive or negative as it's the sum of the account's inbound and outbound CFA flow rates.
Last updated
Was this helpful?