Queries..::..GetTx Method

Returns a transaction with a txhash. hash is a 64 character upper-case hex string.

Namespace:  SecretNET.Query
Assembly:  SecretNET (in SecretNET.dll)

Syntax


public Task<SecretTx> GetTx(
	string hash,
	bool tryToDecrypt
)

Parameters

hash
Type: String
The hash.
tryToDecrypt
Type: Boolean
if set to true the client tries to decrypt the tx data (works only if the tx was created in the same session / client instance or if the same CreateClientOptions.EncryptionSeed is used).

Return Value

SecretTx.