# xrpl\_signTransactionBulk

#### Request structure:&#x20;

```typescript
{  
  txns: xrpl.Transaction[];
  fee?: xrpl.Payment;
  includesFee?: boolean;
  options?: { autofill?: boolean; submit?: boolean };
}
```

#### Usage:

```typescript
provider.request(
    {
      method: 'xrpl_signTransactionBulk',
      params: {
        txns: [], // Array of XRPL transaction objects
        fee: {}, // XRPL Payment Object
        includesFee: true
        options: { autofill: true; submit: true };
      },
    },
    chainId: 'xrpl:0' // xrpl:0, xrpl:1, xrpl:2
);
```

#### Response

```typescript
txns: xrpl.TransactionAndMetadata[];
```

#### Example using `wc-client`:

```typescript
import core from '@joey-wallet/wc-client/core';
const methods = core.methods

const response = await methods.signTransactionBulk({
  provider,
  chainId: chain,
  request: {
    txns: [
      {
        TransactionType: 'AccountSet',
        Account: 'rUmoi1vt8apeKsqFYKMRSiMvWixFDMC8Jz',
      },
      {
        TransactionType: 'AccountSet',
        Account:'rUmoi1vt8apeKsqFYKMRSiMvWixFDMC8Jz',
      },
    ],
    options: { autofill: true, submit: true },
  },
});
```
