Remove all subscriptions, optionally only those matching options.
NOTE: if template address is not given, calculation only works for the newest currently deployed factory, i.e. can be used for "future deployments" but NOT for old deployments For old deployments, please use getDataUnion
Count all matching subscriptions.
Create a new DataUnionMainnet contract to mainnet with DataUnionFactoryMainnet This triggers DataUnionSidechain contract creation in sidechain, over the bridge (AMB)
Promise
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Array of Ethers.js Provider, connections to Binance Smart Chain
Array of Ethers.js Provider, connections to the Streamr EVM sidechain
Array of Ethers.js Providers, connections to the Ethereum network (mainnet)
Array of Ethers.js Providers, connections to the Stream Registry Chain
Ethers.js Provider, a connection to the Binance Smart Chain
Ethers.js Provider, a connection to the Streamr EVM sidechain
Ethers.js Provider, a connection to the Ethereum network (mainnet)
Get token balance in "wei" (10^-18 parts) for given address in sidechain
Ethers.js Provider, a connection to the Stream Registry Chain
Get subscriptions matching streamId or streamId + streamPartition
Get token balance in "wei" (10^-18 parts) for given address
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Calls publish on node after starting it. Basically a wrapper around: (await getNode()).publish(…) but will be sync in case that node is already started. Zalgo intentional. See below.
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Call last/from/range as appropriate based on arguments
Generated using TypeDoc
Get started network node.