API参考:https://developers.tron.network/reference/get-transaction-info-by-account-address
这是 HTTP 请求:
headers = {
'Content-Type': "application/json",
'TRON-PRO-API-KEY':api_key
}
response = requests.get(f"https://api.trongrid.io/v1/accounts/{address}/transactions?min_timestamp={min_timestamp}", headers=headers)
其中 min_timestamp:
min_timestamp="2024-11-01T04:30:00Z"
或
min_timestamp="1730558155"
他们都没有工作
时间戳应以毫秒为单位提供,文档中未提及
示例:
min_timestamp="1730558155000"