PHPackages                             aiwozhe/tron-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. aiwozhe/tron-api

AbandonedLibrary[API Development](/categories/api)

aiwozhe/tron-api
================

A strictly typed PHP 8.4 SDK for TRON FullNode, SolidityNode, TronGrid, JSON-RPC, transactions, staking, events, and smart contracts.

v6.0.3(1w ago)4352.0k327[9 PRs](https://github.com/iexbase/tron-api/pulls)MITPHPPHP ^8.4CI passing

Since Sep 12Pushed 1w ago19 watchersCompare

[ Source](https://github.com/iexbase/tron-api)[ Packagist](https://packagist.org/packages/aiwozhe/tron-api)[ Docs](https://github.com/iexbase/tron-api)[ RSS](/packages/aiwozhe-tron-api/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (12)Versions (29)Used By (0)

TronAPI 6.0
===========

[](#tronapi-60)

[![Latest Stable Version](https://camo.githubusercontent.com/9e951ff2f675ec983d0243774e7bce1cc6ad5e1b7e112551ba3d05db6576da10/68747470733a2f2f706f7365722e707567782e6f72672f696578626173652f74726f6e2d6170692f76657273696f6e)](https://packagist.org/packages/iexbase/tron-api)[![CI](https://github.com/iexbase/tron-api/actions/workflows/ci.yml/badge.svg)](https://github.com/iexbase/tron-api/actions/workflows/ci.yml)[![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![PHP](https://camo.githubusercontent.com/57027d373b7f5a7948c357666d6dd77ce090b410c617c924030ced42e76ede6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e342d3737374242342e737667)](https://www.php.net/releases/8.4/)

TronAPI 6.0 is a strictly typed PHP 8.4 SDK for TRON FullNode, SolidityNode, JSON-RPC, smart contracts, tokens, staking, governance, indexed data, local signing, and hierarchical wallets.

Version 6.0 is a complete architecture rewrite. It is not source-compatible with 5.x. The new API deliberately removes global address/private-key state, floating-point asset values, duplicated route logic, and any native-service dependency on TronGrid.

The default dependency resolution uses Guzzle 8. Applications whose ecosystem still requires the current Guzzle 7 line can use it without replacing the TronAPI transport API.

Requirements
------------

[](#requirements)

- PHP 8.4 on a 64-bit platform.
- Extensions: `bcmath`, `ctype`, `curl`, `filter`, `gmp`, `hash`, `json`, and `mbstring`.
- Composer 2.

Install the package without bypassing platform checks:

```
composer require iexbase/tron-api:^6.0
```

Quick start
-----------

[](#quick-start)

```
