-
Notifications
You must be signed in to change notification settings - Fork 130
[PAN-2845] Added eea_getPrivateTransaction #1729
[PAN-2845] Added eea_getPrivateTransaction #1729
Conversation
|
||
**Returns** | ||
|
||
Object - [Transaction object](Pantheon-API-Objects.md#transaction-object), or `null` if not a participant in the private transaction. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.."
There was a problem hiding this comment.
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 | |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestions only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added eea_getPrivateTransaction