Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2845] Added eea_getPrivateTransaction #1729

Merged

Conversation

MadelineMurray
Copy link
Contributor

Added eea_getPrivateTransaction

@MadelineMurray MadelineMurray changed the title Added eea_getPrivateTransaction [PAN-2845] Added eea_getPrivateTransaction Jul 21, 2019

**Returns**

Object - [Transaction object](Pantheon-API-Objects.md#transaction-object), or `null` if not a participant in the private transaction.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not a Transaction object as specified in Pantheon-API-Objects.md

I think we should specify a Private Transaction object and link it here

@@ -3771,6 +3771,56 @@ None
The `EEA` API methods are not enabled by default for JSON-RPC. Use the [`--rpc-http-api`](Pantheon-CLI-Syntax.md#rpc-http-api)
or [`--rpc-ws-api`](Pantheon-CLI-Syntax.md#rpc-ws-api) options to enable the `EEA` API methods.

### eea_getPrivateTransaction

Returns the private transaction if you are a participant; otherwise, null. Get the public transaction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion, maybe make this a new paragraph.
"To get the public transaction, use.."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

| **hash** | Data, 32 bytes | Hash of the transaction. |
| **input** | Data | Data to create or invoke contract. |
| **nonce** | Quantity | Number of transactions made by the sender to the privacy group before this one. |
| **to** | Data, 20 bytes | `null` if a contract creation transaction; otherwise, contract address |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few missing fullstops in the table

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's consistent with the rest of the tables. We can revisit this on the wider basis when we look at the style guide

Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions only.

Copy link
Contributor

@iikirilov iikirilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MadelineMurray MadelineMurray merged commit 85b9f6c into PegaSysEng:master Jul 25, 2019
@MadelineMurray MadelineMurray deleted the eeaGetPrivateTransaction branch July 25, 2019 10:14
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Jul 26, 2019
MadelineMurray added a commit to MadelineMurray/pantheon that referenced this pull request Jul 28, 2019
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Jul 28, 2019
rain-on pushed a commit to rain-on/pantheon that referenced this pull request Jul 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants