POSTIs Contract

Data APIhttps://web3.nodit.io/v1/ethereum/mainnet/blockchain/isContract

Checks whether the input address is a contract address or not.

Path Parameters
chainstring (enum)required

Parameter to specify the target chain for the query.

networkstring (enum)required

Parameter to specify the network of the target chain. Supported networks may vary depending on the chain.

Request Body
addressstringrequired

Parameter specifying the address to query. Can be entered as a 40-character hexadecimal string starting with 0x.

Responses
resultboolean

Returns true if the input address is a contract, false otherwise.

X-API-KEY
RequestCU30
cURL
curl -X POST "https://web3.nodit.io/v1/ethereum/mainnet/blockchain/isContract" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}'
Response
Example · 200
{
  "result": true
}