blockfrost-js
blockfrost-js copied to clipboard
Export types for Secure Webhooks payload
Accessing the payload's object properties is kinda hard when everyting has type any
. We could construct and export interface for each type of Secure Webhooks payload, and it should be rather easy since every payload is composed from existing API responses.
Maybe we could even leverage verifyWebhookSignature
as type guard? 🤔
