mcp-server-tron

v1.1.7
@bankofai/mcp-server-tron Checked 3 hours ago Published 8 months ago

MCP 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.

ParameterTypeDescription
walletId *stringThe wallet ID to switch to

sign_message

Sign an arbitrary message using the configured wallet.

ParameterTypeDescription
message *stringThe message to sign

get_chain_info

Get information about a TRON network: current block number and RPC endpoint

ParameterTypeDescription
networkstringNetwork 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.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

convert_address

Convert addresses between Hex and Base58 formats

ParameterTypeDescription
address *stringAddress to convert (Hex or Base58)

get_block

Get block details by block number or hash

ParameterTypeDescription
blockIdentifier *stringBlock number (as string) or block hash
networkstringNetwork name. Defaults to mainnet.

get_latest_block

Get the latest block from the network

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_balance

Get the TRX balance for an address

ParameterTypeDescription
address *stringThe wallet address (Base58)
networkstringNetwork name. Defaults to mainnet.

get_token_balance

Get the TRC20 token balance for an address

ParameterTypeDescription
address *stringThe wallet address
tokenAddress *stringThe TRC20 token contract address
networkstringNetwork name. Defaults to mainnet.

get_transaction

Get transaction details by transaction hash

ParameterTypeDescription
txHash *stringTransaction hash
networkstringNetwork name. Defaults to mainnet.

get_transaction_info

Get transaction info (receipt/confirmation status, energy usage, logs).

ParameterTypeDescription
txHash *stringTransaction hash
networkstringNetwork name. Defaults to mainnet.

read_contract

Call read-only functions on a smart contract.

ParameterTypeDescription
contractAddress *stringThe contract address
functionName *stringFunction name (e.g., 'name', 'symbol', 'balanceOf')
abiarrayOptional contract ABI array. If not provided, will fetch from chain. Use for contracts with incomplete on-chain ABI.
argsarrayFunction arguments (supports arrays and objects for complex types)
networkstringNetwork name. Defaults to mainnet.

get_contract

Get raw contract metadata from the chain, including ABI (if verified) and bytecode.

ParameterTypeDescription
contractAddress *stringThe contract address
networkstringNetwork name. Defaults to mainnet.

get_contract_info

Get high-level information about a contract: ABI, readable function signatures, and raw metadata.

ParameterTypeDescription
contractAddress *stringThe contract address
networkstringNetwork name. Defaults to mainnet.

fetch_contract_abi

Fetch contract ABI from the chain (for verified contracts). Returns the ABI entry array.

ParameterTypeDescription
contractAddress *stringThe contract address
networkstringNetwork name. Defaults to mainnet.

multicall

Execute multiple read-only functions in a single batch call.

ParameterTypeDescription
calls *arrayArray of calls to execute
allowFailurebooleanWhether to allow individual calls to fail. Defaults to true.
multicallAddressstringOptional Multicall contract address override
networkstringNetwork name. Defaults to mainnet.
versionstringMulticall version (2 or 3). Defaults to 3.

write_contract

Execute state-changing functions on a smart contract. Requires configured wallet.

ParameterTypeDescription
contractAddress *stringThe contract address
functionName *stringFunction name to call
abiarrayOptional contract ABI array. If not provided, will fetch from chain. Use for contracts with incomplete on-chain ABI.
argsarrayFunction arguments (supports arrays and objects for complex types)
networkstringNetwork name. Defaults to mainnet.
valuestringTRX value to send (in Sun)

deploy_contract

Deploy a smart contract to the TRON network using ABI and Bytecode.

ParameterTypeDescription
abi *arrayThe contract ABI (array of objects)
bytecode *stringThe compiled contract bytecode (hex string)
argsarrayConstructor arguments
feeLimitnumberFee limit in Sun (default: 1,000,000,000 = 1000 TRX)
namestringContract name (optional)
networkstringNetwork name. Defaults to mainnet.

estimate_energy

Estimate energy consumption for a smart contract call (simulation).

ParameterTypeDescription
abi *arrayContract ABI (required for encoding)
address *stringContract address
functionName *stringFunction name to call
argsarrayFunction arguments
networkstringNetwork name. Defaults to mainnet.
ownerAddressstringCaller 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.

ParameterTypeDescription
consumeUserResourcePercent *numberNew consume_user_resource_percent value (0-100)
contractAddress *stringThe contract address
networkstringNetwork 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.

ParameterTypeDescription
contractAddress *stringThe contract address
originEnergyLimit *numberNew originEnergyLimit value (energy units, must be > 0)
networkstringNetwork name. Defaults to mainnet.

clear_abi

Clear the on-chain ABI metadata of a contract (ClearABIContract). Requires the contract creator's wallet.

ParameterTypeDescription
contractAddress *stringThe contract address whose ABI will be cleared
networkstringNetwork name. Defaults to mainnet.

transfer_trx

Transfer TRX to an address.

ParameterTypeDescription
to *stringRecipient address
amountstringAmount to send in TRX (e.g., '10.5')
networkstringNetwork name. Defaults to mainnet.

transfer_trc20

Transfer TRC20 tokens to an address.

ParameterTypeDescription
to *stringRecipient address
tokenAddress *stringThe TRC20 token contract address
amountstringAmount to send (raw amount with decimals)
networkstringNetwork name. Defaults to mainnet.

freeze_balance_v2

Freeze TRX to get resources (Stake 2.0).

ParameterTypeDescription
amountstringAmount to freeze in Sun (1 TRX = 1,000,000 Sun)
networkstringNetwork name. Defaults to mainnet.
resourcestringResource type to get. Defaults to BANDWIDTH.

unfreeze_balance_v2

Unfreeze TRX to release resources (Stake 2.0).

ParameterTypeDescription
amountstringAmount to unfreeze in Sun (1 TRX = 1,000,000 Sun)
networkstringNetwork name. Defaults to mainnet.
resourcestringResource 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.

ParameterTypeDescription
networkstringNetwork 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.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_available_unfreeze_count

Get remaining available unstake (unfreeze) operations for an address in Stake 2.0.

ParameterTypeDescription
address *stringWallet address (Base58 or hex)
networkstringNetwork 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.

ParameterTypeDescription
address *stringWallet address (Base58 or hex)
networkstringNetwork name. Defaults to mainnet.
timestampMsstringOptional query timestamp in milliseconds. Defaults to current time.

delegate_resource

Delegate staked resources (BANDWIDTH or ENERGY) from the configured wallet to another address.

ParameterTypeDescription
amount *numberAmount of resources to delegate in Sun (1 TRX = 1,000,000 Sun)
receiverAddress *stringThe address that will receive the delegated resources
resource *stringResource type to delegate (BANDWIDTH or ENERGY)
lockbooleanWhether the delegation is locked (non-revocable within the lock period). Defaults to false.
lockPeriodnumberLock period in blocks when lock is true. Ignored if lock is false. Defaults to 0.
networkstringNetwork name. Defaults to mainnet.

undelegate_resource

Revoke previously delegated staked resources (BANDWIDTH or ENERGY) from a receiver address back to the configured wallet.

ParameterTypeDescription
amount *numberAmount of resources to revoke in Sun (1 TRX = 1,000,000 Sun)
receiverAddress *stringThe address from which delegated resources will be revoked
resource *stringResource type to revoke (BANDWIDTH or ENERGY)
networkstringNetwork 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.

ParameterTypeDescription
address *stringWallet address (Base58 or hex)
resource *stringResource type to query (BANDWIDTH or ENERGY)
networkstringNetwork name. Defaults to mainnet.

get_delegated_resource_v2

Get delegated resource details (bandwidth and energy) between two addresses under Stake 2.0.

