Skip to content

Migrate from Transaction Polling to Webhooks for Fireblocks #31

@kespinola

Description

@kespinola

Goal

Instead of polling for transaction signature within create_raw_transaction switch to Fireblocks webhooks.

- [ ] Add handler to hub-treasuries `/api/v1/fireblocks/webhooks`
- [ ] Add intermediate tables for saving transaction information not availabe in the fireblocks transaction details
- [ ] Move [L294-324](https://github.com/holaplex/hub-treasuries/blob/main/api/src/events.rs#L294) of create_raw_transaction to the webhook handler 

Database

transactions
------------
id: # fireblocks transaction id

transaction_signatures
-----------------------
signature: text # primary key
index: int

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions