Skip to main content

WalletShardQueries

No description

type WalletShardQueries {
shardName: NetworkName!
currentTip: BlockAnchor!
validateBlockAnchors(blockAnchors: [BlockAnchorInput!]!): [Boolean!]!
fetchClaim(issuer: JSON!, key: JSON!): GqlClaim
fetchClaims(
claimFilters: [GqlClaimFilter!]!
nextPageAnchor: BlockAnchorInput
maxClaimsToReturn: Int!
): GqlDbClaimsPage! @deprecated
fetchClaimsStable(
claimFilters: [GqlClaimFilter!]!
offset: BigInt!
maxClaimsToReturn: BigInt!
): [GqlClaimInfo!]!
fetchImmutableClaims(
claimFilters: [GqlClaimFilter!]!
nextPageAnchor: BlockAnchorInput
maxClaimsToReturn: BigInt!
): GqlDbClaimsPage!
fetchLastImmutableClaimsStable(
claimFilters: [GqlClaimFilter!]!
offset: BigInt!
maxClaimsToReturn: BigInt!
): [GqlClaimInfo!]!
queryClaimsDiff(
claimFilters: [GqlClaimFilter!]!
nextPageAnchor: BlockAnchorInput
maxClaimsToReturn: Int!
): GqlDbWriteOpPage! @deprecated
getOnChainData: OnChain!
}

Fields

WalletShardQueries.shardName ● NetworkName! non-null enum

WalletShardQueries.currentTip ● BlockAnchor! non-null object

WalletShardQueries.validateBlockAnchors ● [Boolean!]! non-null scalar

WalletShardQueries.validateBlockAnchors.blockAnchors ● [BlockAnchorInput!]! non-null input

WalletShardQueries.fetchClaim ● GqlClaim object

WalletShardQueries.fetchClaim.issuer ● JSON! non-null scalar
WalletShardQueries.fetchClaim.key ● JSON! non-null scalar

WalletShardQueries.fetchClaims ● GqlDbClaimsPage! deprecated non-null object

DEPRECATED

Use fetch_claims_stable

WalletShardQueries.fetchClaims.claimFilters ● [GqlClaimFilter!]! non-null input
WalletShardQueries.fetchClaims.nextPageAnchor ● BlockAnchorInput input
WalletShardQueries.fetchClaims.maxClaimsToReturn ● Int! non-null scalar

WalletShardQueries.fetchClaimsStable ● [GqlClaimInfo!]! non-null object

WalletShardQueries.fetchClaimsStable.claimFilters ● [GqlClaimFilter!]! non-null input
WalletShardQueries.fetchClaimsStable.offset ● BigInt! non-null scalar
WalletShardQueries.fetchClaimsStable.maxClaimsToReturn ● BigInt! non-null scalar

WalletShardQueries.fetchImmutableClaims ● GqlDbClaimsPage! non-null object

WalletShardQueries.fetchImmutableClaims.claimFilters ● [GqlClaimFilter!]! non-null input
WalletShardQueries.fetchImmutableClaims.nextPageAnchor ● BlockAnchorInput input
WalletShardQueries.fetchImmutableClaims.maxClaimsToReturn ● BigInt! non-null scalar

WalletShardQueries.fetchLastImmutableClaimsStable ● [GqlClaimInfo!]! non-null object

WalletShardQueries.fetchLastImmutableClaimsStable.claimFilters ● [GqlClaimFilter!]! non-null input
WalletShardQueries.fetchLastImmutableClaimsStable.offset ● BigInt! non-null scalar
WalletShardQueries.fetchLastImmutableClaimsStable.maxClaimsToReturn ● BigInt! non-null scalar

WalletShardQueries.queryClaimsDiff ● GqlDbWriteOpPage! deprecated non-null object

DEPRECATED

This should be re-implemented to use snapshots as other methods

WalletShardQueries.queryClaimsDiff.claimFilters ● [GqlClaimFilter!]! non-null input
WalletShardQueries.queryClaimsDiff.nextPageAnchor ● BlockAnchorInput input
WalletShardQueries.queryClaimsDiff.maxClaimsToReturn ● Int! non-null scalar

WalletShardQueries.getOnChainData ● OnChain! non-null object

Returned by

shard

query

Coinweb © 2024