refillStream
Requests that a stream be refilled if the Stream Wallet balance is not healthy
Note:
The stream will not be refilled if the balance of the Stream Wallet is healthy. Once the Stream Wallet balance is no longer healthy, a refill request is automatically sent every 45 seconds, so this method should only be used to override the 45 second delay.
Parameters:
stream: string - the stream for requesting a refill
Returns:
boolean (true
) - the confirmation for requesting a refill for a stream
Throws:
SOL Pay SDK Fatal Error: Invalid stream ${stream}.
- an invalid stream was used
Last updated