Skip to main content
GET
/
tenant
/
{tenantId}
/
admin
/
blockchains
/
configurations
Get Blockchain Configurations
curl --request GET \
  --url https://api.example.com/tenant/{tenantId}/admin/blockchains/configurations
{
  "isSuccess": true,
  "isFailure": false,
  "error": null,
  "value": {
    "id": 42,
    "name": "Example"
  }
}

Description

Fetches the complete list of blockchain configuration settings for a tenant, including operational status and chain explorer settings for each configured blockchain.

Input

  • tenantId (long, required) - The unique identifier of the tenant.

Output

Returns an array of TenantBlockchainConfigurationDtoModel objects containing configuration details for each blockchain.

Examples

Request
GET /api/tenant/1024/admin/blockchain-configurations
Response (200 OK)
[
  {
    "blockchainId": 137,
    "blockchainName": "Polygon",
    "isTenantOperationsEnabled": true,
    "isTenantChainExplorerEnabled": true
  }
]

Errors

  • 400 Bad Request: The supplied tenant identifier failed validation.
  • 401 Unauthorized: The caller is not authenticated.
  • 403 Forbidden: The caller is not authorized to view blockchain configurations.
  • 404 Not Found: The tenant could not be found.
  • 500 Internal Server Error: An unexpected server error occurred.

Notes

This endpoint provides an overview of all blockchain configurations for tenant administration.

Path Parameters

tenantId
integer<int64>
required

The unique identifier of the tenant.

Query Parameters

api-version
string | null

Response

Blockchain configurations retrieved successfully.

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[] | null

The result value returned when the operation is successful.