ParameterTypeDescription
fromAddress *stringDelegator address (Base58 or hex)
toAddress *stringDelegatee address (Base58 or hex)
networkstringNetwork 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).

ParameterTypeDescription
address *stringWallet address (Base58 or hex)
networkstringNetwork name. Defaults to mainnet.

get_block_by_num

Query block by block height. Returns block header and transaction list.

ParameterTypeDescription
num *integerBlock height number
networkstringNetwork name. Defaults to mainnet.

get_block_by_id

Query block by block ID (hash). Returns block header and transaction list.

ParameterTypeDescription
value *stringBlock hash / ID (64-char hex string)
networkstringNetwork 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.

ParameterTypeDescription
num *integerNumber of latest blocks to retrieve (1-100)
networkstringNetwork name. Defaults to mainnet.

get_block_by_limit_next

Retrieve a list of block objects within the specified block height range [startNum, endNum).

ParameterTypeDescription
endNum *integerEnd block height (exclusive)
startNum *integerStart block height (inclusive)
networkstringNetwork name. Defaults to mainnet.

get_now_block

Get the current latest block information from the network.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_transaction_by_id

Query transaction status and content by transaction hash.

ParameterTypeDescription
value *stringTransaction hash (txID)
networkstringNetwork name. Defaults to mainnet.

get_transaction_info_by_id

Query transaction receipt including energy usage, fee, logs, and confirmation status by transaction hash.

ParameterTypeDescription
value *stringTransaction hash (txID)
networkstringNetwork name. Defaults to mainnet.

get_transaction_info_by_block_num

Get TransactionInfo (receipts) for all transactions in a specific block height.

ParameterTypeDescription
num *integerBlock height number
networkstringNetwork name. Defaults to mainnet.

get_energy_prices

Query historical energy unit price on the TRON network.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_bandwidth_prices

Query historical bandwidth unit price on the TRON network.

ParameterTypeDescription
networkstringNetwork 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.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_approved_list

Query the list of accounts that have signed a given transaction. Pass the full transaction JSON object.

ParameterTypeDescription
transaction *stringThe full signed transaction as a JSON string
networkstringNetwork 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.

ParameterTypeDescription
hash *stringBlock hash (64-char hex string)
number *integerBlock height number
networkstringNetwork name. Defaults to mainnet.

broadcast_transaction

Broadcast a signed transaction to the TRON network. Accepts the full signed transaction JSON object.

ParameterTypeDescription
transaction *stringThe full signed transaction as a JSON string
networkstringNetwork name. Defaults to mainnet.

broadcast_hex

Broadcast a signed, protocol buffer-encoded transaction hex string to the TRON network.

ParameterTypeDescription
transaction *stringSigned transaction hex string
networkstringNetwork 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.

ParameterTypeDescription
amount *integerTransfer amount in SUN (1 TRX = 1,000,000 SUN)
ownerAddress *stringSender address (Base58)
toAddress *stringRecipient address (Base58)
networkstringNetwork name. Defaults to mainnet.

list_nodes

List all connected node addresses on the TRON network. Returns an array of node IP:port strings.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_node_info

Get detailed information about the current TRON node, including version, config, peers, and machine info.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_pending_transactions

Get the list of transaction IDs currently in the pending pool (mempool).

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_transaction_from_pending

Get the details of a specific transaction from the pending pool by its transaction ID.

ParameterTypeDescription
txId *stringThe transaction ID (hash) to look up in the pending pool
networkstringNetwork name. Defaults to mainnet.

get_pending_size

Get the number of transactions currently in the pending pool (mempool).

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_events_by_transaction_id

Get all events emitted by a specific transaction.

ParameterTypeDescription
transactionId *stringThe transaction ID (hash) to query events for
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed events. Defaults to unset (both).

get_events_by_contract_address

Get recent events emitted by a specific contract address.

