Streaming Payment
Pay a series of requests with a stream of ERC777 Super Tokens from Superfluid.
Create a Streaming Request
Create the first request in a series
// The paymentNetwork is the method of payment and related details.
paymentNetwork: {
id: Types.Extension.PAYMENT_NETWORK_ID.ERC777_STREAM,
parameters: {
expectedFlowRate: expectedFlowRate // number, Expected amount of request currency per second
expectedStartDate: expectedStartDate // timestamp, Expected start of stream
paymentAddress: payeeIdentity,
},
},Create subsequent requests in a series
Tests
Last updated
Was this helpful?