Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit ed71328

Browse files
0xAstenjoncinque
andauthored
Change the token number to 0.75 for clarity
Co-authored-by: Jon C <[email protected]>
1 parent 9696d03 commit ed71328

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/src/token-2022.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ Token-2022 are a strict superset of Token.
4343
### Instructions
4444

4545
Token-2022 supports the exact same instruction layouts as Token, byte for
46-
byte. For example, if you want to transfer 1 tokens on a mint with 2 decimals,
47-
you create a `TransferChecked` instruction, with this byte-represented data:
46+
byte. For example, if you want to transfer 0.75 tokens in UI amount, on a mint with 2 decimals,
47+
then the transfer amount is 75 tokens. You create a `TransferChecked` instruction, with
48+
this byte-represented data:
4849

4950
```
5051
[12, 100, 0, 0, 0, 0, 0, 0, 0, 2]

0 commit comments

Comments
 (0)