Search
Overview
| Tool | Function | Use Case |
|---|---|---|
| search | Blockchain search | Token/contract/account/tx/block by keyword or name |
Use Cases
- Contract address by name: User asks "USDT contract address" or "BTT contract on TRON" — use
searchwithterm(e.g. USDT, BTT) and optionaltype: tokenortype: contractto get matching tokens/contracts and their addresses (token_id/ contract address). - Token by symbol or name: Same as above; filter by
type: tokenfor token-only results. - Contract by name: Use
searchwithtype: contractto find contracts by name or address. - Account search: Use
searchwithtype: addressto search accounts. - Transaction or block: Use
searchwithtype: transactionortype: blockwhen the user provides a tx hash or block number/keyword.
MCP Server
- Prerequisite: TronScan MCP Guide
Tools
search
- API:
search— Search the TRON blockchain for tokens, contracts, accounts, transactions, or blocks - Use when: User asks for "USDT contract address", "find token by name", "search for contract X", or any lookup by name/keyword.
- Input:
term(required, search keyword e.g. USDT, BTT, or contract name), optionaltype(token | address | contract | transaction | block), optionalstart,limit. - Response: Matches per type; for tokens, each item includes
token_id(contract address),name,abbr,token_type, and other metadata.
Troubleshooting
- MCP connection failed: If you see "Connection refused", verify TronScan MCP is connected in Settings > Extensions.
- API rate limit / 429: TronScan API has call count and frequency limits when no API key is used. If you encounter rate limiting or 429 errors, go to TronScan Developer API to apply for an API key, then add it to your MCP configuration and retry.
No results for search
Try broader keywords or different type filter (token | address | contract | transaction | block).
Notes
- For "contract address by name" (e.g. USDT), call
searchwithterm: "USDT"andtype: "token"(or omit type); the first or best match usually hastoken_id= TRC20 contract address (e.g. USDT =TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t). - Use this skill before tronscan-token-scanner or tronscan-contract-analysis when the user only provides a name/symbol and you need the address to call other tools.