Skip to main content
GET
/
platform
/
admin
/
audit_registry
Get blockchains with audit registry
curl --request GET \
  --url https://api.example.com/platform/admin/audit_registry
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Description

Returns a list of blockchains that have active audit registry smart contract deployments. The audit registry provides on-chain transparency by linking deployed smart contracts to their security audit reports.

Input

No request parameters required. This endpoint returns all blockchains with audit registry implementations.

Output

Returns a BlockchainsWithAuditRegistryDto object containing:
  • blockchains (array) — Collection of blockchain identifiers and names that have audit registry deployments.
  • count (int) — Total number of blockchains with audit registries.

Examples

Request
GET /api/platform/audit-registry/blockchains
Response (200 OK)
{
  "blockchains": [
    {
      "blockchainId": 1,
      "blockchainName": "Ethereum Mainnet",
      "auditRegistryDeployId": 42
    },
    {
      "blockchainId": 2,
      "blockchainName": "Polygon",
      "auditRegistryDeployId": 58
    }
  ],
  "count": 2
}

Errors

  • 401 Unauthorized: Caller is not authenticated.
  • 403 Forbidden: Caller lacks platform administration permissions.
  • 500 Internal Server Error: Unexpected error occurred during retrieval.

Notes

This endpoint requires platform administrator privileges. Only blockchains with deployed audit registry smart contracts are included in the response.

Query Parameters

api-version
string | null

Response

Successfully retrieved blockchain audit registry information.

Wrapper for API operation results containing success status, error information, and return value.

isSuccess
boolean

True if the operation completed successfully, false otherwise.

Example:

true

isFailure
boolean

True if the operation failed, false otherwise.

Example:

false

error
object

Error information returned when the operation fails.

Example:
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}
value
object

The result value returned when the operation is successful.