getResolutionState

Returns the amount of stake staked on each outcome

Example

const resolutionState = await flux.getResolutionState();

Returns

Name

Type

Description

resolutionState

Promise<Object<marketId, Object<outcome, stake>>>

Returns a promise that resolves in an object that maps market Ids to an object that maps outcome to stake in that outcome