How to get the block.timestamp and data with publicClient.getTransaction(hash)? #1069
Steveantor
started this conversation in
General
Replies: 1 comment 1 reply
-
For cross reference, Alchemy SDK seems to have the same issue: alchemyplatform/alchemy-sdk-js/issues/366 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems like
publicClient.getTransaction(hash)
doesn't return block.timestamp as per the docs,but
ethers.getTransaction()
in fact does.I guess the
txinfo.input
istxinfo.data
(ethers) (unsure about this one)Beta Was this translation helpful? Give feedback.
All reactions