Skip to content

Commit b7ce296

Browse files
teogebjtakalai
authored andcommitted
chore(sdk): Add StreamrClient#getTheGraphClient() internal method (#3087)
Added a method which provides a client for querying The Graph. All entities of the Streamr graph can be queried using this client, e.g.: - `Stream` - `StreamPermission` - `Operator` - `Sponsorship` - `Stake` - `Vote` - ... This method is currently internal, but it can be made public if needed. Needed in #3086.
1 parent dcb5c6b commit b7ce296

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/sdk/src/StreamrClient.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,14 @@ export class StreamrClient {
759759
return this.config
760760
}
761761

762+
/**
763+
* @deprecated This in an internal method
764+
* @hidden
765+
*/
766+
getTheGraphClient(): TheGraphClient {
767+
return this.theGraphClient
768+
}
769+
762770
/**
763771
* Get overrides for transaction options. Use as a parameter when submitting
764772
* transactions via ethers library.

0 commit comments

Comments
 (0)