Docs
asynchronous
bulkSignAndWait

Description

Send a request to bulk sign an array of transactions.

💡

This method will only SIGN the array of proposed transactions. This method will NOT submit anything to the XRP Ledger, and should be considered incomplete. If you would like to complete the transactions, refer to bulkSubmit with the signed tx blobs.


Usage

  await sdk.bulkSignAndWait(txns: SignTransaction[], opts?: SignOpts)

Parameters

txns: SignTransaction[]

See here (opens in a new tab) for SignTransaction typing.

opts: { description?: string }

See here (opens in a new tab) for SignOpts typing.


Response

request: BaseRequest;
// request structure will vary depending on the type of the request
response: BaseResponse;
// response structure will vary depending on the type of the request
createdAt: number; // unix;
resolvedAt: number; // unix;

Example

let { 
  request,
  response,
  createdAt, 
  resolvedAt } = await sdk.bulkSignAndWait(
      {
        TransactionType: 'Payment',
        Account: signInResp.response.address,
        Destination: [insert destination address here]
        Amount: "1000000" // XRP in drops
      }
    );
 
console.log( request, response, createdAt, resolvedAt );