Skip to content

Commit

Permalink
Update transaction encoding docs (#10833)
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots authored Jun 29, 2020
1 parent 17a2128 commit b28ec32
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/src/apps/jsonrpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ Returns identity and transaction information about a confirmed block in the ledg
#### Parameters:

* `<u64>` - slot, as u64 integer
* `<string>` - (optional) encoding for each returned Transaction, either "json" or "binary". If not provided, the default encoding is JSON.
* `<string>` - (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:

Expand Down Expand Up @@ -398,7 +400,9 @@ Returns transaction details for a confirmed transaction
#### Parameters:

* `<string>` - transaction signature as base-58 encoded string
* `<string>` - (optional) encoding for the returned Transaction, either "json" or "binary". If not provided, the default encoding is JSON.
* `<string>` - (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:

Expand Down

0 comments on commit b28ec32

Please sign in to comment.