Skip to content
Back to skills

Tron Schema Reference

ASecurity

Use before writing SQL or interpreting a column on the TRON warehouse. Tells you which table holds what and which tool wraps it, and sends every detail to search_docs instead of repeating it here.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 8, 2026
ai-agentsgosqldocumentation

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add transatron/awesome-tron-agents --skill tron-schema-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tron Schema Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tron Schema Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/transatron-tron-schema-reference/badge)](https://www.skillsdirectory.com/skills/transatron-tron-schema-reference)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tron-schema-reference
description: Use before writing SQL or interpreting a column on the TRON warehouse. Tells you which table holds what and which tool wraps it, and sends every detail to search_docs instead of repeating it here.
---

# Schema reference (thin)

This skill holds no table documentation. The documentation corpus lives behind the server, always current:

- `search_docs` with a table name (for example `trc20_transfer`) returns that table's full page.
- `search_docs` with `datasets` returns the catalogue of tables.
- `search_docs` with a symptom ("negative amount", "timestamp", "wrong result") returns the matching trap.
- Full pages can be read as resources: `tron://docs/gotchas`, `tron://docs/limits`, `tron://docs/tools`.
- `search_docs` needs no sign-in and costs 0 CU.

## Map: what is where

| Question | Look at | Prefer the tool |
| --- | --- | --- |
| Token transfers with a running balance | `trc20_transfer` | `address_transfers`, `balance_at` |
| Contract calls and raw calldata | `trigger_smart_contract` | `contract_callers`, `decode_calls` |
| Native TRX transfers | `transaction` | `address_transfers`, `tx_lookup` |
| Internal transactions | `internal_transaction` | `address_transfers`, `tx_lookup` |
| Address-pair graph and label categories | `graph` schema, `tfm.labels` | `address_counterparties`, `trace_flows` |
| Energy and staking | the energy schema | `energy_profile`, `gas_payers`, `tx_gas_payers` |
| Multisig permission changes | search "permission" | `permission_history` |

Ask `search_docs` for the current column list; do not rely on memory of it.

## Always ask the docs about

- Sign of amounts on the sending side of a transfer table.
- The two timestamp types (a bigint in milliseconds and a naive UTC timestamp).
- Address encoding in the tables and the helper functions that convert it.
- Partition bounds and the per-statement limits (`tron://docs/limits`).

Then follow `tron-sql-patterns` for the rules and `explain_sql` before any wide statement.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.