eth_getCode
Returns code at a given address. The code is returned as a hex-encoded string. If the address is not a contract, returns “0x”.
⚡ Compute Units: 20 CU
Request
This endpoint expects an object.
address
20-byte address to get code for
blockIdentifier
Block number, block hash, or one of "latest", "earliest", "pending", "finalized", "safe"
Response
The code at the given address, hex-encoded