appStateProvider

var appStateProvider: suspend () -> ByteArray??

Host-registered snapshot of app state to back up automatically on each refresh (≤2 KB; e.g. Kicks match witnesses). The host sets this once after obtaining the wallet — the SDK can't inject it (the provider lives above this layer). The upload is silent (seed-keyed) + digest-guarded, so it's a no-op when the snapshot is unchanged. Null → nothing to back up.