ots_hasCode

Checks if an Ethereum address contains a deployed code.

Parameters

  • address: (string), REQUIRED, The Ethereum address for which the deployed code is to be checked
  • blockNumber: (integer), REQUIRED, The block number at which the code presence will be checked or latest to check the latest state

Response

  • response: (boolean), It is true, if the address contains the bytecode, otherwise false
Language
Authorization
Header
Click Try It! to start a request and see the response here!