tonbase / ton-notify-bot

🔔 The bot can notify users about new events of TON addresses.
34 stars 8 forks source link

TON Notify Bot (realtime) #2

Open Vitokhv opened 1 year ago

Vitokhv commented 1 year ago

Does the bot receive information about new transactions in real time? or every 10 seconds? (is it possible to make the bot send this real time data to the app on Python)

My problem is that I have to constantly use API requests, and their limits are limited, if the bot could send the received information to my Python application, I would not have to go through these restrictions: "API usage without an API key is limited to 1 request per second. Register an API key with @tonapibot to get access with higher limits." If 100k requests per day, then every 5 seconds is 17280 requests per day

I use the API to get information about a new transaction, then I send a POST request containing this information: /api/v1/notify.send?sum=DATA&message=DATA

In fact, you have made a very useful bot, it would also be very convenient to receive notifications from other currencies, for example USDT (but maybe it will require a separate bot)

LolyPopToyou commented 1 year ago

Получает ли бот информацию о новых транзакциях в режиме реального времени? или каждые 10 секунд? (можно ли заставить бота отправлять эти данные в режиме реального времени в приложение на Python)

Моя проблема в том, что я должен постоянно использовать API-запросы, и их лимиты ограничены, если бы бот мог отправлять полученную информацию в мое приложение Python, мне не пришлось бы проходить эти ограничения: «Использование API без ключа API ограничено до 1 запроса в секунду. Зарегистрируйте ключ API с помощью @tonapibot, чтобы получить доступ с более высокими лимитами». Если 100к запросов в день, то каждые 5 секунд это 17280 запросов в день

Я использую API для получения информации о новой транзакции, затем отправляю POST-запрос, содержащий эту информацию:/api/v1/notify.send?sum=DATA&message=DATA

На самом деле вы сделали очень полезного бота, так же было бы очень удобно получать уведомления с других валют, например USDT (но возможно для этого потребуется отдельный бот)