Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

v1.16: [docs] clarified jsonParsed fallback encoding for simulateTransaction (backport of #33324) #33327

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/api/methods/_simulateTransaction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ encoding for returned Account data

- `jsonParsed` encoding attempts to use program-specific state
parsers to return more human-readable and explicit account state data.
- If `jsonParsed` is requested but a parser cannot be found, the field falls
back to binary encoding, detectable when the `data` field is type `string`.
- If `jsonParsed` is requested but a [parser cannot be found](https://github.com/solana-labs/solana/blob/cfd0a00ae2ba85a6d76757df8b4fa38ed242d185/account-decoder/src/parse_account_data.rs#L98-L100), the field falls
back to `base64` encoding, detectable when the returned `accounts.data` field is type `string`.

</details>

Expand Down