zks_getBytecodeByHash RPC Method
Parameters
hash
string
REQUIRED
The hash os the transaction
Returns
result
The byte code of the given transaction
Request
1curl https://docs-demo.zksync-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"zks_getBytecodeByHash","params":["0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc" ],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free