UNPKG

@krebitdao/reputation-passport

Version:

Krebit SDK for Verified Credentials

28 lines 997 B
import 'isomorphic-fetch'; export interface ClientProps { query: string; variables: GetProps | ListProps; } export interface ListProps { first?: number; skip?: number; orderBy?: string; orderDirection?: string; where?: object; } export interface GetProps { id: string; } export declare const graph: { client: (props: ClientProps) => Promise<any>; verifiableCredentialsQuery: (props: ListProps) => Promise<any>; verifiableCredentialQuery: (props: GetProps) => Promise<any>; erc20ContractQuery: (props: ListProps & GetProps) => Promise<any>; credentialRegistriesQuery: (props: ListProps) => Promise<any>; credentialRegistryQuery: (props: GetProps) => Promise<any>; erc20BalanceQuery: (address: string) => Promise<any>; erc20BalancesQuery: (props: ListProps) => Promise<any>; exploreAccountsQuery: (props: ListProps) => Promise<any>; totalAccountsQuery: (props: ListProps) => Promise<any>; }; //# sourceMappingURL=graph.d.ts.map