@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Interface SyncClient

    Kit access is required only when the wallet holds a mint the registry cannot resolve.

    interface SyncClient {
        getEncryptedUtxosByTags(
            request: GetByTagsRequest,
            config?: IndexerRpcConfig,
            context?: RequestContext,
        ): Promise<GetEncryptedUtxosByTagsResponse>;
        getShieldedTransactionsByTags(
            request: GetByTagsRequest,
            config?: IndexerRpcConfig,
            context?: RequestContext,
        ): Promise<GetShieldedTransactionsByTagsResponse>;
        getShieldedTransactionsByNullifiers(
            request: GetByNullifiersRequest,
            config?: IndexerRpcConfig,
            context?: RequestContext,
        ): Promise<GetShieldedTransactionsByTagsResponse>;
        solanaRpc?: Rpc<SolanaRpcApiForTestClusters>;
        commitment?: Commitment;
        indexerConfig?: IndexerRpcConfig;
    }

    Hierarchy

    • Pick<
          IndexerReader,
          | "getEncryptedUtxosByTags"
          | "getShieldedTransactionsByNullifiers"
          | "getShieldedTransactionsByTags",
      >
      • SyncClient
    Index
    solanaRpc?: Rpc<SolanaRpcApiForTestClusters>
    commitment?: Commitment
    indexerConfig?: IndexerRpcConfig

    The client's own indexer config, the fallback for an unset requireSlot and retry.