Info

Get latest block number

get

Fetch the latest block number from the Ethereum network.

Responses
200

Successful Response

application/json
get
/info/block-latest
GET /info/block-latest HTTP/1.1
Host: 
Accept: */*
{
  "block_number": 1
}

Get deployment information

get

Fetch deployment information for a given contract address.

Path parameters
addressstringRequired
Responses
200

Successful Response

application/json
get
/info/deployment/{address}
GET /info/deployment/{address} HTTP/1.1
Host: 
Accept: */*
{
  "address": "text",
  "deployer": "text",
  "deployer_eoa": "text",
  "tx_hash": "text",
  "block_number": 1
}

Get contract information

get

Fetch contract information for a given address.

Path parameters
addressstringRequired
Responses
200

Successful Response

application/json
get
/info/verification/{address}
GET /info/verification/{address} HTTP/1.1
Host: 
Accept: */*
{
  "address": "text",
  "verification": "verified",
  "verifiedAt": "text",
  "source": "etherscan"
}

Get scorecard data

get

Fetch scorecard data for a given repository.

Path parameters
addressstringRequired
Responses
200

Successful Response

application/json
get
/info/reposcore/{address}
GET /info/reposcore/{address} HTTP/1.1
Host: 
Accept: */*
{
  "repo_info": "text",
  "source": "text",
  "score": 1,
  "date": "text",
  "checks": [
    {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ]
}

Get proxy information

get

Fetch proxy information for a given address.

Path parameters
addressstringRequired
Responses
200

Successful Response

application/json
get
/info/proxy/{address}
GET /info/proxy/{address} HTTP/1.1
Host: 
Accept: */*
{
  "description": "text",
  "implementation_slot": "text",
  "implementation_variable": "text",
  "is_upgradeable": true,
  "is_proxy": true,
  "address": "text"
}

Get permissioned functions for a contract

get

Fetch functions that have permission checks for a given contract address.

Path parameters
addressstringRequired
Responses
200

Successful Response

application/json
get
/info/permissions/{address}
GET /info/permissions/{address} HTTP/1.1
Host: 
Accept: */*
{
  "permissions": [
    {
      "function": "text",
      "state_variables": [
        "text"
      ],
      "conditions": [
        "text"
      ]
    }
  ],
  "address": "text"
}

Last updated