ParameterTypeDescription
contractAddress *stringThe contract address (base58 or hex)
eventNamestringFilter by event name (e.g. Transfer)
fingerprintstringPagination token from previous response
limitnumberMax events per page (default 20, max 200)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed events
orderBystringSort 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.

ParameterTypeDescription
blockNumber *numberThe block number to query events for
fingerprintstringPagination token from previous response
limitnumberMax events per page (default 20, max 200)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly 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.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed events

get_account

Get full account information including balance, resources, permissions, frozen balance, and votes.

ParameterTypeDescription
address *stringAccount address (Base58 or Hex)
networkstringNetwork name. Defaults to mainnet.

get_account_balance

Get account TRX balance at a specific block height.

ParameterTypeDescription
address *stringAccount address (Base58)
blockHash *stringBlock hash (hex string)
blockNumber *numberBlock number
networkstringNetwork 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).

ParameterTypeDescription
address *stringAddress to validate

get_account_net

Get bandwidth (net) resource information for an account.

ParameterTypeDescription
address *stringAccount address (Base58 or Hex)
networkstringNetwork name. Defaults to mainnet.

get_account_resource

Get account resource details including energy, bandwidth, frozen balance, and delegation info.

ParameterTypeDescription
address *stringAccount address (Base58 or Hex)
networkstringNetwork name. Defaults to mainnet.

get_delegated_resource

Query the amount of resources delegated from one account to another (Stake 2.0).

ParameterTypeDescription
fromAddress *stringDelegator address
toAddress *stringRecipient address
networkstringNetwork 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.

ParameterTypeDescription
address *stringAccount address
networkstringNetwork 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.

ParameterTypeDescription
address *stringAddress to activate (Base58 or Hex)
networkstringNetwork name. Defaults to mainnet.

update_account

Update the name of the configured wallet's account. Can only be set once.

ParameterTypeDescription
accountName *stringNew account name
networkstringNetwork name. Defaults to mainnet.

account_permission_update

Update account permissions for multi-signature configuration. Set owner, active, and optional witness permissions.

ParameterTypeDescription
activePermissions *Active permission(s) configuration
ownerPermission *objectOwner permission configuration
networkstringNetwork name. Defaults to mainnet.
witnessPermissionobjectWitness permission (only for Super Representatives)

list_witnesses

Get the full list of all Super Representatives (SR / witnesses) on the network.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_paginated_witnesses

Get a paginated list of current active Super Representatives.

ParameterTypeDescription
limitnumberNumber of results per page (default: 20)
networkstringNetwork name. Defaults to mainnet.
offsetnumberPagination offset (default: 0)

get_next_maintenance_time

Get the timestamp of the next network maintenance window.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_reward

Query the current unclaimed voting reward for an address.

ParameterTypeDescription
address *stringThe address to query rewards for
networkstringNetwork 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.

ParameterTypeDescription
witnessAddress *stringThe SR witness address
networkstringNetwork name. Defaults to mainnet.

create_witness

Apply to become a Super Representative (SR). Requires the configured wallet and burns 9999 TRX as application fee.

ParameterTypeDescription
url *stringThe official website URL of the SR candidate
networkstringNetwork name. Defaults to mainnet.

update_witness

Update the SR node website URL for the configured wallet (must already be an SR).

ParameterTypeDescription
url *stringThe new official website URL for the SR
networkstringNetwork name. Defaults to mainnet.

vote_witness

Vote for Super Representatives using TRON Power (obtained by freezing TRX). Each frozen TRX = 1 vote.

ParameterTypeDescription
votes *arrayList of SR addresses and vote counts
networkstringNetwork name. Defaults to mainnet.

withdraw_balance

Withdraw accumulated voting rewards to the configured wallet's available balance.

ParameterTypeDescription
networkstringNetwork 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.

ParameterTypeDescription
brokerage *integerBrokerage percentage kept by the SR (0-100). E.g. 20 means SR keeps 20%.
networkstringNetwork name. Defaults to mainnet.

list_proposals

