Skip to content

Commit 1e0ce00

Browse files
committed
Update Token API from staging OpenAPI JSON
1 parent e09ad5a commit 1e0ce00

File tree

2 files changed

+36
-19
lines changed

2 files changed

+36
-19
lines changed

website/src/openApi/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ export const API_IDS = ['tokenApi'] as const
99
export const APIS = {
1010
tokenApi: {
1111
name: 'Token API',
12-
url: 'https://token-api.thegraph.com/openapi',
12+
url: 'https://token-api.thegraph.com/openapi', // production
13+
// url: 'https://token-api.service.stage.pinax.network/openapi', // staging
1314
document: tokenApi as OpenAPIV3_1.Document,
1415
sections: {
1516
EVM: '/token-api/evm',

website/src/openApi/tokenApi.json

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,9 @@
33
"info": {
44
"title": "Token API (Beta)",
55
"description": "Power your apps & AI agents with real-time token data.",
6-
"version": "1.6.0+00ef1be (2025-05-29)"
6+
"version": "1.6.2+a82a86b (2025-06-05)"
77
},
8-
"servers": [
9-
{
10-
"url": "https://token-api.thegraph.com",
11-
"description": "Token API - Production"
12-
},
13-
{
14-
"url": "http://localhost:8000",
15-
"description": "Token API - Local"
16-
}
17-
],
8+
"servers": [],
189
"components": {
1910
"securitySchemes": {
2011
"bearerAuth": {
@@ -79,6 +70,7 @@
7970
"type": "string",
8071
"enum": [
8172
"arbitrum-one",
73+
"avalanche",
8274
"base",
8375
"bsc",
8476
"mainnet",
@@ -158,6 +150,7 @@
158150
"type": "string",
159151
"enum": [
160152
"arbitrum-one",
153+
"avalanche",
161154
"base",
162155
"bsc",
163156
"mainnet",
@@ -260,6 +253,7 @@
260253
"type": "string",
261254
"enum": [
262255
"arbitrum-one",
256+
"avalanche",
263257
"base",
264258
"bsc",
265259
"mainnet",
@@ -313,10 +307,10 @@
313307
"contract_creator": "0xe9da256a28630efdc637bfd4c65f0887be1aeda8",
314308
"name": "PudgyPenguins",
315309
"symbol": "PPG",
316-
"owners": 12284,
317-
"total_supply": 29064,
318-
"total_unique_supply": 29064,
319-
"total_transfers": 186252,
310+
"owners": 12258,
311+
"total_supply": 8888,
312+
"total_unique_supply": 8888,
313+
"total_transfers": 185128,
320314
"network_id": "mainnet"
321315
}
322316
]
@@ -348,6 +342,7 @@
348342
"type": "string",
349343
"enum": [
350344
"arbitrum-one",
345+
"avalanche",
351346
"base",
352347
"bsc",
353348
"mainnet",
@@ -440,6 +435,7 @@
440435
"type": "string",
441436
"enum": [
442437
"arbitrum-one",
438+
"avalanche",
443439
"base",
444440
"bsc",
445441
"mainnet",
@@ -554,6 +550,7 @@
554550
"type": "string",
555551
"enum": [
556552
"arbitrum-one",
553+
"avalanche",
557554
"base",
558555
"bsc",
559556
"mainnet",
@@ -710,6 +707,7 @@
710707
"type": "string",
711708
"enum": [
712709
"arbitrum-one",
710+
"avalanche",
713711
"base",
714712
"bsc",
715713
"mainnet",
@@ -882,6 +880,7 @@
882880
"type": "string",
883881
"enum": [
884882
"arbitrum-one",
883+
"avalanche",
885884
"base",
886885
"bsc",
887886
"mainnet",
@@ -961,6 +960,7 @@
961960
"type": "string",
962961
"enum": [
963962
"arbitrum-one",
963+
"avalanche",
964964
"base",
965965
"bsc",
966966
"mainnet",
@@ -1100,6 +1100,7 @@
11001100
"type": "string",
11011101
"enum": [
11021102
"arbitrum-one",
1103+
"avalanche",
11031104
"base",
11041105
"bsc",
11051106
"mainnet",
@@ -1279,6 +1280,7 @@
12791280
"type": "string",
12801281
"enum": [
12811282
"arbitrum-one",
1283+
"avalanche",
12821284
"base",
12831285
"bsc",
12841286
"mainnet",
@@ -1375,6 +1377,7 @@
13751377
"type": "string",
13761378
"enum": [
13771379
"arbitrum-one",
1380+
"avalanche",
13781381
"base",
13791382
"bsc",
13801383
"mainnet",
@@ -1473,6 +1476,7 @@
14731476
"type": "string",
14741477
"enum": [
14751478
"arbitrum-one",
1479+
"avalanche",
14761480
"base",
14771481
"bsc",
14781482
"mainnet",
@@ -1555,6 +1559,7 @@
15551559
"type": "string",
15561560
"enum": [
15571561
"arbitrum-one",
1562+
"avalanche",
15581563
"base",
15591564
"bsc",
15601565
"mainnet",
@@ -1712,6 +1717,7 @@
17121717
"type": "string",
17131718
"enum": [
17141719
"arbitrum-one",
1720+
"avalanche",
17151721
"base",
17161722
"bsc",
17171723
"mainnet",
@@ -1827,6 +1833,7 @@
18271833
"type": "string",
18281834
"enum": [
18291835
"arbitrum-one",
1836+
"avalanche",
18301837
"base",
18311838
"bsc",
18321839
"mainnet",
@@ -1883,6 +1890,7 @@
18831890
"type": "string",
18841891
"enum": [
18851892
"arbitrum-one",
1893+
"avalanche",
18861894
"base",
18871895
"bsc",
18881896
"mainnet",
@@ -1979,6 +1987,7 @@
19791987
"type": "string",
19801988
"enum": [
19811989
"arbitrum-one",
1990+
"avalanche",
19821991
"base",
19831992
"bsc",
19841993
"mainnet",
@@ -2074,6 +2083,7 @@
20742083
"type": "string",
20752084
"enum": [
20762085
"arbitrum-one",
2086+
"avalanche",
20772087
"base",
20782088
"bsc",
20792089
"mainnet",
@@ -2264,6 +2274,7 @@
22642274
"type": "string",
22652275
"enum": [
22662276
"arbitrum-one",
2277+
"avalanche",
22672278
"base",
22682279
"bsc",
22692280
"mainnet",
@@ -2433,6 +2444,7 @@
24332444
"type": "string",
24342445
"enum": [
24352446
"arbitrum-one",
2447+
"avalanche",
24362448
"base",
24372449
"bsc",
24382450
"mainnet",
@@ -2574,6 +2586,7 @@
25742586
"type": "string",
25752587
"enum": [
25762588
"arbitrum-one",
2589+
"avalanche",
25772590
"base",
25782591
"bsc",
25792592
"mainnet",
@@ -2760,6 +2773,7 @@
27602773
"type": "string",
27612774
"enum": [
27622775
"arbitrum-one",
2776+
"avalanche",
27632777
"base",
27642778
"bsc",
27652779
"mainnet",
@@ -2953,6 +2967,7 @@
29532967
"type": "string",
29542968
"enum": [
29552969
"arbitrum-one",
2970+
"avalanche",
29562971
"base",
29572972
"bsc",
29582973
"mainnet",
@@ -3161,6 +3176,7 @@
31613176
"type": "string",
31623177
"enum": [
31633178
"arbitrum-one",
3179+
"avalanche",
31643180
"base",
31653181
"bsc",
31663182
"mainnet",
@@ -3374,9 +3390,9 @@
33743390
]
33753391
},
33763392
"example": {
3377-
"version": "1.6.0",
3378-
"commit": "00ef1be",
3379-
"date": "2025-05-29",
3393+
"version": "1.6.2",
3394+
"commit": "a82a86b",
3395+
"date": "2025-06-05",
33803396
"repo": "pinax-network/token-api"
33813397
}
33823398
}

0 commit comments

Comments
 (0)