recover publicKey from a rawtx
kropple opened this issue · 1 comments
hi. i have a hard time recovering the public key from raw transactions altough i found the corresponding needed functions in the code.
could you please point me to achieve it?
this is an old TX style:
0xf86f83182a6a854dfc936580830249f0940cd7304fbfdef3ca0c62b5349142626a80f426a087e7fe0107d540008025a0ae9996a4e4884df44de0e494b8b4865de50f6fcd4245a7069aee1c715d476d9ca01d4142d8d344daa967f82845e9e3172aa22278f589225c66ae06a7521396bc0a
and this is an EIP1559 tx:
0x02f875018327aef18477359400850627bf1b43825208941ed4eafa58b16e362bbfc35dab5c6ff13e8228318754607fc96a600080c080a02eda525e657a93ef1d586d8bedb62b4cd83c488c3f8b305b859ee2b8447d8656a02b63e13b201050b86418cde396c64b043f1c11e3b0fbe4d6b0393be7eb1401bd
how do i reliably recover the pubkey from these in web3.php ???
thanks a lot!
me too