Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangVD2 committed Apr 26, 2024
1 parent 09c7ab5 commit dad86ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions gas-tank/balance-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ await fetch(`${GAS_TANK_ENDPOINT}/balances/totals`, {

This endpoint allows users to increase their balance on the Gas Tank platform.

To increase the balance, you need to sign the message with the private key of the address you want to increase the balance for. `v`, `r`, `s` are the signature fields of the message signed by the address owner.

::: code-group

```javascript [Request]
Expand Down Expand Up @@ -159,6 +161,8 @@ await fetch(`${GAS_TANK_ENDPOINT}/balances/increase`, {

This endpoint allows users to withdraw their balance from the Gas Tank platform.

To withdraw the balance, you need to sign the message with the private key of the address you want to withdraw the balance from. The `signature` field is the signature of the message signed by the address owner.

::: code-group

```javascript [Request]
Expand Down Expand Up @@ -229,6 +233,8 @@ await fetch(`${GAS_TANK_ENDPOINT}/balances/transfer`, {

This endpoint allows users to consume their balance on the Gas Tank platform.

To consume the balance, you need to sign the message with the private key of the address you want to consume the balance from. The `signature` field is the signature of the message signed by the address owner.

::: code-group

```javascript [Request]
Expand Down
4 changes: 2 additions & 2 deletions gas-tank/other-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ await fetch(`${GAS_TANK_ENDPOINT}/balances/info`, {

:::

### Check the health status of the application
### Check the status of the application

This endpoint provides information about the health status of the Gas Tank application.
This endpoint provides information about the status of the Gas Tank application and its dependencies.

::: code-group

Expand Down

0 comments on commit dad86ce

Please sign in to comment.