CachedContractClient caches a small set of view methods while delegating all transaction logic to the underlying OnboardingBridge SDK implementation.

Constructors

Accessors

  • get client(): any
  • Returns the wrapped ContractClient with a curated subset of transaction methods: fundCAddress, fundCAddressWithSwap, withdrawFees, setFee, setFeeCollector, setAdmin, and upgrade.

    For the full set of SDK methods (batch operations, cross-chain, relayers, paginated queries, etc.), use OnboardingBridgeSDK directly.

    Returns any

Methods

  • Cached wrappers for the supported read-only SDK methods.

    Returns Promise<number>

  • Invalidate cached values by key or clear the entire cache.

    Parameters

    Returns Promise<void>