List all network governance proposals.

ParameterTypeDescription
networkstringNetwork name. Defaults to mainnet.

get_proposal

Get details of a specific governance proposal by its ID.

ParameterTypeDescription
proposalId *integerThe proposal ID
networkstringNetwork name. Defaults to mainnet.

create_proposal

Create a new network governance proposal (SR only). Provide a map of chain parameter IDs to proposed values.

ParameterTypeDescription
parameters *objectMap of chain parameter key IDs (as string numbers) to proposed values. E.g. { '6': 100 } to propose changing parameter #6 to 100.
networkstringNetwork name. Defaults to mainnet.

approve_proposal

Vote to approve or disapprove a governance proposal (SR only).

ParameterTypeDescription
approve *booleantrue to approve, false to disapprove
proposalId *integerThe proposal ID to vote on
networkstringNetwork name. Defaults to mainnet.

delete_proposal

Delete a governance proposal (SR only, only the proposal creator can delete it).

ParameterTypeDescription
proposalId *integerThe proposal ID to delete
networkstringNetwork 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.

ParameterTypeDescription
address *stringAccount address (base58 T-address or hex 41-prefixed)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly 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.

ParameterTypeDescription
address *stringAccount address (base58 T-address or hex 41-prefixed)
fingerprintstringPagination token from previous response
limitnumberMax transactions per page (default 20, max 200)
maxTimestampnumberFilter: maximum block timestamp (ms)
minTimestampnumberFilter: minimum block timestamp (ms)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed transactions
onlyUnconfirmedbooleanOnly return unconfirmed transactions
orderBystringSort 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.

ParameterTypeDescription
address *stringAccount address (base58 T-address or hex 41-prefixed)
contractAddressstringFilter by specific TRC20 token contract address
fingerprintstringPagination token from previous response
limitnumberMax transactions per page (default 20, max 200)
maxTimestampnumberFilter: maximum block timestamp (ms)
minTimestampnumberFilter: minimum block timestamp (ms)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed transactions
onlyUnconfirmedbooleanOnly return unconfirmed transactions
orderBystringSort 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.

ParameterTypeDescription
address *stringAccount address (base58 T-address or hex 41-prefixed)
fingerprintstringPagination token from previous response
limitnumberMax transactions per page (default 20, max 200)
maxTimestampnumberFilter: maximum block timestamp (ms)
minTimestampnumberFilter: minimum block timestamp (ms)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed transactions
onlyUnconfirmedbooleanOnly return unconfirmed transactions
orderBystringSort 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.

ParameterTypeDescription
address *stringAccount address (base58 T-address or hex 41-prefixed)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly 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.

ParameterTypeDescription
address *stringContract address (base58 T-address or hex 41-prefixed)
fingerprintstringPagination token from previous response
limitnumberMax transactions per page (default 20, max 200)
maxTimestampnumberFilter: maximum block timestamp (ms)
minTimestampnumberFilter: minimum block timestamp (ms)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed transactions
onlyUnconfirmedbooleanOnly return unconfirmed transactions
orderBystringSort 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.

ParameterTypeDescription
address *stringContract address (base58 T-address or hex 41-prefixed)
fingerprintstringPagination token from previous response
limitnumberMax transactions per page (default 20, max 200)
maxTimestampnumberFilter: maximum block timestamp (ms)
minTimestampnumberFilter: minimum block timestamp (ms)
networkstringNetwork name. Defaults to mainnet.
onlyConfirmedbooleanOnly return confirmed transactions
onlyUnconfirmedbooleanOnly return unconfirmed transactions
orderBystringSort 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.

ParameterTypeDescription
address *stringTRC20 token contract address (base58 T-address or hex 41-prefixed)
fingerprintstringPagination token from previous response
limitnumberMax holders per page (default 20, max 200)
networkstringNetwork name. Defaults to mainnet.
orderBystringSort field, e.g. 'balance,desc'