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've tried to test with symbol string = "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000045553445400000000000000000000000000000000000000000000000000000000"
It is working in online covnverter and returns "USDT" as expected https://www.moesif.com/solidity-abi-hex-decoder/encode
But with EthereumAbiValue.decodeValue with type "string" it returns empty string.
What am I do incorrect with parsing response?
But when I get decimals from eth_call and try parse as uint type it works as expected
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've tried to test with symbol string = "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000045553445400000000000000000000000000000000000000000000000000000000"
It is working in online covnverter and returns "USDT" as expected https://www.moesif.com/solidity-abi-hex-decoder/encode
But with
EthereumAbiValue.decodeValue
with type"string"
it returns empty string.What am I do incorrect with parsing response?
But when I get decimals from eth_call and try parse as
uint
type it works as expectedBeta Was this translation helpful? Give feedback.
All reactions