out of range error decode abi data with tron abi data #1958
Replies: 3 comments
-
Can you please provide a code example that demonstrates your issue? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
All your examples still have the 4-byte selector included, so they will have 4 bytes left over. But in addition it looks like there are two parameters after the selector. You must match the correct decoding types with the correct data, and if you are including the selector you need to trim it off. Alternatively, you can use the (moving to discussions) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
give out of range error some data like this:
data: a9059cbb0000000000000000a9059cbbd3f4658a2ae4f53f488894abcb7dcc5cdd27960a000000000000000000000000000000000000000000000000000000004fde885a
a9059cbb0000000000000000a9059cbbc55a996af9278d7d2779909303db69d8b9aa97b9000000000000000000000000000000000000000000000000000000008bde95cc
a9059cbb0000000000000000000000011ef21a586c510d4685dbc8a65fd3704d6fd6b157000000000000000000000000000000000000000000000000000000120b5c2700
a9059cbb0000000000000000000000011fb5c3a8aea53d1722d8313e634f8c8073ac5adc0000000000000000000000000000000000000000000000000000000002ebae40
Beta Was this translation helpful? Give feedback.
All reactions