Comprobador de lista negra de billeteras Tron en Telegram

Intermedio

Este es unFinance, IT Opsflujo de automatización del dominio deautomatización que contiene 7 nodos.Utiliza principalmente nodos como If, Code, Telegram, HttpRequest, TelegramTrigger. Verificar el estado de la lista negra de USDT de la billetera Tron en Telegram

Requisitos previos
  • Bot Token de Telegram
  • Pueden requerirse credenciales de autenticación para la API de destino
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "id": "RMxcTgpFGpE3RdLZ",
  "meta": {
    "instanceId": "1a1a56e303d37d31a273d2dd1d2c6ab5d45185370759d2a4763eabe48f3be2df",
    "templateCredsSetupCompleted": true
  },
  "name": "Telegram Tron Wallet Blacklist Checker",
  "tags": [],
  "nodes": [
    {
      "id": "fbd55c61-91ad-43e7-aa89-c30d14fc3b92",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -240,
        -40
      ],
      "webhookId": "b384e76e-5f33-452c-b4eb-13a8d5fc377e",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "utGUX9B8SmbwjN5s",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f7b2d70e-9a5c-4a31-b445-68e9a37cfdb3",
      "name": "Telegram Send Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1160,
        -60
      ],
      "webhookId": "4148b55e-c227-491c-8a3a-f9579c604cc3",
      "parameters": {
        "text": "={{ $json.text }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.from.id }}",
        "additionalFields": {
          "reply_to_message_id": "={{ $('Telegram Trigger').item.json.message.message_id }}"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "utGUX9B8SmbwjN5s",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2ed30255-373c-485b-bffe-ab3682ddb3b8",
      "name": "Verificar Formato de Dirección de Billetera",
      "type": "n8n-nodes-base.if",
      "position": [
        60,
        -40
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "bc914e89-d74c-479e-9246-f028a9efe2bc",
              "operator": {
                "type": "string",
                "operation": "regex"
              },
              "leftValue": "={{ $json.message.text }}",
              "rightValue": "T[A-Za-z1-9]{33}"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "8a05f33e-71bd-4053-b182-baf721a3a650",
      "name": "Tron BlackList Stable Token Api Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        380,
        -60
      ],
      "parameters": {
        "url": "=https://apilist.tronscanapi.com/api/stableCoin/blackList?blackAddress={{ $json.message.text }}",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "f4e89604-4721-45b9-a7e6-57d0d1e77a10",
      "name": "Verificar Api Response",
      "type": "n8n-nodes-base.code",
      "position": [
        760,
        -60
      ],
      "parameters": {
        "jsCode": "const response = items[0].json;\nlet message;\n\nif (response.total && response.total > 0) {\n  message = `🚨🛑 **This Wallet is Blacklisted!** 🛑🚨: ${response.data[0].blackAddress}`;\n} else {\n  message = `✅💚 **This Wallet is NOT Blacklisted!** 💚✅.`;\n}\n\nreturn [\n  {\n    json: {\n      text: message,\n    },\n  },\n];"
      },
      "typeVersion": 2
    },
    {
      "id": "71e16929-f5f8-4d71-8fa0-d5230e4e7b5a",
      "name": "Establecer Mensaje de Error (Formato de Dirección)",
      "type": "n8n-nodes-base.code",
      "position": [
        600,
        320
      ],
      "parameters": {
        "jsCode": "return [\n  {\n    json: {\n      text: 'Please enter your wallet address correctly and completely.',\n    },\n  },\n];"
      },
      "typeVersion": 2
    },
    {
      "id": "34835c57-19bf-49c2-935c-74deb0c5c3f0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        -200
      ],
      "parameters": {
        "color": 4,
        "width": 1760,
        "height": 700,
        "content": "## TRON USDT Blacklist Checker\n**This template checks USDT wallets on the TRON blockchain and queries whether they have been blacklisted.**"
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0595cea0-5444-42aa-a988-5169f29b85b2",
  "connections": {
    "fbd55c61-91ad-43e7-aa89-c30d14fc3b92": {
      "main": [
        [
          {
            "node": "2ed30255-373c-485b-bffe-ab3682ddb3b8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f4e89604-4721-45b9-a7e6-57d0d1e77a10": {
      "main": [
        [
          {
            "node": "f7b2d70e-9a5c-4a31-b445-68e9a37cfdb3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2ed30255-373c-485b-bffe-ab3682ddb3b8": {
      "main": [
        [
          {
            "node": "8a05f33e-71bd-4053-b182-baf721a3a650",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "71e16929-f5f8-4d71-8fa0-d5230e4e7b5a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8a05f33e-71bd-4053-b182-baf721a3a650": {
      "main": [
        [
          {
            "node": "f4e89604-4721-45b9-a7e6-57d0d1e77a10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "71e16929-f5f8-4d71-8fa0-d5230e4e7b5a": {
      "main": [
        [
          {
            "node": "f7b2d70e-9a5c-4a31-b445-68e9a37cfdb3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "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."
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Intermedio - Finanzas, Operaciones de TI

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Información del flujo de trabajo
Nivel de dificultad
Intermedio
Número de nodos7
Categoría2
Tipos de nodos6
Descripción de la dificultad

Adecuado para usuarios con experiencia intermedia, flujos de trabajo de complejidad media con 6-15 nodos

Autor
FORK SOFTWARE TECHNOLOGIES INC.

FORK SOFTWARE TECHNOLOGIES INC.

@fork

Blockchain and Web3 Consulting: NFT and STO development, Enterprise Blockchain solutions, Smart Contract development and auditing, DApp development. Custom Software Development: Tailored solutions to streamline your business processes. Web Development and UI/UX Design: Creating user-friendly, functional, and aesthetically pleasing websites. QA & Software Testing: Delivering flawless, high-performance software solutions. Empower your crypto projects with ICO and secure MLM software services!

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34