Fix token-balance owner type in docs (#22240) (#22242)

(cherry picked from commit 9029b46570)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
mergify[bot]
2022-01-03 18:28:54 +00:00
committed by GitHub
parent 735f000952
commit 478c641cb5

View File

@ -589,7 +589,7 @@ The JSON structure of token balances is defined as a list of objects in the foll
- `accountIndex: <number>` - Index of the account in which the token balance is provided for. - `accountIndex: <number>` - Index of the account in which the token balance is provided for.
- `mint: <string>` - Pubkey of the token's mint. - `mint: <string>` - Pubkey of the token's mint.
- `owner: <string>` - Pubkey of token balance's owner. - `owner: <string | undefined>` - Pubkey of token balance's owner.
- `uiTokenAmount: <object>` - - `uiTokenAmount: <object>` -
- `amount: <string>` - Raw amount of tokens as a string, ignoring decimals. - `amount: <string>` - Raw amount of tokens as a string, ignoring decimals.
- `decimals: <number>` - Number of decimals configured for token's mint. - `decimals: <number>` - Number of decimals configured for token's mint.