resolveAccountState
resolveAccountState(
params):OutputType
Defined in: packages/synapse-core/src/pay/resolve-account-state.ts:27
Project account state forward to currentEpoch by simulating settlement locally.
Pure function — no RPC call. Takes raw account fields from accounts() + currentEpoch
and computes what the account state would be if settlement happened now.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
params | ParamsType | Raw account fields + current epoch |
Returns
Section titled “Returns”fundedUntilEpoch and availableFunds after simulated settlement