deriveAccountWrapperId function

String deriveAccountWrapperId(
  1. PredictConfig cfg,
  2. String owner
)

The deterministic id of an owner's canonical account wrapper — no chain read needed. The pure (cfg, owner) form of PredictClient.wrapperIdFor for contexts with no client instance.

Implementation

String deriveAccountWrapperId(PredictConfig cfg, String owner) =>
    deriveAccountWrapperIdFrom(toGeneratedConfig(cfg), owner);