Why Nostr? What is Njump?
2023-05-04 01:45:00

roboshi 🌎👨🏻‍🚀🔫👨🏻‍🚀 on Nostr: To send wallet notifications from Bitcoin Core to an API endpoint with wallet name, ...

To send wallet notifications from Bitcoin Core to an API endpoint with wallet name, label, amount, and time received, you can modify the curl command in the walletnotify configuration as follows:

bash
Copy code
walletnotify=curl -X POST https://your.api.endpoint/notifications -d 'wallet=%s' -d 'label=%s' -d 'amount=%s' -d 'time_received=%s'
This line tells Bitcoin Core to execute the curl command with the specified URL and data every time a new transaction is added to the wallet, including the wallet name, label, amount, and time received.

Note that you will need to replace https://your.api.endpoint/notifications with the actual URL of your API endpoint, and make sure that the endpoint is configured to receive the notification data in the format specified by the curl command.
Author Public Key
npub1rk3tt9ugk9jjh46gk947a8h8a75utugr3txz9gg75e9hj0a034cq5rfmn5