Skip to main content

Check Tron wallet USDT blacklist status via Telegram

Workflow preview

Workflow preview
100%
Check Tron wallet USDT blacklist status via Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description This n8n workflow template allows users to check if a Tron wallet address is blacklisted on the USDT contract via a Telegram bot. When a user sends the comma...

Best for

  • Crypto Trading automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by FORK SOFTWARE TECHNOLOGIES INC..

Original n8n.io source

1.1 Workflow description

Title
Check Tron wallet USDT blacklist status via Telegram
Workflow name
Check Tron wallet USDT blacklist status via Telegram

Description This n8n workflow template allows users to check if a Tron wallet address is blacklisted on the USDT contract via a Telegram bot. When a user sends the command {walletAddress} through the Telegram bot, the workflow queries the Tronscan API to determine if the provided wallet address is blacklisted. The result is then sent back to the user via the Telegram bot.

Detailed Description Workflow Overview This workflow is designed to interact with users through a Telegram bot and check if a given Tron wallet address is blacklisted on the USDT contract. The workflow consists of four main nodes:

  1. Telegram Trigger Node: Listens for messages from the Telegram bot.
  2. HTTP Request Node: Sends a GET request to the Tronscan API to check the blacklist status of the provided wallet address.
  3. Function Node: Processes the API response and formats the message to be sent back to the user.
  4. Telegram Send Message Node: Sends the formatted message back to the user via the Telegram bot.

Nodes Configuration

1.Telegram Trigger Node

  • Event: Message
  • Update Types: Message
  • Command: /sorgu
  • Description: This node listens for the {walletAddress} command followed by a wallet address from the user.

2.HTTP Request Node

3.Code Node Check Api Response:

let message;

if (response.total && response.total > 0) {
  message = `πŸš¨πŸ›‘ **This Wallet is Blacklisted!** πŸ›‘πŸš¨: ${response.data[0].blackAddress}`;
} else {
  message = `βœ…πŸ’š **This Wallet is NOT Blacklisted!** πŸ’šβœ….`;
}

return [
  {
    json: {
      text: message,
    },
  },
];
  • Description: This node processes the API response to determine if the wallet address is blacklisted and formats the message to be sent back to the user.

4.Telegram Send Message Node

  • Resource: Message
  • Operation: Send
  • Chat ID: ={{$json["chat_id"]}}
  • Text: ={{$json["text"]}}
  • Description: This node sends the formatted message back to the user via the Telegram bot.

How to Use

  1. Set Up Telegram Bot: Create a Telegram bot and obtain the API token. Configure the bot to listen for the {walletAddress} command.

  2. Import Workflow: Import this workflow into your n8n instance.

  3. Configure Credentials: Add your Telegram API credentials to the Telegram Trigger and Telegram Send Message nodes.

  4. Run Workflow: Start the workflow. Users can now send the {walletAddress} command to the Telegram bot to check if a Tron wallet address is blacklisted.

Example Usage User Telegram Command: {TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t} API Request: https://apilist.tronscanapi.com/api/stableCoin/blackList?blackAddress=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t API Response:

  "total": 1,
  "data": [
    {
      "blackAddress": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
      "tokenName": "USDT",
      "num": "367583344429",
      "time": 1593184959,
      "transHash": "af4bc4d793f82ca5ba500cf13cf93ca3e7a56fccc2aabf8b09e55fc756500ea8",
      "contractAddress": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"
    }
  ]
}

Bot Response: πŸš¨πŸ›‘ This Wallet is Blacklisted! πŸ›‘πŸš¨: TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t

> This workflow provides a simple and efficient way to check the blacklist status of Tron wallet addresses via a Telegram bot, making it easy for users to stay informed about the status of their wallets.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1

Block 2 - Telegram Send Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 3 - Check Wallet Address Format

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Tron BlackList Stable Token Api Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 1

Block 5 - Check Api Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Set Error Message (Wallet Address Format)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Check Tron wallet USDT blacklist status via Telegram
Complexity intermediate
Nodes 7
Categories Crypto Trading
Author FORK SOFTWARE TECHNOLOGIES INC.
Published 30 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3797/3797.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Check Tron wallet USDT blacklist status via Telegram do?

Description This n8n workflow template allows users to check if a Tron wallet address is blacklisted on the USDT contract via a Telegram bot. When a user sends the comma...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading use case.