tron-api
tron-api copied to clipboard
getEventByTransactionID not working
Getting events for a specific transaction is not working.
$tron->getEventByTransactionID($tr_id);
response is
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://api.trongrid.io/event/transaction/3fe74875a6edf91d68b54f6cf305716d7870c328aad0089d056f027a6c4af997 resulted in a 404 Not Found
I think that the URL format is not valid, instead of https://api.trongrid.io/event/transaction/ID it should be https://api.trongrid.io/v1/transactions/ID/events
use another node
同问,通过哈希值,获取不到数据了!!!!