Returns smart contract library code by hash. Some contracts reference shared libraries instead of including all code directly. When you encounter a library reference in contract code, use this endpoint to fetch the actual library implementation.
Hashes of libraries
OK
Response containing requested library code.
Indicates if the request succeeded. If false, check the error field for details.
The response data. Only present when ok is true.
Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.