Get project security state
Get project security state
Trustblock API route to get a project’s security state
GET
/
v1
/
project
/
security
curl --request GET \
--url https://api.trustblock.run/v1/project/security \
--header 'Authorization: Bearer <token>'
{
"extra": {
"requestId": "<string>"
},
"domain": "<string>",
"slug": "<string>",
"name": "<string>",
"tags": [
"analytics"
],
"chains": [
"ethereum"
],
"links": {
"website": "<string>",
"twitter": "<string>",
"discord": "<string>",
"telegram": "<string>",
"github": "<string>",
"youtube": "<string>",
"linkedIn": "<string>"
},
"issuesCount": {
"total": 123,
"fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
},
"not_fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
}
},
"createdAt": 123,
"hasCriticalIssuesNotFixed": true,
"auditedContractsOnChain": [
{
"chain": "ethereum",
"evmAddress": "<string>"
}
],
"audits": [
{
"id": "<string>",
"name": "<string>",
"conductedAt": 123,
"issuesCount": {
"total": 123,
"fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
},
"not_fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
}
},
"description": "<string>",
"reportFileCid": "<string>",
"reportFileUrl": "<string>",
"issues": [
{
"status": "fixed",
"name": "<string>",
"description": "<string>",
"severity": "low"
}
],
"auditor": {
"type": "firm",
"slug": "<string>",
"email": "<string>",
"name": "<string>",
"createdAt": 123,
"links": {
"website": "<string>",
"twitter": "<string>",
"discord": "<string>",
"telegram": "<string>",
"github": "<string>",
"youtube": "<string>",
"linkedIn": "<string>"
},
"evmAddress": "<string>",
"description": "<string>",
"profilePictureUrl": "<string>",
"foundingYear": 123,
"headcount": "one_to_five"
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
A detailed view of the project's security state.
Available options:
analytics
, collectibles
, finance
, gaming
, security
, social
, wallet
, other
Supported blockchain chains.
Available options:
ethereum
, polygon
, avalanche
, bnbchain
, arbitrum
, optimism
, fantom
, zksync
Unique identifier for the audit.
Name of the audit.
Unix timestamp of when the audit was conducted.
Total number of issues identified in the audit.
Detailed description of the audit.
CID of the audit report file in IPFS.
URL to access the audit report file.
Available options:
firm
, dao_community
, individual
Available options:
one_to_five
, five_to_twenty
, twenty_to_fifty
, fifty_plus
curl --request GET \
--url https://api.trustblock.run/v1/project/security \
--header 'Authorization: Bearer <token>'
{
"extra": {
"requestId": "<string>"
},
"domain": "<string>",
"slug": "<string>",
"name": "<string>",
"tags": [
"analytics"
],
"chains": [
"ethereum"
],
"links": {
"website": "<string>",
"twitter": "<string>",
"discord": "<string>",
"telegram": "<string>",
"github": "<string>",
"youtube": "<string>",
"linkedIn": "<string>"
},
"issuesCount": {
"total": 123,
"fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
},
"not_fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
}
},
"createdAt": 123,
"hasCriticalIssuesNotFixed": true,
"auditedContractsOnChain": [
{
"chain": "ethereum",
"evmAddress": "<string>"
}
],
"audits": [
{
"id": "<string>",
"name": "<string>",
"conductedAt": 123,
"issuesCount": {
"total": 123,
"fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
},
"not_fixed": {
"total": 123,
"low": 123,
"medium": 123,
"high": 123,
"critical": 123
}
},
"description": "<string>",
"reportFileCid": "<string>",
"reportFileUrl": "<string>",
"issues": [
{
"status": "fixed",
"name": "<string>",
"description": "<string>",
"severity": "low"
}
],
"auditor": {
"type": "firm",
"slug": "<string>",
"email": "<string>",
"name": "<string>",
"createdAt": 123,
"links": {
"website": "<string>",
"twitter": "<string>",
"discord": "<string>",
"telegram": "<string>",
"github": "<string>",
"youtube": "<string>",
"linkedIn": "<string>"
},
"evmAddress": "<string>",
"description": "<string>",
"profilePictureUrl": "<string>",
"foundingYear": 123,
"headcount": "one_to_five"
}
}
]
}