Skip to content

Commit

Permalink
docs(token-price): fix option description, better phrasing PE-7171
Browse files Browse the repository at this point in the history
  • Loading branch information
fedellen committed Nov 22, 2024
1 parent 9bb6ff9 commit 1db8ece
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ const { winc, actualTokenAmount, equivalentWincTokenAmount } =

#### `getTokenPriceForBytes({ bytes })`

Returns the estimated cost in instantiated token type for the provided byte amount.
Get the current price from the Turbo Payment Service, denominated in the specified token, for uploading a specified number of bytes to Turbo.

```typescript
const turbo = TurboFactory.unauthenticated({ token: 'solana' });
Expand Down Expand Up @@ -922,11 +922,11 @@ turbo price --value 1.1 --type arweave

##### `token-price`

Get the current token price estimate from Turbo Payment Service for a given value and token type.
Get the current price from the Turbo Payment Service, denominated in the specified token, for uploading a specified number of bytes to Turbo.

Command Options:

- `--value <value>` - Value to get the price for. e.g: 10.50 for $10.50 USD, 1024 for 1 KiB, 1.1 for 1.1 AR
- `--value <value>` - Byte value to get the token price for

e.g:

Expand Down

0 comments on commit 1db8ece

Please sign in to comment.