For more details about the Private Transaction manager
Methods
(inner) keys()
Returns:
all public keys managed by the server's enclave
(inner) partyInfoKeys()
Returns:
public keys of all known nodes in the network, including the server's own keys
(inner) send(options)
Calls Tessera’s ThirdParty /send API to encrypts a payload, stores result in database, and publishes result to recipients.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Returns:
A promise that resolves to the hex-encoded hash of the encrypted data (key field) that should be used to replace the data field of a transaction if externally signing.
(inner) storeRaw(options)
Calls Tessera’s ThirdParty /storeraw API to encrypt the provided data and store in preparation for a eth_sendRawPrivateTransaction.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Returns:
A promise that resolves to the hex-encoded hash of the encrypted data (key field) that should be used to replace the data field of a transaction if externally signing.
(inner) upCheck()
Returns:
"I'm up!"