Class BatchSigningHelper
Helper methods for batch transaction signing operations.
For general signer utilities, see SignerUtilities.
Inheritance
object
BatchSigningHelper
Assembly: Xrpl.dll
Syntax
public static class BatchSigningHelper
Methods
|
Edit this page
View Source
FindOrCreateBatchSigner(JsonArray, string)
Declaration
public static JsonObject FindOrCreateBatchSigner(JsonArray batchSigners, string ownerAccount)
Parameters
| Type |
Name |
Description |
| JsonArray |
batchSigners |
|
| string |
ownerAccount |
|
Returns
| Type |
Description |
| JsonObject |
|
|
Edit this page
View Source
MergeBatchSigner(JsonObject, JsonObject)
Merges an incoming BatchSigner into an existing target BatchSigner.
Handles both single-sig (SigningPubKey/TxnSignature) and multi-sig (Signers[]) cases.
Preserves the original wrapper structure of signer entries.
Declaration
public static void MergeBatchSigner(JsonObject target, JsonObject incoming)
Parameters
| Type |
Name |
Description |
| JsonObject |
target |
|
| JsonObject |
incoming |
|
|
Edit this page
View Source
PickWalletsForQuorum(LOSignerList, IDictionary<string, XrplWallet>)
Picks wallets from a dictionary that satisfy the quorum of a SignerList.
Wallets are selected by descending weight until the quorum is met.
Declaration
public static (List<XrplWallet> picked, uint totalWeight) PickWalletsForQuorum(LOSignerList signerList, IDictionary<string, XrplWallet> walletByAddr)
Parameters
Returns
| Type |
Description |
| (List<XrplWallet> picked, uint totalWeight) |
A tuple of (selected wallets, total weight achieved)
|
|
Edit this page
View Source
SortBatchSigners(JsonArray)
Declaration
public static JsonArray SortBatchSigners(JsonArray batchSigners)
Parameters
| Type |
Name |
Description |
| JsonArray |
batchSigners |
|
Returns
| Type |
Description |
| JsonArray |
|