Find Oracle Summary by ID
Retrieves summary information about an oracle with the specified ID and integration code.
Request
GET /v2/admin/oracles/{oracleID}/summary
Parameters
| Name | Type | In | Description |
|---|---|---|---|
oracleID | string | path | Required. The ID of the oracle to retrieve summary for |
code | string | query | Required. The integration code identifier |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Example
curl --location '{{baseUrl}}/v2/admin/oracles/677ed6e3cc111aea14a3dfc3/summary?code=IOG' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Response
{
"name": "İŞ PORTFÖY GÜMÜŞ SERBEST FON",
"code": "IOG",
"description": "TEFAS Gümüş Fonu",
"total_value": {
"id": "68fe8c129367fd414b227c7a",
"amount": 9724632629.88,
"decimal": 6,
"symbol": "ISCN",
"address": "0x073c0196e516a0e77b1c804d1825fb1bad23895d"
},
"per_price": {
"id": "68fe8c129367fd414b227c7a",
"amount": 9.951079,
"decimal": 6,
"symbol": "ISCN",
"address": "0x073c0196e516a0e77b1c804d1825fb1bad23895d"
},
"total_supply": 977244083
}
Response Fields
| Field | Type | Description |
|---|---|---|
name | string | Name of the oracle |
code | string | Integration code identifier |
description | string | Description of the oracle |
total_value | object | Total value information |
total_value.id | string | Currency token ID |
total_value.amount | number | Total value amount |
total_value.decimal | integer | Number of decimal places |
total_value.symbol | string | Currency symbol (e.g., "ISCN") |
total_value.address | string | Contract address of the currency token |
per_price | object | Price per unit information |
per_price.id | string | Currency token ID |
per_price.amount | number | Price per unit amount |
per_price.decimal | integer | Number of decimal places |
per_price.symbol | string | Currency symbol (e.g., "ISCN") |
per_price.address | string | Contract address of the currency token |
total_supply | number | Total supply amount |
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Oracle summary retrieved successfully |
| 400 | Bad Request - Invalid oracle ID or code parameter |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Oracle does not exist |
| 500 | Internal Server Error |