File tree Expand file tree Collapse file tree 2 files changed +36
-19
lines changed Expand file tree Collapse file tree 2 files changed +36
-19
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ export const API_IDS = ['tokenApi'] as const
9
9
export const APIS = {
10
10
tokenApi : {
11
11
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
13
14
document : tokenApi as OpenAPIV3_1 . Document ,
14
15
sections : {
15
16
EVM : '/token-api/evm' ,
Original file line number Diff line number Diff line change 3
3
"info" : {
4
4
"title" : " Token API (Beta)" ,
5
5
"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 )"
7
7
},
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" : [],
18
9
"components" : {
19
10
"securitySchemes" : {
20
11
"bearerAuth" : {
79
70
"type" : " string" ,
80
71
"enum" : [
81
72
" arbitrum-one" ,
73
+ " avalanche" ,
82
74
" base" ,
83
75
" bsc" ,
84
76
" mainnet" ,
158
150
"type" : " string" ,
159
151
"enum" : [
160
152
" arbitrum-one" ,
153
+ " avalanche" ,
161
154
" base" ,
162
155
" bsc" ,
163
156
" mainnet" ,
260
253
"type" : " string" ,
261
254
"enum" : [
262
255
" arbitrum-one" ,
256
+ " avalanche" ,
263
257
" base" ,
264
258
" bsc" ,
265
259
" mainnet" ,
313
307
"contract_creator" : " 0xe9da256a28630efdc637bfd4c65f0887be1aeda8" ,
314
308
"name" : " PudgyPenguins" ,
315
309
"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 ,
320
314
"network_id" : " mainnet"
321
315
}
322
316
]
348
342
"type" : " string" ,
349
343
"enum" : [
350
344
" arbitrum-one" ,
345
+ " avalanche" ,
351
346
" base" ,
352
347
" bsc" ,
353
348
" mainnet" ,
440
435
"type" : " string" ,
441
436
"enum" : [
442
437
" arbitrum-one" ,
438
+ " avalanche" ,
443
439
" base" ,
444
440
" bsc" ,
445
441
" mainnet" ,
554
550
"type" : " string" ,
555
551
"enum" : [
556
552
" arbitrum-one" ,
553
+ " avalanche" ,
557
554
" base" ,
558
555
" bsc" ,
559
556
" mainnet" ,
710
707
"type" : " string" ,
711
708
"enum" : [
712
709
" arbitrum-one" ,
710
+ " avalanche" ,
713
711
" base" ,
714
712
" bsc" ,
715
713
" mainnet" ,
882
880
"type" : " string" ,
883
881
"enum" : [
884
882
" arbitrum-one" ,
883
+ " avalanche" ,
885
884
" base" ,
886
885
" bsc" ,
887
886
" mainnet" ,
961
960
"type" : " string" ,
962
961
"enum" : [
963
962
" arbitrum-one" ,
963
+ " avalanche" ,
964
964
" base" ,
965
965
" bsc" ,
966
966
" mainnet" ,
1100
1100
"type" : " string" ,
1101
1101
"enum" : [
1102
1102
" arbitrum-one" ,
1103
+ " avalanche" ,
1103
1104
" base" ,
1104
1105
" bsc" ,
1105
1106
" mainnet" ,
1279
1280
"type" : " string" ,
1280
1281
"enum" : [
1281
1282
" arbitrum-one" ,
1283
+ " avalanche" ,
1282
1284
" base" ,
1283
1285
" bsc" ,
1284
1286
" mainnet" ,
1375
1377
"type" : " string" ,
1376
1378
"enum" : [
1377
1379
" arbitrum-one" ,
1380
+ " avalanche" ,
1378
1381
" base" ,
1379
1382
" bsc" ,
1380
1383
" mainnet" ,
1473
1476
"type" : " string" ,
1474
1477
"enum" : [
1475
1478
" arbitrum-one" ,
1479
+ " avalanche" ,
1476
1480
" base" ,
1477
1481
" bsc" ,
1478
1482
" mainnet" ,
1555
1559
"type" : " string" ,
1556
1560
"enum" : [
1557
1561
" arbitrum-one" ,
1562
+ " avalanche" ,
1558
1563
" base" ,
1559
1564
" bsc" ,
1560
1565
" mainnet" ,
1712
1717
"type" : " string" ,
1713
1718
"enum" : [
1714
1719
" arbitrum-one" ,
1720
+ " avalanche" ,
1715
1721
" base" ,
1716
1722
" bsc" ,
1717
1723
" mainnet" ,
1827
1833
"type" : " string" ,
1828
1834
"enum" : [
1829
1835
" arbitrum-one" ,
1836
+ " avalanche" ,
1830
1837
" base" ,
1831
1838
" bsc" ,
1832
1839
" mainnet" ,
1883
1890
"type" : " string" ,
1884
1891
"enum" : [
1885
1892
" arbitrum-one" ,
1893
+ " avalanche" ,
1886
1894
" base" ,
1887
1895
" bsc" ,
1888
1896
" mainnet" ,
1979
1987
"type" : " string" ,
1980
1988
"enum" : [
1981
1989
" arbitrum-one" ,
1990
+ " avalanche" ,
1982
1991
" base" ,
1983
1992
" bsc" ,
1984
1993
" mainnet" ,
2074
2083
"type" : " string" ,
2075
2084
"enum" : [
2076
2085
" arbitrum-one" ,
2086
+ " avalanche" ,
2077
2087
" base" ,
2078
2088
" bsc" ,
2079
2089
" mainnet" ,
2264
2274
"type" : " string" ,
2265
2275
"enum" : [
2266
2276
" arbitrum-one" ,
2277
+ " avalanche" ,
2267
2278
" base" ,
2268
2279
" bsc" ,
2269
2280
" mainnet" ,
2433
2444
"type" : " string" ,
2434
2445
"enum" : [
2435
2446
" arbitrum-one" ,
2447
+ " avalanche" ,
2436
2448
" base" ,
2437
2449
" bsc" ,
2438
2450
" mainnet" ,
2574
2586
"type" : " string" ,
2575
2587
"enum" : [
2576
2588
" arbitrum-one" ,
2589
+ " avalanche" ,
2577
2590
" base" ,
2578
2591
" bsc" ,
2579
2592
" mainnet" ,
2760
2773
"type" : " string" ,
2761
2774
"enum" : [
2762
2775
" arbitrum-one" ,
2776
+ " avalanche" ,
2763
2777
" base" ,
2764
2778
" bsc" ,
2765
2779
" mainnet" ,
2953
2967
"type" : " string" ,
2954
2968
"enum" : [
2955
2969
" arbitrum-one" ,
2970
+ " avalanche" ,
2956
2971
" base" ,
2957
2972
" bsc" ,
2958
2973
" mainnet" ,
3161
3176
"type" : " string" ,
3162
3177
"enum" : [
3163
3178
" arbitrum-one" ,
3179
+ " avalanche" ,
3164
3180
" base" ,
3165
3181
" bsc" ,
3166
3182
" mainnet" ,
3374
3390
]
3375
3391
},
3376
3392
"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 " ,
3380
3396
"repo" : " pinax-network/token-api"
3381
3397
}
3382
3398
}
You can’t perform that action at this time.
0 commit comments