Requests that a stream be refilled if the Stream Wallet balance is not healthy


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.

(async() => {
    let refillRequested = await SOLPay.refillStream("..."); // true


  • stream: string - the stream for requesting a refill


boolean (true) - the confirmation for requesting a refill for a stream


  • SOL Pay SDK Fatal Error: Invalid stream ${stream}. - an invalid stream was used

Last updated