Open sellerbtc opened 11 months ago
It looks like you are passing in a tx data, which has a selector prepended to it, which is offsetting all the data you are trying to parse. Try removing the first 8 nibbles (the 3593564c
).
If you use the Interface class, it does this for you. :)
thnx for ur help now when i remove the 3593564c it give me another error Error: insufficient data length (length=543, count=24576, code=BUFFER_OVERRUN, v ersion=abi/5.7.0)
I have solve it thank you man
Ethers Version
ethers": "5.7.2"
Search Terms
No response
Describe the Problem
hello please have a problem with decoding a transaction the error (Error: overflow [ See: https://links.ethers.org/v5-errors-NUMERIC_FAULT-overflow ] (fault="overflow", operation="toNumber", value="45633673574231089009591013542 007924150369919783582931797018039567302191480832", code=NUMERIC_FAULT, version=b ignumber/5.7.0) thise the original tx https://etherscan.io/tx/0x1ed5e3f9dcd118e8b235896ba1eb3ff556e39de9bfbc0b364a5bcbfca0dc8491
thnx in dvance
Code Snippet
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response