refillStream
Requests that a stream be refilled if the Stream Wallet balance is not healthy
(async() => {
let refillRequested = await SOLPay.refillStream("..."); // true
})();
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