Skip to main content

Interface: HypercertIndexerInterface

Properties

claimById

claimById: (id: string) => Promise<undefined | ClaimByIdQuery>

Type declaration

▸ (id): Promise<undefined | ClaimByIdQuery>

Parameters
NameType
idstring
Returns

Promise<undefined | ClaimByIdQuery>

Defined in

sdk/src/types/indexer.ts:20


claimsByOwner

claimsByOwner: (owner: string, params?: QueryParams) => Promise<undefined | ClaimsByOwnerQuery>

Type declaration

▸ (owner, params?): Promise<undefined | ClaimsByOwnerQuery>

Parameters
NameType
ownerstring
params?QueryParams
Returns

Promise<undefined | ClaimsByOwnerQuery>

Defined in

sdk/src/types/indexer.ts:19


firstClaims

firstClaims: (params?: QueryParams) => Promise<undefined | RecentClaimsQuery>

Type declaration

▸ (params?): Promise<undefined | RecentClaimsQuery>

Parameters
NameType
params?QueryParams
Returns

Promise<undefined | RecentClaimsQuery>

Defined in

sdk/src/types/indexer.ts:21


fractionById

fractionById: (fractionId: string) => Promise<undefined | ClaimTokenByIdQuery>

Type declaration

▸ (fractionId): Promise<undefined | ClaimTokenByIdQuery>

Parameters
NameType
fractionIdstring
Returns

Promise<undefined | ClaimTokenByIdQuery>

Defined in

sdk/src/types/indexer.ts:24


fractionsByClaim

fractionsByClaim: (claimId: string, params?: QueryParams) => Promise<undefined | ClaimTokensByClaimQuery>

Type declaration

▸ (claimId, params?): Promise<undefined | ClaimTokensByClaimQuery>

Parameters
NameType
claimIdstring
params?QueryParams
Returns

Promise<undefined | ClaimTokensByClaimQuery>

Defined in

sdk/src/types/indexer.ts:23


fractionsByOwner

fractionsByOwner: (owner: string, params?: QueryParams) => Promise<undefined | ClaimTokensByOwnerQuery>

Type declaration

▸ (owner, params?): Promise<undefined | ClaimTokensByOwnerQuery>

Parameters
NameType
ownerstring
params?QueryParams
Returns

Promise<undefined | ClaimTokensByOwnerQuery>

Defined in

sdk/src/types/indexer.ts:22


graphClient

graphClient: Client

Defined in

sdk/src/types/indexer.ts:18