You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -117,7 +118,7 @@ Returns the unencrypted payload from Tessera/constellation
117
118
118
119
##### Parameters
119
120
120
-
Transaction payload hash in Hex format
121
+
1.`id`: `String` - the HEX formatted generated Sha3-512 hash of the encrypted payload from the Private Transaction Manager. This is seen in the transaction as the `input` field
Sends a transaction to the network asynchronously. This will return
155
+
immediately, potentially before the transaction has been submitted to the
156
+
transaction pool. A callback can be provided to receive the result of
157
+
submitting the transaction; a server must be set up to receive POST requests
158
+
at the given URL.
159
+
160
+
##### Parameters
161
+
162
+
1.`Object` - The transaction object to send:
163
+
-`from`: `String` - The address for the sending account. Uses the `web3.eth.defaultAccount` property, if not specified.
164
+
-`to`: `String` - (optional) The destination address of the message, left undefined for a contract-creation transaction.
165
+
-`value`: `Number|String|BigNumber` - (optional) The value transferred for the transaction in Wei, also the endowment if it's a contract-creation transaction.
166
+
-`gas`: `Number|String|BigNumber` - (optional, default: To-Be-Determined) The amount of gas to use for the transaction (unused gas is refunded).
167
+
- <strike>`gasPrice`: `Number|String|BigNumber` - (optional, default: To-Be-Determined) The price of gas for this transaction in wei, defaults to the mean network gas price.</strike>
168
+
-`data`: `String` - (optional) Either a [byte string](https://github.com/ethereum/wiki/wiki/Solidity,-Docs-and-ABI) containing the associated data of the message, or in the case of a contract-creation transaction, the initialisation code.
169
+
-`nonce`: `Number` - (optional) Integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce.
170
+
-`privateFrom`: `String` - (optional) When sending a private transaction, the sending party's base64-encoded public key to use. If not present *and* passing `privateFor`, use the default key as configured in the `TransactionManager`.
171
+
-`privateFor`: `List<String>` - (optional) When sending a private transaction, an array of the recipients' base64-encoded public keys.
172
+
-`callbackUrl`: `String` - (optional) the URL to perform a POST request to to post the result of submitted the transaction
173
+
174
+
##### Returns
175
+
176
+
1.`String` - The empty hash, defined as `0x0000000000000000000000000000000000000000000000000000000000000000`
177
+
178
+
The callback URL receives the following object:
179
+
180
+
2.`Object` - The result object:
181
+
-`id`: `String` - the identifier in the original RPC call, used to match this result to the request
182
+
-`txHash`: `String` - the transaction hash that was generated, if successful
183
+
-`error`: `String` - the error that occurred whilst submitting the transaction.
184
+
185
+
If the transaction was a contract creation use `web3.eth.getTransactionReceipt()` to get the contract address, after the transaction was mined.
0 commit comments