Skip to content

Commit 3ed272e

Browse files
Update quick-start.mdx (#907)
Changed example endpoints to https://token-api.thegraph.com/ instead of https://token-api.service.pinax.network
1 parent a10724a commit 3ed272e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/src/pages/en/token-api/quick-start.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const options = {
4141
},
4242
}
4343

44-
fetch(`https://token-api.service.pinax.network/balances/evm/${address}`, options)
44+
fetch(`https://token-api.thegraph.com/balances/evm/${address}`, options)
4545
.then((response) => response.json())
4646
.then((response) => console.log(response))
4747
.catch((err) => console.error(err))
@@ -55,7 +55,7 @@ To make an API request using **cURL**, open your command line and run the follow
5555

5656
```curl
5757
curl --request GET \
58-
--url https://token-api.service.pinax.network/balances/evm/0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208 \
58+
--url https://token-api.thegraph.com/balances/evm/0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208 \
5959
--header 'Accept: application/json' \
6060
--header 'Authorization: Bearer <token>'
6161
```
@@ -69,7 +69,7 @@ Make sure to replace `<token>` with the JWT Token generated from your API key.
6969
If the API call fails, try printing out the full response object for additional error details. For example:
7070

7171
```js label="index.js"
72-
fetch(`https://token-api.service.pinax.network/balances/evm/${address}`, options)
72+
fetch(`https://token-api.thegraph.com/balances/evm/${address}`, options)
7373
.then((response) => {
7474
console.log('Status Code:', response.status)
7575
return response.json()

0 commit comments

Comments
 (0)