mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
✨ ankr-queries update
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
addresses:
|
addresses:
|
||||||
- address: "0xd14a28667d263efda2033ceb3b466399723c9c9c"
|
- address: "0xd14a28667d263efda2033ceb3b466399723c9c9c"
|
||||||
memo: "@Defi_Maestro"
|
memo: "@Defi_Maestro"
|
||||||
|
- address: "0xc880e1befe692db8b1c71357130f25630239e6fc"
|
||||||
|
memo: "@Defi_Maestro2"
|
||||||
|
@@ -41,6 +41,7 @@ def send_pushover_notification(title, message):
|
|||||||
payload = {
|
payload = {
|
||||||
'token': PUSHOVER_API_TOKEN,
|
'token': PUSHOVER_API_TOKEN,
|
||||||
'user': PUSHOVER_USER_KEY,
|
'user': PUSHOVER_USER_KEY,
|
||||||
|
'html': 1,
|
||||||
'title': title,
|
'title': title,
|
||||||
'message': message
|
'message': message
|
||||||
}
|
}
|
||||||
@@ -85,7 +86,7 @@ def process_new_transactions(address, memo):
|
|||||||
|
|
||||||
send_pushover_notification(
|
send_pushover_notification(
|
||||||
f"New Transaction: {memo}",
|
f"New Transaction: {memo}",
|
||||||
f"Transaction Hash: {tx_hash}\nBlockchain: {blockchain}\nTimestamp: {timestamp}"
|
f"Transaction Hash: <a href=\"http://www.debank.com/profile/{address}/history\">{tx_hash}</a><br>Blockchain: {blockchain}<br>Timestamp: {timestamp}"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Main function
|
# Main function
|
||||||
|
Reference in New Issue
Block a user