Skip to content

Commit

Permalink
chore: update api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangVD2 committed Apr 10, 2024
1 parent 905a0e5 commit 9736c63
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions gas-tank/gas-tank-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The Gas Tank is a versatile platform that empowers users to manage gas tank balances seamlessly across different blockchain networks. This project facilitates actions such as depositing, withdrawing, internal transferring, and consuming gas tank balances, allowing users to efficiently utilize their resources on EVM, Cosmos-like, and UTXO chains. With support for multiple blockchain environments, The Gas Tank offers users a unified solution for gas utilization across diverse networks.

The base URL for all Gas Tank API is: https://gas-tank.xdefiservices.com
The base URL for all Gas Tank API is: https://gas-tank.xdefi.services

Below are the available services provided by the Gas Tank API. To use the Gas Tank API, you need to have Authorization Token.

Expand All @@ -15,7 +15,7 @@ This endpoint facilitates the generation of JWT tokens for multiple wallet addre
::: code-group

```javascript [Login]
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";

await fetch(`${GAS_TANK_ENDPOINT}/v2/auth/login`, {
method: "POST",
Expand Down Expand Up @@ -51,7 +51,7 @@ Clients can use this endpoint to obtain a new JWT token without re-authenticatin
::: code-group

```javascript [Resfresh Token]
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";

await fetch(`${GAS_TANK_ENDPOINT}/v2/auth/refresh`, {
method: "POST",
Expand Down Expand Up @@ -79,7 +79,7 @@ await fetch(`${GAS_TANK_ENDPOINT}/v2/auth/refresh`, {
::: code-group

```javascript [Get All Tokens]
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";

await fetch(`${GAS_TANK_ENDPOINT}/chains/tokens`, {
method: "GET",
Expand All @@ -97,7 +97,7 @@ await fetch(`${GAS_TANK_ENDPOINT}/chains/tokens`, {
::: code-group

```javascript [Get Chains Status]
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -107,7 +107,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -119,7 +119,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -129,7 +129,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -139,7 +139,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -149,7 +149,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -159,7 +159,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -169,7 +169,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -179,7 +179,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -189,7 +189,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -199,7 +199,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -209,7 +209,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -219,7 +219,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -229,7 +229,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -239,7 +239,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -249,7 +249,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -259,7 +259,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -269,7 +269,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -279,7 +279,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -291,7 +291,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand All @@ -301,7 +301,7 @@ const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
::: code-group

```javascript []
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefiservices.com";
const GAS_TANK_ENDPOINT = "https://gas-tank.xdefi.services";
```

:::
Expand Down

0 comments on commit 9736c63

Please sign in to comment.