You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a Node operator and have set up the Tron event subscription using the official documentation (https://developers.tron.network/docs/event-plugin-deployment-mongodb).
After executing the getEventResult method in TronWeb, I noticed that the output does not include the event_index parameter. see the below output of this method
Could you please confirm whether the event_index parameter is only available through TronGrid, or if it is possible to retrieve it via TronWeb as well?
Please help me.
Thank you.
The text was updated successfully, but these errors were encountered:
TronWeb beta versions adapted TronGrid api which may be not compatible with java-tron api. It is recommended that you always use event service with TronGrid.
I own that node the contract and the currency. Who authorized you to be on it attempting large transfers let alone any?
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Satan-web3 ***@***.***>
Sent: Sunday, September 8, 2024 9:32:36 PM
To: tronprotocol/tronweb ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [tronprotocol/tronweb] Clarification on Event_index in Tronweb (Issue #555)
TronWeb beta versions adapted TronGrid api which may be not compatible with java-tron api. It is recommended that you always use event service with TronGrid.
—
Reply to this email directly, view it on GitHub<#555 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BDV43C5FM4QIBX3T2PREFT3ZVUCEJAVCNFSM6AAAAABNVYSMHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWHE4TGMRQGY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
I am a Node operator and have set up the Tron event subscription using the official documentation (https://developers.tron.network/docs/event-plugin-deployment-mongodb).
After executing the getEventResult method in TronWeb, I noticed that the output does not include the event_index parameter. see the below output of this method
{
block: 64894266,
timestamp: 1725330330000,
contract: 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t',
name: 'Transfer',
transaction: '3b1d5a1020104e179140acd8c3c6defc963bb139ec1bd665830179e2819913ca',
result: {
from: '0xbae017880fb02f310e418e4a135c77f3d567ccb3',
to: '0x7d98443d36f2ad2740d52f0f4fd8a7bafb4403db',
value: '69000000'
},
resourceNode: 'fullNode',
unconfirmed: true,
fingerprint: 'qgYzMgexxTFqgNTFNTNeqYbMTDqeNJIJ'
}
However, when using TronGrid with public url, the event_index parameter is present in the output. see the below output
Could you please confirm whether the event_index parameter is only available through TronGrid, or if it is possible to retrieve it via TronWeb as well?
Please help me.
Thank you.
The text was updated successfully, but these errors were encountered: