Class HashLedger
Inheritance
object
HashLedger
Namespace: Xrpl.Utils.Hashes
Assembly: Xrpl.dll
Syntax
public class HashLedger
Methods
| Edit this page View SourceHashSignedTx(string)
Hash of a signed transaction blob: its transaction ID.
Declaration
public static string HashSignedTx(string tx)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tx | Hex of the serialized transaction. |
Returns
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| ValidationException | The transaction carries no signature fields at all. |
HashSignedTx(JsonNode)
Hash of a signed transaction: its transaction ID.
Declaration
public static string HashSignedTx(JsonNode tx)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonNode | tx | The transaction JSON. |
Returns
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| ValidationException | The transaction carries no signature fields at all. |