
트론(Tron)은 높은 트랜잭션 처리 속도와 낮은 수수료를 강점으로 하는 블록체인 플랫폼입니다. DPoS(Delegated Proof of Stake) 합의 메커니즘을 기반으로 하며, EVM 호환성을 제공하지만 일부 주요 기능을 시스템 컨트랙트를 통해 처리하는 차별화된 특성을 가지고 있습니다. USDT 등 스테이블코인의 전송에 가장 활발하게 사용되는 체인 중 하나로, 최근에는 RWA(Real World Asset) 발행 및 활용을 위한 온체인 생태계 확장에도 주력하고 있습니다.
↗ 공식사이트: Tron Network
↗ Explorer: Tronscan.org
Tron Web3 Data API를 지금 사용해보세요!
Nodit Web3 Data API가 Tron 네트워크를 새롭게 지원합니다.
유료플랜 사용자라면 지금 바로 Web3 Data API API Reference를 확인하고 사용해보세요!
Feature | Mainnet Support | Testnet Support |
---|---|---|
Elastic Node | ❌ | ❌ |
Dedicated Node | ❌ | ❌ |
Web3 Data API | ✅ | ❌ |
Webhook | ❌ | ❌ |
Stream | ❌ | ❌ |
Datasquare | ❌ | ❌ |
Web3 Data API
Token API
- Get Token Allowance
- Get Token Contract Metadata by Contracts
- Get Token Holders By Contract
- Get Token Transfers by Account
- Get Token Transfers Within Range
- Get Tokens Owned By Account
- Search Token Contract Metadata by Keyword
Native Token API
- Get Native Balance by Account
- Get Native Holders
- Get Native Transfers by Account
- Get Native Transfers Within Range
Blockchain API
- Get Internal Transactions By Account
- Get Internal Transactions By Transaction Hash
- Get Transactions By Account
- Get Transactions By Hashes
- Get Transactions In Block
- Is Contract
Statistics API
Asset(TRC10) API
- Get Asset(TRC10) Holders by ID
- Get Asset(TRC10) Metadata by IDs
- Get Asset(TRC10) Metadata by Issuer
- Get Asset(TRC10) Transfers by Account
- Get Asset(TRC10) Transfers by ID
- Get Asset(TRC10) Transfers within Range
- Get Assets(TRC10) Owned by Account
- Search Asset(TRC10) Metadata by Keyword
Example
- 특정 계정에 대한 Native Token 관련 Transaction 목록을
Get Native Transfers By Account
을 통해서 조회
Request
-
Node.js - axios
import axios from 'axios'; const options = { method: 'POST', url: 'https://web3.nodit.io/v1/tron/mainnet/native/getNativeTransfersByAccount', headers: { accept: 'application/json', 'content-type': 'application/json', 'X-API-KEY': '{YOUR_API_KEY}' }, data: { accountAddress: 'TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia', relation: 'both', fromBlock: 0, toBlock: 'latest', withCount: true, withZeroValue: true } }; axios .request(options) .then(res => console.log(res.data)) .catch(err => console.error(err));
-
Python - requests
import requests url = "https://web3.nodit.io/v1/tron/mainnet/native/getNativeTransfersByAccount" payload = { "accountAddress": "TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia", "fromBlock": "0", "toBlock": "latest", "withCount": True, "withZeroValue": True, "relation": "both" } headers = { "accept": "application/json", "content-type": "application/json", "X-API-KEY": "nodit-demo" } response = requests.post(url, json=payload, headers=headers) print(response.text)
Response
{
"rpp":10,
"page":1,
"count":44,
"items":[
{
"from":"TEFrYaQEs7th4U8TFdY2Vf6JzucvVn2Voj",
"to":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"value":"1",
"blockTimestamp":1738839063000,
"blockNumber":69395726,
"transactionHash":"11f8a0083f4c770893d1db4b00ca611805ed3b5136e129556cea1bc3fc7d4329",
"transactionIndex":113,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TEUQNxLnuzrCbRtvubrJVf3QPbRBjgsUFX",
"to":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"value":"1",
"blockTimestamp":1738839039000,
"blockNumber":69395718,
"transactionHash":"5570e5f635ce84920b5c03695dfc490801c704d3548fbe48d85253f4257fb66c",
"transactionIndex":70,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"to":"TWQYPpc5mXW3XJYA5v68efUnLeX5XiKVoj",
"value":"39506360",
"blockTimestamp":1738838994000,
"blockNumber":69395703,
"transactionHash":"8b4c142ffcc6eb47b36bc1a9caf291f461ccc2c920f29e0b3e115bec2bc912de",
"transactionIndex":143,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TX8zg6wvVRFJx7Eso1WPoSrUzKB6arhBU3",
"to":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"value":"10000000",
"blockTimestamp":1738747794000,
"blockNumber":69365311,
"transactionHash":"05dc2cd69a5063f6279acb8b517dd2c902ff55c1143663bbb911feb7cd820544",
"transactionIndex":136,
"internalTransactionIndex":0,
"exchangeId":null
},
{
"from":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"to":"TX8zg6wvVRFJx7Eso1WPoSrUzKB6arhBU3",
"value":"10000000",
"blockTimestamp":1738747764000,
"blockNumber":69365301,
"transactionHash":"a5cbe37bf876b4579b75a11ba0e7286290291b55954c829bd58b016b5128f7c3",
"transactionIndex":35,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TAzsQ9Gx8eqFNFSKbeXrbi45CuVPHzA8wr",
"to":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"value":"44000000",
"blockTimestamp":1738746699000,
"blockNumber":69364946,
"transactionHash":"5118c5e4e57c6d9f4e0e0863969f14392602218f30958592aec4ec4320e2351c",
"transactionIndex":114,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TSY95heJNFrvkzQTKabMyxzkSjKNNYHZLj",
"to":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"value":"358",
"blockTimestamp":1723552887000,
"blockNumber":64302291,
"transactionHash":"92cbfc8d5fe836954f4689fbe08bb585cc9e1fda336efd3ade2c8bc888c2abd2",
"transactionIndex":31,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TS1TgGFTeCbKmsjQdeu4Mq8ctYakq2X771",
"to":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"value":"1",
"blockTimestamp":1723474275000,
"blockNumber":64276095,
"transactionHash":"9f93e099d6655954f12e4dad6ef5f97cebd30b566f62ef6d35ffafef8967cb86",
"transactionIndex":182,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TEGJTSUWwXmBoKN6LjS1VNKypBQKUY9NPN",
"to":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"value":"1",
"blockTimestamp":1723474275000,
"blockNumber":64276095,
"transactionHash":"0b42dded1f6f22ecb5380bb61f53a5314f23a25b750e9d91809a65850c6cf0f9",
"transactionIndex":48,
"internalTransactionIndex":-1,
"exchangeId":null
},
{
"from":"TCepLZhb8kvrLToRYC1pWDiUJxrL1cBNia",
"to":"TEniJQuHKF7AAo3rSPRrjz49kfENA32QaX",
"value":"299340850",
"blockTimestamp":1722929745000,
"blockNumber":64094635,
"transactionHash":"9569f69ec915ff4d295b0db2a90ca623bffcb4b4cd8d39ea2ebe427e0f5da26e",
"transactionIndex":317,
"internalTransactionIndex":-1,
"exchangeId":null
}
]
}