ZKSync API

zks_getBytecodeByHash

Retrieves the bytecode of a transaction by its hash

post/zks_getBytecodeByHash

Request

  • Base URL
    https://api.mainnet.abs.xyz
  • URL
    https://api.mainnet.abs.xyz/zks_getBytecodeByHash
  • Auth
    none declared

Request body

jsonrpcstring required

JSON-RPC version

methodstring required

The RPC method to be invoked

idinteger required

Request identifier

Response

Returns an array of the transaction's bytecode

BytecodeByHashResponse required(unresolved $ref)

Changes

No recorded changes to this operation across all 2 revisions of this API.