We’ve created a webhook URL to get deposit information, however, when we do testnet transfers into the deposit addresses, there is no notification at all.
All other notifications work fine, for withdrawal, login, creating vault etc.
Hi,
Our testing shows that webhooks for all events re being sent out successfully in the sandbox environment.
It is not a known issue.
If you would please provide the webhook URL, I will check our logs to see if the webhooks are being posted by us.
Can you also please try again and check if this issue is reoccurring?
Is this only related to deposit addresses for UTXO assets?
The webhooks for incoming transactions for account based assets like ETH are received successfully?
Here is an example of incoming webhook for vault creation, which works.
2023-12-05 22:46:04.935 CET
POST200698 B139 msaxios/0.21.1 https://handlefireblockswebhook-y4fwpm2h5q-uc.a.run.app/
2023-12-05 22:46:04.942 CET
Function handleFireblocksWebhook invoked
2023-12-05 22:46:04.942 CET
Received webhook request: {
2023-12-05 22:46:04.942 CET
title: 'Vault Wallet Added',
2023-12-05 22:46:04.942 CET
description: 'Added',
2023-12-05 22:46:04.942 CET
notificationSubject: 'Vault Wallet Added',
2023-12-05 22:46:04.942 CET
createdAt: 1701812763821,
2023-12-05 22:46:04.942 CET
asset: 'BNB_TEST',
2023-12-05 22:46:04.942 CET
accountName: 'UserVault-test12',
2023-12-05 22:46:04.942 CET
user: 'System',
2023-12-05 22:46:04.942 CET
userId: 'System',
2023-12-05 22:46:04.942 CET
eventKey: 'vault_account',
2023-12-05 22:46:04.942 CET
workspace: 'Anonymous Workspace Name'
2023-12-05 22:46:04.942 CET
}
2023-12-05 22:46:05.075 CET
Message sent to Slack successfully.
I do the test as followed:
I look up the deposit address for lets say ADA
I enter it in the ADA testnet faucet
The faucets sends it to the address. We can see it incoming in Fireblocks aswell (all stages of the transaction / unconfrimed / confirmed).
Our tests show that webhooks are being delivered correctly for all events in all workspaces.
I am not sure about the configuration of the webhook server /google cloud endpoint being used.
Please use ngrok and node to run a webhook server locally and try performing the test.
To setup the server please follow the instructions below.
There are two files below. Name them index.js and package.json
• paste it in a folder and open the index.js
• Get the public key from Webhooks & Notifications
• Add the public key in the file in front of const publicKey variable.
• Run npm express install
• Run node index.js
• Run ngrok http 3000 ( please get ngrok from here https://ngrok.com/)
• Add the url mentioned by the ngrok server and add /webhook at the end. http:example.com/webhook and add the URL in the console in manage URL section under settings