Skip to content

Commit e28a3c4

Browse files
committed
Update to use production
1 parent 1a9ab4c commit e28a3c4

7 files changed

Lines changed: 16 additions & 8 deletions

File tree

website/src/openApi/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@ export const API_IDS = ['tokenApi'] as const
99
export const APIS: Record<ApiId, ApiConfig> = {
1010
tokenApi: {
1111
name: 'Token API',
12-
// url: 'https://token-api.thegraph.com/openapi', // production
13-
url: 'https://token-api.service.stage.pinax.network/openapi', // staging
12+
url: 'https://token-api.thegraph.com/openapi', // production
13+
// url: 'https://token-api.service.stage.pinax.network/openapi', // staging
1414
document: tokenApi as OpenAPIV3_1.Document,
1515
sections: {
1616
'SVM Tokens': {
1717
path: '/token-api/svm-tokens',
1818
operationIdPrefixes: ['getV1Svm'],
1919
},
20+
'SVM Tokens (Native)': {
21+
path: '/token-api/svm-tokens-native',
22+
operationIdPrefixes: ['getV1Svm'],
23+
},
2024
'SVM DEXs': {
2125
path: '/token-api/svm-dexs',
2226
operationIdPrefixes: ['getV1Svm'],

website/src/openApi/tokenApi.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"info": {
44
"title": "Token API",
55
"description": "Power your apps & AI agents with real-time token data.",
6-
"version": "3.7.2+71352c9 (2026-01-29)"
6+
"version": "3.8.0+bbff1ca (2026-01-29)"
77
},
88
"servers": [
99
{
10-
"url": "https://token-api.service.stage.pinax.network/",
10+
"url": "https://token-api.thegraph.com/",
1111
"description": "Token API - Remote"
1212
}
1313
],
@@ -12864,7 +12864,7 @@
1286412864
"summary": "Native Balances",
1286512865
"description": "Returns SOL native balances for wallet addresses.",
1286612866
"tags": [
12867-
"SVM Tokens"
12867+
"SVM Tokens (Native)"
1286812868
],
1286912869
"security": [
1287012870
{
@@ -24891,8 +24891,8 @@
2489124891
"examples": {
2489224892
"example": {
2489324893
"value": {
24894-
"version": "3.7.2",
24895-
"commit": "71352c9",
24894+
"version": "3.8.0",
24895+
"commit": "bbff1ca",
2489624896
"date": "2026-01-29",
2489724897
"repo": "pinax-network/token-api"
2489824898
}

website/src/pages/en/token-api/_meta-titles.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"svm-tokens": "SVM Token Endpoints",
3+
"svm-tokens-native": "SVM Token Endpoints (Native)",
34
"svm-dexs": "SVM DEX Endpoints",
45
"evm-tokens": "EVM Token Endpoints (ERC-20)",
56
"evm-tokens-native": "EVM Token Endpoints (Native)",

website/src/pages/en/token-api/_meta.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import titles from './_meta-titles.json'
33
export default {
44
'quick-start': '',
55
'svm-tokens': titles['svm-tokens'] ?? '',
6+
'svm-tokens-native': titles['svm-tokens-native'] ?? '',
67
'svm-dexs': titles['svm-dexs'] ?? '',
78
'evm-tokens': titles['evm-tokens'] ?? '',
89
'evm-tokens-native': titles['evm-tokens-native'] ?? '',
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
'balances-native': '',
3+
}

website/src/pages/en/token-api/svm-tokens/balances-native.mdx renamed to website/src/pages/en/token-api/svm-tokens-native/balances-native.mdx

File renamed without changes.

website/src/pages/en/token-api/svm-tokens/_meta.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ export default {
33
transfers: '',
44
holders: '',
55
balances: '',
6-
'balances-native': '',
76
owner: '',
87
}

0 commit comments

Comments
 (0)