From b28ec32e18dc578ca292258159c86c43d0eddd98 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Mon, 29 Jun 2020 14:10:25 -0600 Subject: [PATCH] Update transaction encoding docs (#10833) --- docs/src/apps/jsonrpc-api.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/src/apps/jsonrpc-api.md b/docs/src/apps/jsonrpc-api.md index e373d32946..6afaeeefb5 100644 --- a/docs/src/apps/jsonrpc-api.md +++ b/docs/src/apps/jsonrpc-api.md @@ -279,7 +279,9 @@ Returns identity and transaction information about a confirmed block in the ledg #### Parameters: * `` - slot, as u64 integer -* `` - (optional) encoding for each returned Transaction, either "json" or "binary". If not provided, the default encoding is JSON. +* `` - (optional) encoding for each returned Transaction, either "json", "jsonParsed", or "binary". + Parsed-JSON encoding attempts to use program-specific instruction parsers to return more human-readable and explicit program data. + If parameter not provided, the default encoding is JSON. #### Results: @@ -398,7 +400,9 @@ Returns transaction details for a confirmed transaction #### Parameters: * `` - transaction signature as base-58 encoded string -* `` - (optional) encoding for the returned Transaction, either "json" or "binary". If not provided, the default encoding is JSON. +* `` - (optional) encoding for the returned Transaction, either "json", "jsonParsed", or "binary". + Parsed-JSON encoding attempts to use program-specific instruction parsers to return more human-readable and explicit program data. + If parameter not provided, the default encoding is JSON. #### Results: