mcp-server-tron
v1.1.7MCP server for TRON blockchain.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_wallet_address
Get the address of the configured wallet. Use this to verify which wallet is active.
list_wallets
List all available wallets. Returns wallet IDs, types, and addresses. Use select_wallet to switch between them.
select_wallet
Switch the active wallet at runtime. Use list_wallets to see available wallet IDs. Only available in Encrypted Storage mode.
| Parameter | Type | Description |
|---|---|---|
walletId * | string | The wallet ID to switch to |
sign_message
Sign an arbitrary message using the configured wallet.
| Parameter | Type | Description |
|---|---|---|
message * | string | The message to sign |
get_chain_info
Get information about a TRON network: current block number and RPC endpoint
| Parameter | Type | Description |
|---|---|---|
network | string | Network name (mainnet, nile, shasta). Defaults to mainnet. |
get_supported_networks
Get a list of all supported TRON networks
get_chain_parameters
Get current chain parameters including Energy and Bandwidth unit prices. Returns structured fee information similar to gas price queries.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
convert_address
Convert addresses between Hex and Base58 formats
| Parameter | Type | Description |
|---|---|---|
address * | string | Address to convert (Hex or Base58) |
get_block
Get block details by block number or hash
| Parameter | Type | Description |
|---|---|---|
blockIdentifier * | string | Block number (as string) or block hash |
network | string | Network name. Defaults to mainnet. |
get_latest_block
Get the latest block from the network
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_balance
Get the TRX balance for an address
| Parameter | Type | Description |
|---|---|---|
address * | string | The wallet address (Base58) |
network | string | Network name. Defaults to mainnet. |
get_token_balance
Get the TRC20 token balance for an address
| Parameter | Type | Description |
|---|---|---|
address * | string | The wallet address |
tokenAddress * | string | The TRC20 token contract address |
network | string | Network name. Defaults to mainnet. |
get_transaction
Get transaction details by transaction hash
| Parameter | Type | Description |
|---|---|---|
txHash * | string | Transaction hash |
network | string | Network name. Defaults to mainnet. |
get_transaction_info
Get transaction info (receipt/confirmation status, energy usage, logs).
| Parameter | Type | Description |
|---|---|---|
txHash * | string | Transaction hash |
network | string | Network name. Defaults to mainnet. |
read_contract
Call read-only functions on a smart contract.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
functionName * | string | Function name (e.g., 'name', 'symbol', 'balanceOf') |
abi | array | Optional contract ABI array. If not provided, will fetch from chain. Use for contracts with incomplete on-chain ABI. |
args | array | Function arguments (supports arrays and objects for complex types) |
network | string | Network name. Defaults to mainnet. |
get_contract
Get raw contract metadata from the chain, including ABI (if verified) and bytecode.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
network | string | Network name. Defaults to mainnet. |
get_contract_info
Get high-level information about a contract: ABI, readable function signatures, and raw metadata.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
network | string | Network name. Defaults to mainnet. |
fetch_contract_abi
Fetch contract ABI from the chain (for verified contracts). Returns the ABI entry array.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
network | string | Network name. Defaults to mainnet. |
multicall
Execute multiple read-only functions in a single batch call.
| Parameter | Type | Description |
|---|---|---|
calls * | array | Array of calls to execute |
allowFailure | boolean | Whether to allow individual calls to fail. Defaults to true. |
multicallAddress | string | Optional Multicall contract address override |
network | string | Network name. Defaults to mainnet. |
version | string | Multicall version (2 or 3). Defaults to 3. |
write_contract
Execute state-changing functions on a smart contract. Requires configured wallet.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
functionName * | string | Function name to call |
abi | array | Optional contract ABI array. If not provided, will fetch from chain. Use for contracts with incomplete on-chain ABI. |
args | array | Function arguments (supports arrays and objects for complex types) |
network | string | Network name. Defaults to mainnet. |
value | string | TRX value to send (in Sun) |
deploy_contract
Deploy a smart contract to the TRON network using ABI and Bytecode.
| Parameter | Type | Description |
|---|---|---|
abi * | array | The contract ABI (array of objects) |
bytecode * | string | The compiled contract bytecode (hex string) |
args | array | Constructor arguments |
feeLimit | number | Fee limit in Sun (default: 1,000,000,000 = 1000 TRX) |
name | string | Contract name (optional) |
network | string | Network name. Defaults to mainnet. |
estimate_energy
Estimate energy consumption for a smart contract call (simulation).
| Parameter | Type | Description |
|---|---|---|
abi * | array | Contract ABI (required for encoding) |
address * | string | Contract address |
functionName * | string | Function name to call |
args | array | Function arguments |
network | string | Network name. Defaults to mainnet. |
ownerAddress | string | Caller address for simulation. Defaults to configured wallet. |
update_contract_setting
Update a contract's consume_user_resource_percent (user pay ratio). Requires the contract creator's wallet.
| Parameter | Type | Description |
|---|---|---|
consumeUserResourcePercent * | number | New consume_user_resource_percent value (0-100) |
contractAddress * | string | The contract address |
network | string | Network name. Defaults to mainnet. |
update_energy_limit
Update a contract's originEnergyLimit (max energy the contract creator will pay per execution). Requires the contract creator's wallet.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address |
originEnergyLimit * | number | New originEnergyLimit value (energy units, must be > 0) |
network | string | Network name. Defaults to mainnet. |
clear_abi
Clear the on-chain ABI metadata of a contract (ClearABIContract). Requires the contract creator's wallet.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address whose ABI will be cleared |
network | string | Network name. Defaults to mainnet. |
transfer_trx
Transfer TRX to an address.
| Parameter | Type | Description |
|---|---|---|
to * | string | Recipient address |
amount | string | Amount to send in TRX (e.g., '10.5') |
network | string | Network name. Defaults to mainnet. |
transfer_trc20
Transfer TRC20 tokens to an address.
| Parameter | Type | Description |
|---|---|---|
to * | string | Recipient address |
tokenAddress * | string | The TRC20 token contract address |
amount | string | Amount to send (raw amount with decimals) |
network | string | Network name. Defaults to mainnet. |
freeze_balance_v2
Freeze TRX to get resources (Stake 2.0).
| Parameter | Type | Description |
|---|---|---|
amount | string | Amount to freeze in Sun (1 TRX = 1,000,000 Sun) |
network | string | Network name. Defaults to mainnet. |
resource | string | Resource type to get. Defaults to BANDWIDTH. |
unfreeze_balance_v2
Unfreeze TRX to release resources (Stake 2.0).
| Parameter | Type | Description |
|---|---|---|
amount | string | Amount to unfreeze in Sun (1 TRX = 1,000,000 Sun) |
network | string | Network name. Defaults to mainnet. |
resource | string | Resource type to release. Defaults to BANDWIDTH. |
withdraw_expire_unfreeze
Withdraw expired unfrozen balance (Stake 2.0). Call this after the unfreezing period to return TRX to available balance.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
cancel_all_unfreeze_v2
Cancel unstakings, all unstaked funds still in the waiting period will be re-staked, all unstaked funds that exceeded the 14-day waiting period will be automatically withdrawn to the owner’s account.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_available_unfreeze_count
Get remaining available unstake (unfreeze) operations for an address in Stake 2.0.
| Parameter | Type | Description |
|---|---|---|
address * | string | Wallet address (Base58 or hex) |
network | string | Network name. Defaults to mainnet. |
get_can_withdraw_unfreeze_amount
Get the withdrawable unstaked TRX amount for an address at a given timestamp in Stake 2.0.
| Parameter | Type | Description |
|---|---|---|
address * | string | Wallet address (Base58 or hex) |
network | string | Network name. Defaults to mainnet. |
timestampMs | string | Optional query timestamp in milliseconds. Defaults to current time. |
delegate_resource
Delegate staked resources (BANDWIDTH or ENERGY) from the configured wallet to another address.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of resources to delegate in Sun (1 TRX = 1,000,000 Sun) |
receiverAddress * | string | The address that will receive the delegated resources |
resource * | string | Resource type to delegate (BANDWIDTH or ENERGY) |
lock | boolean | Whether the delegation is locked (non-revocable within the lock period). Defaults to false. |
lockPeriod | number | Lock period in blocks when lock is true. Ignored if lock is false. Defaults to 0. |
network | string | Network name. Defaults to mainnet. |
undelegate_resource
Revoke previously delegated staked resources (BANDWIDTH or ENERGY) from a receiver address back to the configured wallet.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount of resources to revoke in Sun (1 TRX = 1,000,000 Sun) |
receiverAddress * | string | The address from which delegated resources will be revoked |
resource * | string | Resource type to revoke (BANDWIDTH or ENERGY) |
network | string | Network name. Defaults to mainnet. |
get_can_delegated_max_size
Get the maximum amount of TRX (in Sun) that an address can currently delegate as resources (BANDWIDTH or ENERGY) under Stake 2.0.
| Parameter | Type | Description |
|---|---|---|
address * | string | Wallet address (Base58 or hex) |
resource * | string | Resource type to query (BANDWIDTH or ENERGY) |
network | string | Network name. Defaults to mainnet. |
get_delegated_resource_v2
Get delegated resource details (bandwidth and energy) between two addresses under Stake 2.0.
| Parameter | Type | Description |
|---|---|---|
fromAddress * | string | Delegator address (Base58 or hex) |
toAddress * | string | Delegatee address (Base58 or hex) |
network | string | Network name. Defaults to mainnet. |
get_delegated_resource_account_index_v2
Get delegated resource account index for an address under Stake 2.0 (who delegated to this address and who this address delegated to).
| Parameter | Type | Description |
|---|---|---|
address * | string | Wallet address (Base58 or hex) |
network | string | Network name. Defaults to mainnet. |
get_block_by_num
Query block by block height. Returns block header and transaction list.
| Parameter | Type | Description |
|---|---|---|
num * | integer | Block height number |
network | string | Network name. Defaults to mainnet. |
get_block_by_id
Query block by block ID (hash). Returns block header and transaction list.
| Parameter | Type | Description |
|---|---|---|
value * | string | Block hash / ID (64-char hex string) |
network | string | Network name. Defaults to mainnet. |
get_block_by_latest_num
Retrieve the most recent N blocks, starting from the latest solidified block in descending order of height.
| Parameter | Type | Description |
|---|---|---|
num * | integer | Number of latest blocks to retrieve (1-100) |
network | string | Network name. Defaults to mainnet. |
get_block_by_limit_next
Retrieve a list of block objects within the specified block height range [startNum, endNum).
| Parameter | Type | Description |
|---|---|---|
endNum * | integer | End block height (exclusive) |
startNum * | integer | Start block height (inclusive) |
network | string | Network name. Defaults to mainnet. |
get_now_block
Get the current latest block information from the network.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_transaction_by_id
Query transaction status and content by transaction hash.
| Parameter | Type | Description |
|---|---|---|
value * | string | Transaction hash (txID) |
network | string | Network name. Defaults to mainnet. |
get_transaction_info_by_id
Query transaction receipt including energy usage, fee, logs, and confirmation status by transaction hash.
| Parameter | Type | Description |
|---|---|---|
value * | string | Transaction hash (txID) |
network | string | Network name. Defaults to mainnet. |
get_transaction_info_by_block_num
Get TransactionInfo (receipts) for all transactions in a specific block height.
| Parameter | Type | Description |
|---|---|---|
num * | integer | Block height number |
network | string | Network name. Defaults to mainnet. |
get_energy_prices
Query historical energy unit price on the TRON network.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_bandwidth_prices
Query historical bandwidth unit price on the TRON network.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_burn_trx
Query the total amount of TRX burned from on-chain transaction fees since No. 54 Committee Proposal took effect.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_approved_list
Query the list of accounts that have signed a given transaction. Pass the full transaction JSON object.
| Parameter | Type | Description |
|---|---|---|
transaction * | string | The full signed transaction as a JSON string |
network | string | Network name. Defaults to mainnet. |
get_block_balance
Get all balance change operations in a block. Requires block hash and block number. Note: requires the node to enable historical balance query.
| Parameter | Type | Description |
|---|---|---|
hash * | string | Block hash (64-char hex string) |
number * | integer | Block height number |
network | string | Network name. Defaults to mainnet. |
broadcast_transaction
Broadcast a signed transaction to the TRON network. Accepts the full signed transaction JSON object.
| Parameter | Type | Description |
|---|---|---|
transaction * | string | The full signed transaction as a JSON string |
network | string | Network name. Defaults to mainnet. |
broadcast_hex
Broadcast a signed, protocol buffer-encoded transaction hex string to the TRON network.
| Parameter | Type | Description |
|---|---|---|
transaction * | string | Signed transaction hex string |
network | string | Network name. Defaults to mainnet. |
create_transaction
Create an unsigned TRX transfer transaction. The recipient account will be auto-activated if it does not exist. Returns an unsigned transaction object that must be signed before broadcasting.
| Parameter | Type | Description |
|---|---|---|
amount * | integer | Transfer amount in SUN (1 TRX = 1,000,000 SUN) |
ownerAddress * | string | Sender address (Base58) |
toAddress * | string | Recipient address (Base58) |
network | string | Network name. Defaults to mainnet. |
list_nodes
List all connected node addresses on the TRON network. Returns an array of node IP:port strings.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_node_info
Get detailed information about the current TRON node, including version, config, peers, and machine info.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_pending_transactions
Get the list of transaction IDs currently in the pending pool (mempool).
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_transaction_from_pending
Get the details of a specific transaction from the pending pool by its transaction ID.
| Parameter | Type | Description |
|---|---|---|
txId * | string | The transaction ID (hash) to look up in the pending pool |
network | string | Network name. Defaults to mainnet. |
get_pending_size
Get the number of transactions currently in the pending pool (mempool).
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_events_by_transaction_id
Get all events emitted by a specific transaction.
| Parameter | Type | Description |
|---|---|---|
transactionId * | string | The transaction ID (hash) to query events for |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed events. Defaults to unset (both). |
get_events_by_contract_address
Get recent events emitted by a specific contract address.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address (base58 or hex) |
eventName | string | Filter by event name (e.g. Transfer) |
fingerprint | string | Pagination token from previous response |
limit | number | Max events per page (default 20, max 200) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed events |
orderBy | string | Sort order |
get_events_by_block_number
Get events emitted in a specific block. Supports pagination via limit and fingerprint. Preferred over get_events_of_latest_block when you need precise block targeting or full event retrieval.
| Parameter | Type | Description |
|---|---|---|
blockNumber * | number | The block number to query events for |
fingerprint | string | Pagination token from previous response |
limit | number | Max events per page (default 20, max 200) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed events |
get_events_of_latest_block
Get events from the most recent block that contains events (skips empty blocks). Results may be limited by the API default page size and subject to event indexing lag. For precise control, use get_events_by_block_number with a specific block number and limit/fingerprint pagination.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed events |
get_account
Get full account information including balance, resources, permissions, frozen balance, and votes.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (Base58 or Hex) |
network | string | Network name. Defaults to mainnet. |
get_account_balance
Get account TRX balance at a specific block height.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (Base58) |
blockHash * | string | Block hash (hex string) |
blockNumber * | number | Block number |
network | string | Network name. Defaults to mainnet. |
generate_account
Generate a new TRON account offline (keypair generation). Returns privateKey, publicKey, and address. No network interaction needed.
validate_address
Validate a TRON address and detect its format (Base58 or Hex).
| Parameter | Type | Description |
|---|---|---|
address * | string | Address to validate |
get_account_net
Get bandwidth (net) resource information for an account.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (Base58 or Hex) |
network | string | Network name. Defaults to mainnet. |
get_account_resource
Get account resource details including energy, bandwidth, frozen balance, and delegation info.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (Base58 or Hex) |
network | string | Network name. Defaults to mainnet. |
get_delegated_resource
Query the amount of resources delegated from one account to another (Stake 2.0).
| Parameter | Type | Description |
|---|---|---|
fromAddress * | string | Delegator address |
toAddress * | string | Recipient address |
network | string | Network name. Defaults to mainnet. |
get_delegated_resource_index
Query the resource delegation index for an account: who delegated to this account, and who this account delegated to.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address |
network | string | Network name. Defaults to mainnet. |
create_account
Activate a new account on the TRON network. Costs bandwidth from the configured wallet. The target address must be generated beforehand.
| Parameter | Type | Description |
|---|---|---|
address * | string | Address to activate (Base58 or Hex) |
network | string | Network name. Defaults to mainnet. |
update_account
Update the name of the configured wallet's account. Can only be set once.
| Parameter | Type | Description |
|---|---|---|
accountName * | string | New account name |
network | string | Network name. Defaults to mainnet. |
account_permission_update
Update account permissions for multi-signature configuration. Set owner, active, and optional witness permissions.
| Parameter | Type | Description |
|---|---|---|
activePermissions * | Active permission(s) configuration | |
ownerPermission * | object | Owner permission configuration |
network | string | Network name. Defaults to mainnet. |
witnessPermission | object | Witness permission (only for Super Representatives) |
list_witnesses
Get the full list of all Super Representatives (SR / witnesses) on the network.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_paginated_witnesses
Get a paginated list of current active Super Representatives.
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of results per page (default: 20) |
network | string | Network name. Defaults to mainnet. |
offset | number | Pagination offset (default: 0) |
get_next_maintenance_time
Get the timestamp of the next network maintenance window.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_reward
Query the current unclaimed voting reward for an address.
| Parameter | Type | Description |
|---|---|---|
address * | string | The address to query rewards for |
network | string | Network name. Defaults to mainnet. |
get_brokerage
Query the brokerage ratio (dividend percentage) of a Super Representative. The brokerage value is the percentage that the SR keeps; the rest is distributed to voters.
| Parameter | Type | Description |
|---|---|---|
witnessAddress * | string | The SR witness address |
network | string | Network name. Defaults to mainnet. |
create_witness
Apply to become a Super Representative (SR). Requires the configured wallet and burns 9999 TRX as application fee.
| Parameter | Type | Description |
|---|---|---|
url * | string | The official website URL of the SR candidate |
network | string | Network name. Defaults to mainnet. |
update_witness
Update the SR node website URL for the configured wallet (must already be an SR).
| Parameter | Type | Description |
|---|---|---|
url * | string | The new official website URL for the SR |
network | string | Network name. Defaults to mainnet. |
vote_witness
Vote for Super Representatives using TRON Power (obtained by freezing TRX). Each frozen TRX = 1 vote.
| Parameter | Type | Description |
|---|---|---|
votes * | array | List of SR addresses and vote counts |
network | string | Network name. Defaults to mainnet. |
withdraw_balance
Withdraw accumulated voting rewards to the configured wallet's available balance.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
update_brokerage
Update the SR brokerage ratio (dividend ratio). Only callable by an SR. Value is the percentage the SR keeps (0-100); the remainder goes to voters.
| Parameter | Type | Description |
|---|---|---|
brokerage * | integer | Brokerage percentage kept by the SR (0-100). E.g. 20 means SR keeps 20%. |
network | string | Network name. Defaults to mainnet. |
list_proposals
List all network governance proposals.
| Parameter | Type | Description |
|---|---|---|
network | string | Network name. Defaults to mainnet. |
get_proposal
Get details of a specific governance proposal by its ID.
| Parameter | Type | Description |
|---|---|---|
proposalId * | integer | The proposal ID |
network | string | Network name. Defaults to mainnet. |
create_proposal
Create a new network governance proposal (SR only). Provide a map of chain parameter IDs to proposed values.
| Parameter | Type | Description |
|---|---|---|
parameters * | object | Map of chain parameter key IDs (as string numbers) to proposed values. E.g. { '6': 100 } to propose changing parameter #6 to 100. |
network | string | Network name. Defaults to mainnet. |
approve_proposal
Vote to approve or disapprove a governance proposal (SR only).
| Parameter | Type | Description |
|---|---|---|
approve * | boolean | true to approve, false to disapprove |
proposalId * | integer | The proposal ID to vote on |
network | string | Network name. Defaults to mainnet. |
delete_proposal
Delete a governance proposal (SR only, only the proposal creator can delete it).
| Parameter | Type | Description |
|---|---|---|
proposalId * | integer | The proposal ID to delete |
network | string | Network name. Defaults to mainnet. |
get_account_info
Get comprehensive account information from TronGrid indexed data, including TRX balance, TRC20 balances, frozen resources, and votes. Data comes from the TronGrid indexer and may have slight delays compared to on-chain state.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (base58 T-address or hex 41-prefixed) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed data |
get_account_transactions
Get transaction history for an account from TronGrid indexed data. Returns all transaction types (TRX transfers, contract calls, etc.). Supports pagination via limit + fingerprint. Default 20 results, max 200 per page.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (base58 T-address or hex 41-prefixed) |
fingerprint | string | Pagination token from previous response |
limit | number | Max transactions per page (default 20, max 200) |
maxTimestamp | number | Filter: maximum block timestamp (ms) |
minTimestamp | number | Filter: minimum block timestamp (ms) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed transactions |
onlyUnconfirmed | boolean | Only return unconfirmed transactions |
orderBy | string | Sort field, e.g. 'block_timestamp,desc' |
get_account_trc20_transactions
Get TRC20 token transfer history for an account from TronGrid indexed data. Returns token transfer details including token info (name, symbol, decimals) and human-readable values. Supports pagination via limit + fingerprint. Default 20 results, max 200 per page.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (base58 T-address or hex 41-prefixed) |
contractAddress | string | Filter by specific TRC20 token contract address |
fingerprint | string | Pagination token from previous response |
limit | number | Max transactions per page (default 20, max 200) |
maxTimestamp | number | Filter: maximum block timestamp (ms) |
minTimestamp | number | Filter: minimum block timestamp (ms) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed transactions |
onlyUnconfirmed | boolean | Only return unconfirmed transactions |
orderBy | string | Sort field, e.g. 'block_timestamp,desc' |
get_account_internal_transactions
Get internal transactions (triggered by smart contract execution) for an account from TronGrid indexed data. Supports pagination via limit + fingerprint. Default 20, max 200.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (base58 T-address or hex 41-prefixed) |
fingerprint | string | Pagination token from previous response |
limit | number | Max transactions per page (default 20, max 200) |
maxTimestamp | number | Filter: maximum block timestamp (ms) |
minTimestamp | number | Filter: minimum block timestamp (ms) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed transactions |
onlyUnconfirmed | boolean | Only return unconfirmed transactions |
orderBy | string | Sort field, e.g. 'block_timestamp,desc' |
get_account_trc20_balances
Get all TRC20 token balances for an account from TronGrid indexed data. Returns only token contract addresses and raw balances — does NOT include token metadata (name, symbol, decimals). Use get_token_balance for detailed info on a specific token.
| Parameter | Type | Description |
|---|---|---|
address * | string | Account address (base58 T-address or hex 41-prefixed) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed data |
get_contract_transactions
Get transaction history for a smart contract from TronGrid indexed data. Unlike get_account_transactions, this aggregates transactions BY contract. Supports pagination via limit + fingerprint. Default 20 results, max 200 per page.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address (base58 T-address or hex 41-prefixed) |
fingerprint | string | Pagination token from previous response |
limit | number | Max transactions per page (default 20, max 200) |
maxTimestamp | number | Filter: maximum block timestamp (ms) |
minTimestamp | number | Filter: minimum block timestamp (ms) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed transactions |
onlyUnconfirmed | boolean | Only return unconfirmed transactions |
orderBy | string | Sort field, e.g. 'block_timestamp,desc' |
get_contract_internal_transactions
Get internal transactions (triggered by smart contract execution) for a contract address from TronGrid indexed data. Supports pagination via limit + fingerprint. Default 20, max 200.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address (base58 T-address or hex 41-prefixed) |
fingerprint | string | Pagination token from previous response |
limit | number | Max transactions per page (default 20, max 200) |
maxTimestamp | number | Filter: maximum block timestamp (ms) |
minTimestamp | number | Filter: minimum block timestamp (ms) |
network | string | Network name. Defaults to mainnet. |
onlyConfirmed | boolean | Only return confirmed transactions |
onlyUnconfirmed | boolean | Only return unconfirmed transactions |
orderBy | string | Sort field, e.g. 'block_timestamp,desc' |
get_trc20_token_holders
Get token holder list for a TRC20 contract from TronGrid indexed data. Returns holder addresses and their balances. Supports pagination via limit + fingerprint.
| Parameter | Type | Description |
|---|---|---|
address * | string | TRC20 token contract address (base58 T-address or hex 41-prefixed) |
fingerprint | string | Pagination token from previous response |
limit | number | Max holders per page (default 20, max 200) |
network | string | Network name. Defaults to mainnet. |
orderBy | string | Sort field, e.g. 'balance,desc' |