@drizzle-utils/contract-call-stream
v0.2.0
Published
A tool for streaming/listening to contract calls.
Downloads
23
Keywords
Readme
@drizzle-utils/contract-call-stream
A tool for streaming/listening to contract calls.
Usage
You'll need to pass in the newBlock$
that you can get from the @drizzle-utils/new-block-stream
package.
import createContractCall$ from "@drizzle-utils/contract-call-stream";
const returnVal$ = createContractCall$({
newBlock$,
methodCall: contractInstance.methods.get(),
});