POST
/
zks_getBytecodeByHash
curl --request POST \
  --url https://api.mainnet.abs.xyz/zks_getBytecodeByHash \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "zks_getBytecodeByHash",
  "params": [
    "0x3ff97eb2bc8a040d2e50863fb586a841f385293fa583a0e4c5ebe6e2f4cbb069"
  ]
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    123
  ]
}

Body

application/json

Response

200 - application/json
Returns an array of the transaction's bytecode

The response is of type any.