Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
The parameters for the method ots_hasCode: [address, defaultBlock].Positional parameters for
ots_hasCode:params[0]: The address.params[1]: Block identifier. Can be an integer block number or a string tag: “latest”, “earliest”, or “pending”.
Returns
boolean indicating if the address contains a bytecode or not.