Info

Get latest block number

get

Fetch the latest block number from the Ethereum network.

Responses
200
Successful Response
application/json
get
GET /info/block-latest HTTP/1.1
Host: crystal-clear.mab.xyz
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
GET /info/deployment/{address} HTTP/1.1
Host: crystal-clear.mab.xyz
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
GET /info/verification/{address} HTTP/1.1
Host: crystal-clear.mab.xyz
Accept: */*
{
  "address": "text",
  "verification": "verified",
  "verifiedAt": "text"
}

Get scorecard data

post

Fetch scorecard data for a given repository.

Body

Request model for scorecard data.

orgstring · min: 1 · max: 50Required

GitHub organization name

repostring · min: 1 · max: 100Required

GitHub repository name

Responses
200
Successful Response
application/json
post
POST /info/reposcore HTTP/1.1
Host: crystal-clear.mab.xyz
Content-Type: application/json
Accept: */*
Content-Length: 28

{
  "org": "text",
  "repo": "text"
}
{
  "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
GET /info/proxy/{address} HTTP/1.1
Host: crystal-clear.mab.xyz
Accept: */*
{
  "address": "text",
  "type": "text",
  "message": "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
GET /info/permissions/{address} HTTP/1.1
Host: crystal-clear.mab.xyz
Accept: */*
{
  "address": "text",
  "functions": [
    "text"
  ]
}