Show / Hide Table of Contents

Class BatchUtils

Inheritance
object
BatchUtils
Namespace: Xrpl.Models.Utils
Assembly: Xrpl.dll
Syntax
public static class BatchUtils

Methods

| Edit this page View Source

Build(string, IEnumerable<ITransactionRequest>, BatchFlags?, List<BatchSigner>?)

Превращает список произвольных «обычных» транзакций (твоих C# моделей) во внутренние RawTransactions с нужными полями для Batch (Fee= "0", SigningPubKey = "", + tfInnerBatchTxn; без TxnSignature/Signers/LastLedgerSequence).

Declaration
public static Batch Build(string account, IEnumerable<ITransactionRequest> transactions, BatchFlags? mode = null, List<BatchSigner>? batchSigners = null)
Parameters
Type Name Description
string account
IEnumerable<ITransactionRequest> transactions
BatchFlags? mode
List<BatchSigner> batchSigners
Returns
Type Description
Batch
| Edit this page View Source

GetBatchSignerAccounts(Dictionary<string, object>)

Declaration
public static BatchSignerAccounts GetBatchSignerAccounts(this Dictionary<string, object> tx)
Parameters
Type Name Description
Dictionary<string, object> tx
Returns
Type Description
BatchSignerAccounts
| Edit this page View Source

ToBatchTx(ITransactionRequest)

Declaration
public static RawTransactionWrapper ToBatchTx(this ITransactionRequest tx)
Parameters
Type Name Description
ITransactionRequest tx
Returns
Type Description
RawTransactionWrapper
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX