Bitcoin Forum
June 16, 2025, 06:04:30 PM *
News: Pizza day contest voting
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [Telegram Bot] Bitcoin Fees - fees and tx tracker  (Read 764 times)
TryNinja (OP)
Legendary
*
Online Online

Activity: 3234
Merit: 8304


♻️ Automatic Exchange


View Profile WWW
March 20, 2023, 07:45:35 AM
Last edit: May 13, 2023, 12:03:46 PM by TryNinja
Merited by fillippone (21), vapourminer (10), NotATether (10), LoyceV (6), ABCbits (6), dkbit98 (5), dzungmobile (5), Pmalek (4), paid2 (4), DaveF (2), Halab (2), joker_josue (2), examplens (1), DdmrDdmr (1), Upgrade00 (1), darkv0rt3x (1), PawGo (1)
 #1

Talk with the bot to start:

@BitcoinFeesAlert_bot



Commands:

/alert X - where X is the amount in sats/vbyte that will trigger an alert (a.k.a when hour fees <= X, according to mempool.space).
/fees - sends the current mempool fees (according to mempool.space).
/tx XXXX - triggers a notification when your transaction of id XXXX gets a confirmation on the blockchain.

Every time you get a notification, you need to enable them again with the same /alert X command.

For example: I want to get notified when mempool hour fees <= 2 sats/vbyte, so I will send the command /alert 2. When hour fees <= 2 sats/vbyte, the bot will alert me only ONCE. If I want to get notified again, I will need to re-run the command. This is so you don't get spammed while fees stay below this number.


TODO:

- Let the user choose the "type" of fee he wants to get notified about (high priority, medium priority, hour fee, half-hour fee, etc...).
- Huh

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
examplens
Legendary
*
Offline Offline

Activity: 3682
Merit: 3927


Daily Cashbacks 🐳


View Profile WWW
March 20, 2023, 12:18:10 PM
 #2

TODO:

- Let the user choose the "type" of fee he wants to get notified about (high priority, medium priority, hour fee, half-hour fee, etc...).
- Huh

is there any chance to change the avatar image on this bot, to something recognizable and unique making it easier to recognize for those of us who have a large number of channels we follow?
it would be great because, for example, I have some contacts that look almost identical.
tx

███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
moneystery
Sr. Member
****
Online Online

Activity: 1092
Merit: 270


Spinarium.com - iGaming Casino


View Profile WWW
March 20, 2023, 03:38:33 PM
 #3

This is a very helpful bot, because with just a few commands we can get fees in real time which will reduce time compared to finding out about bitcoin fees on other websites or applications. However, it would be even more interesting if this bot could be developed by adding a number of commands such as a set alert price, a significant drop in bitcoin prices, or several commands that could help users. But this bot alone does a great job.


       ▄▄▄██████████▄▄▄
     ▄███████████████████▄
   ▄██████████▀▀███████████▄
   ██████████    ███████████
 ▄██████████      ▀█████████▄
▄██████████        ▀█████████▄
█████████▀▀   ▄▄    ▀▀▀███████
█████████▄▄  ████▄▄███████████
███████▀  ▀▀███▀      ▀███████
▀█████▀          ▄█▄   ▀█████▀
 ▀███▀   ▄▄▄  ▄█████▄   ▀███▀
   ██████████████████▄▄▄███
   ▀██████████████████████▀
     ▀▀████████████████▀▀
        ▀▀▀█████████▀▀▀
[.SPINARIUM.COM.]||[..PLAY NOW..]
       ▄▄▄██████████▄▄▄
     ▄███████████████████▄
   ▄██████████▀▀███████████▄
   ██████████    ███████████
 ▄██████████      ▀█████████▄
▄██████████        ▀█████████▄
█████████▀▀   ▄▄    ▀▀▀███████
█████████▄▄  ████▄▄███████████
███████▀  ▀▀███▀      ▀███████
▀█████▀          ▄█▄   ▀█████▀
 ▀███▀   ▄▄▄  ▄█████▄   ▀███▀
   ██████████████████▄▄▄███
   ▀██████████████████████▀
     ▀▀████████████████▀▀
        ▀▀▀█████████▀▀▀
dzungmobile
Hero Member
*****
Offline Offline

Activity: 1078
Merit: 502



View Profile
March 21, 2023, 07:05:15 AM
Merited by TryNinja (2), Pmalek (2)
 #4

is there any chance to change the avatar image on this bot, to something recognizable and unique making it easier to recognize
Let's check it. Not too good but have fun

When I am available to wear avatar, I will take the second one  Cheesy
 
TryNinja (OP)
Legendary
*
Online Online

Activity: 3234
Merit: 8304


♻️ Automatic Exchange


View Profile WWW
March 22, 2023, 09:25:08 AM
Last edit: May 13, 2023, 12:25:43 PM by TryNinja
 #5


I also liked the second one. Did you make them? Is it ok if I use it for the bot's avatar? Grin

edit: using, looks great! thanks.


░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
dzungmobile
Hero Member
*****
Offline Offline

Activity: 1078
Merit: 502



View Profile
March 22, 2023, 09:28:42 AM
 #6

I also liked the second one. Did you make them? Is it ok if I use it for the bot's avatar? Grin
Sure you can.

I did not make it but ordered my friend to make it. From my idea, he made the first one which I don't like so I have to guide him more in details. Eventually we went to the second one.

That file matches perfectly with Telegram avatar which he designed for your bot avatar Smiley

I have to ask him to export an avatar-sized file for me. I self-resized and got a blurry one :p
TryNinja (OP)
Legendary
*
Online Online

Activity: 3234
Merit: 8304


♻️ Automatic Exchange


View Profile WWW
March 31, 2023, 08:12:51 AM
Last edit: May 13, 2023, 12:03:27 PM by TryNinja
Merited by dzungmobile (1)
 #7

Small update: I added a command to track and notify when a transaction gets a confirmation on the blockchain. The bot should check it every ~5 minutes.

/tx <transaction id>


░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
Synchronice
Legendary
*
Offline Offline

Activity: 1260
Merit: 1061



View Profile
March 31, 2023, 10:08:30 AM
 #8

Good job, man! I'll definitely use it but I just immediately came up with this one idea. You made the bitcointalk supernotifier bot, so, what do you think about to include the average bitcoin fee at that moment on each reply/mention/merit notification? It will be a good to include bitcoin price too with that. Idk if that's possible or easy or something that users want but I think it's a cool idea.
Also, I think it will be good if we have possibility to configure bot to receive fee notifications either for Legacy Address or SegWit address.

Btw I sent you a pm, hope you won't miss it.

▄▄███████████████████▄▄
▄███████████████████████▄
████████▀░░░░░░░▀████████
███████░░░░░░░░░░░███████
███████░░░░░░░░░░░███████
██████▀░░░░░░░░░░░▀██████
██████▄░░░░░▄███▄░▄██████
██████████▀▀█████████████
████▀▄██▀░░░░▀▀▀░▀██▄▀███
███░░▀░░░░░░░░░░░░░▀░░███
████▄▄░░░░▄███▄░░░░▄▄████
▀███████████████████████▀
▀▀███████████████████▀▀
 
 CHIPS.GG 
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
███▀░▄░▀▀▀▀▀░▄░▀███
▄███
░▄▀░░░░░░░░░▀▄░███▄
▄███░▄░░░▄█████▄░░░▄░███▄
███░▄▀░░░███████░░░▀▄░███
███░█░░░▀▀▀▀▀░░░▀░░░█░███
███░▀▄░▄▀░▄██▄▄░▀▄░▄▀░██
▀███
░▀░▀▄██▀░▀██▄▀░▀░██▀
▀███
░▀▄░░░░░░░░░▄▀░██▀
▀███▄
░▀░▄▄▄▄▄░▀░▄███▀
▀█
███▄▄▄▄▄▄▄████▀
█████████████████████████
▄▄███████▄▄
███
████████████▄
▄█▀▀▀▄
█████████▄▀▀▀█▄
▄██████▀▄▄▄▄▄▀██████▄
▄█████████████▄████████▄
████████▄███████▄████████
█████▄█████████▄██████
██▄▄▀▀▀▀█████▀▀▀▀▄▄██
▀█████████▀▀███████████▀
▀███████████████████▀
██████████████████
▀████▄███▄▄
████▀
████████████████████████
3000+
UNIQUE
GAMES
|
12+
CURRENCIES
ACCEPTED
|
VIP
REWARD
PROGRAM
 
 
  Play Now  
