@rep3/rep3-sdk
Version:
`rep3-sdk` is the ts package for projects to integrate rep3-protocol and services in their projects. This documentation will provide various ways and code snippets for the same. To know more about the protocol head over to our [docs](https://docs.rep3.gg/
10 lines (9 loc) • 423 B
TypeScript
declare class Getters {
subgraphUrl: string;
constructor(url: string);
getCommunityFromTx: (txHash: string) => Promise<any>;
membershipFromClaimerCommunity: (claimer: string, contractAddress: string) => Promise<any>;
getMembershipFromTx: (txHash: string) => Promise<any>;
getForCustomQuery: (customQuery: string, variableObject?: any | undefined) => Promise<any>;
}
export default Getters;