Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Sep 18, 2024
1 parent 6420f13 commit ea4bcc7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/stacks-api/info/core-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ const CoreApiResponseSchema = v.object({
stacks_tip_height: v.number(),
stacks_tip: v.string(),
stacks_tip_consensus_hash: v.string(),
unanchored_tip: v.string(),
exit_at_block_height: v.number(),
unanchored_tip: v.nullable(v.string()),
unanchored_seq: v.nullable(v.string()),
exit_at_block_height: v.nullable(v.number()),
});
export type CoreApiResponse = v.InferOutput<typeof CoreApiResponseSchema>;

Expand Down

0 comments on commit ea4bcc7

Please sign in to comment.