dzungmobile
Hero Member
*****
Offline Offline

Activity: 1078
Merit: 502



View Profile
April 04, 2023, 12:50:55 AM
 #9

I confirmed that the bot works well  Cheesy

On Sunday, I received notification from the bot that "Economy fees have dropped below 3 sats/vbyte!". I expected to receive it since Saturday when I saw mempools started to clean up more.

Great bot, TriNinja!
blue Snow
Legendary
*
Offline Offline

Activity: 1820
Merit: 1069

Currently, I am far away from internet


View Profile
April 05, 2023, 04:12:37 AM
 #10

Talk with the bot to start:
@BitcoinFeesAlert_bot

I tried it, and the bot begins (Mulai) with my local language, is there auto-language detection?

Quote
Hi! Welcome to the BitcoinFeesAlert bot.

Use the command /alert X, where X is the Bitcoin fee in vbyte that you want to be notified about (economy fees only, for now).

You can also use /tx XXXX, where XXXX is the id of the transaction you want to get notified about when its confirmed.

I tried also with /alert 1, I don't know when happen?, because until today it has never been below 1 satoshi, right?, or the same as and below than like this symbol (≤)?

About tx notification, when we received a notification?, is it after 1 confirmed or more than 1?
Cantsay
Hero Member
*****
Offline Offline

Activity: 1148
Merit: 621


Bitcoin Casino Est. 2013


View Profile WWW
April 05, 2023, 10:18:37 AM
 #11

~~~
About tx notification, when we received a notification?, is it after 1 confirmed or more than 1?

You get notified as soon as your transaction has 1 confirmation.

I tried the bot with a tx from blockchair.com that has one confirmation already and I got "transaction already confirmed".

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
TryNinja (OP)
Legendary
*
Online Online

Activity: 3234
Merit: 8304


♻️ Automatic Exchange


View Profile WWW
April 05, 2023, 01:46:37 PM
 #12

I tried it, and the bot begins (Mulai) with my local language, is there auto-language detection?
Probably related to Telegram itself? I've coded the bot entirely in english.

I tried also with /alert 1, I don't know when happen?, because until today it has never been below 1 satoshi, right?, or the same as and below than like this symbol (≤)?
Less or equal, yes. When "economy" fees <= 1.

About tx notification, when we received a notification?, is it after 1 confirmed or more than 1?
1 confirmation.

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
paid2
Legendary
*
Offline Offline

Activity: 1064
Merit: 3692


Daily Cashbacks 🐳


View Profile
April 05, 2023, 02:23:58 PM
 #13

@TryNinja

Thank you so much for having made this bot !

I was looking for exactly what you made, thank you!  https://bitcointalk.org/index.php?topic=5444515.msg61895401#msg61895401

Do you think you will include balance modification alert for X address in the future ?
Could be great to have an alert for incoming tx on a said address



Do you still have control of 1NinjabXd5znM5zgTcmxDVzH4w3nbaY16L ?

███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
examplens
Legendary
*
Offline Offline

Activity: 3682
Merit: 3927


Daily Cashbacks 🐳


