post https://zksync-era-mainnet.unifra.io/v1/
Returns bytecode of a transaction given by its hash.
Example
Request
curl --location --request POST 'https://zksync-era-mainnet.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "id": 1, "method": "zks_getBytecodeByHash", "params": [ "0x0100067d861e2f5717a12c3e869cfb657793b86bbb0caa05cc1421f16c5217bc" ]}'
Result
{
"jsonrpc": "2.0",
"result": [
0,
4,
0,
0,
0,
0,
0,
2,
0,
11,
...,
...,
],
"id": 1
}