@orangecheck/vote-core / SnapshotResolution
Type Alias: SnapshotResolution
type SnapshotResolution =
| {
confirmations: number;
height: number;
ok: true;
}
| {
code: "E_REORG";
ok: false;
reason: string;
}
| {
code: "E_SNAPSHOT_UNRESOLVED";
ok: false;
reason: string;
};
Defined in: vote-core/src/snapshot.ts:22