View Profile WWW
May 05, 2023, 08:45:23 AM
 #14

Less or equal, yes. When "economy" fees <= 1.

is there a possibility that the default result on /fee alert is not an "Economy" fee?
Such notification is often not usable because the economy fee is not enough to complete the transaction, especially lately when the network is overloaded.
For example, I set the alert to 10 sats/vbyte, and very quickly I received a notification that the fee was below that, but it is very far from reality. So if I'm waiting for a certain fee to make a transaction, information about the "hourly fee" status is more useful to me.



███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
TryNinja (OP)
Legendary
*
Online Online

Activity: 3234
Merit: 8304


♻️ Automatic Exchange


View Profile WWW
May 05, 2023, 08:34:23 PM
 #15

Do you think you will include balance modification alert for X address in the future ?
Could be great to have an alert for incoming tx on a said address
Will do that, thanks for the suggestion! Sorry for the delay. Tongue

Do you still have control of 1NinjabXd5znM5zgTcmxDVzH4w3nbaY16L ?
I do.



is there a possibility that the default result on /fee alert is not an "Economy" fee?
Such notification is often not usable because the economy fee is not enough to complete the transaction, especially lately when the network is overloaded.
Yep, got an alert for <= 2 sat/vbyte, took a look at the fees and the minimum for next block was around 40 sat/vbyte. Tongue

I'll change the default and add the option to let the user choose between fastest, half-hour, hour, etc...

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
darkv0rt3x
Hero Member
*****
Offline Offline

Activity: 1288
Merit: 682


I rather die on my feet than to live on my knees


View Profile
May 08, 2023, 12:01:13 PM
 #16

There is one other bot in Telegram doing kind of the same. I am curious what would be the difference. I'll use the 2 and will try to check about the differences! It's @cheeserobot.

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
dzungmobile
Hero Member
*****
Offline Offline

Activity: 1078
Merit: 502



View Profile
May 08, 2023, 12:58:41 PM
 #17

I am back with my proposal.  Cheesy

Would you mind adding a warning like "Your fee rate is very low that causes this transaction will probably be dropped off from mempools within next 14 days". It can be helpful for people don't know about risk of transaction dropped from mempools if it is broadcasted with very low fee rate.

A reminder like "Always use Replace-by-Fee (RBF) for your transaction."
darkv0rt3x
Hero Member
*****
Offline Offline

Activity: 1288
Merit: 682


I rather die on my feet than to live on my knees


View Profile
May 08, 2023, 01:30:29 PM
 #18

btw, is the code closed source? Smiley

Bitcoin is energy. Bitcoin is freedom
I rather die on my feet than living on my knees!
TryNinja (OP)
Legendary
*
Online Online

Activity: 3234
Merit: 8304


♻️ Automatic Exchange


View Profile WWW
May 08, 2023, 02:32:07 PM
 #19

Would you mind adding a warning like "Your fee rate is very low that causes this transaction will probably be dropped off from mempools within next 14 days". It can be helpful for people don't know about risk of transaction dropped from mempools if it is broadcasted with very low fee rate.
Noted, I'll see if it's viable.

btw, is the code closed source? Smiley
It's open source: https://github.com/ninjastic/BitcoinFeesAlert-bot



Btw, the bot is now using the "hour" fees by default. Other options will come as soon as I stop being lazy. Cool

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
Flexystar
Full Member
***
Offline Offline

Activity: 1092
Merit: 227



View Profile
May 08, 2023, 04:13:57 PM
 #20



Yep, the bot works just fine.
@TryNinja, I think you should really pick your pace and start creating miraculous bot which will be able to do more than this.

I think you know very what you are doing, it's just that you are limiting yourself.  Tongue

I already forwarded the bot link to few friends as I know they will love to see a bot notifying them fees, transaction alerts etc. over notification such as telegram. This saves time by not going online and checking the blockhyper all the time.

Amazing. Good luck for the future developments. Hope you share more updates soon.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!