Обучение
​

Ctrl+K

Подключить

What are batch transactions?

A Batch transaction bundles up to eight XRP Ledger transactions into one, signed once. A mode decides whether they all succeed together, stop at the first failure, keep only the first success or run independently. It is live on mainnet through the BatchV1_1 amendment.

Автор: Rho Black · · 4 мин чтения

Patent-style drawing: a tray of eight sealed capsules held by one clamp bar with a mode knob, sliding into a single gate

What a batch transaction does

Normally every XRP Ledger action is its own transaction, with its own fee and signature, and each succeeds or fails on its own. If you mint an NFT and then list it, the mint can succeed while the listing fails, leaving you halfway.

A Batch transaction wraps up to eight inner transactions in one outer transaction. You sign the outer one, it pays the fee for the whole batch, and a mode you choose decides what happens if an inner transaction fails. Every inner transaction is applied in the same ledger as the batch.

The four batch modes

ModeWhat happens
All or nothingEvery inner transaction must succeed, or none of them is applied.
Only oneTransactions are tried in order and only the first one that succeeds is applied.
Until failureTransactions are applied in order until one fails; the rest are skipped.
IndependentEvery transaction is applied on its own, whether the others succeed or not.

What batches are useful for

  • Mint an NFT and create its sell offer together, so the NFT never exists without its listing.
  • Try a trade at several slippage levels and keep only the first one that fills (Only one mode).
  • Include a platform fee with the action it pays for, so neither happens without the other.
  • Swap tokens or NFTs between two accounts without trusting each other: both sign one batch, so either both sides move or neither does.
  • Clean up an account in one step, for example cancelling several open offers at once.

Batches with more than one account

A batch can include transactions from several accounts. Every account involved signs the whole batch, not just its own part. That stops one side from changing its amount after the other has signed, or from submitting only the half that benefits it.

Inner transactions carry no signature or fee of their own, so they cannot be broadcast or submitted outside the batch that contains them.

Reading the result of a batch

The outer transaction reports success as soon as its fee and sequence are processed, even if some inner transactions failed. The outcome you care about is in each inner transaction:

  • Inner transactions appear in your history as ordinary transactions, each with its own result and a link back to the batch that carried it.
  • Only inner transactions that were actually applied are recorded.
  • An inner transaction that shows up in a different ledger from its batch is a sign of fraud.

Is it live?

Yes. The first version, the Batch amendment from proposal XLS-56, was withdrawn while validators were still voting on it, after a flaw in how its signatures were checked was found in February 2026. A corrected version, BatchV1_1, and a follow-up fix, fixBatchV1_2, are now both enabled on mainnet.

Whether you can use batches depends on your wallet and the apps you use, since each has to build and display them. Batch transactions also cannot be dry-run with the ledger’s simulate method, so apps cannot preview their exact outcome in advance.

Следующий шаг · Обмен

Trade on the XRPL DEX.

Swap any XRPL token from your own wallet.

Объём XRPL DEX за 24 часа
Open swap

Частые вопросы

What is a Batch transaction on the XRP Ledger?

It is one outer transaction that carries up to eight inner transactions. The outer transaction is signed and pays the fee, and its mode decides how the inner transactions are applied when one of them fails.

What are the batch modes?

All or nothing applies every transaction or none. Only one applies the first that succeeds. Until failure applies transactions in order until one fails. Independent applies each one regardless of the others.

Are batch transactions live on mainnet?

Yes. The original Batch amendment was withdrawn after a signature-checking flaw was found in February 2026. Its replacement, BatchV1_1, and the follow-up fixBatchV1_2 are both enabled on mainnet.

Can two accounts swap tokens in one batch?

Yes. A batch can include transactions from several accounts, and every account must sign the whole batch. Either both sides of the swap happen or neither does, so neither party has to trust the other.

Why does my batch show success when a step failed?

The outer transaction reports success once its fee and sequence are processed. Each inner transaction has its own result, so check those to see which steps were actually applied.

Источники

Ссылки на XPMarket ведут на собственные продукты XPMarket. XPMarket не хранит средства пользователей: вы подписываете каждую транзакцию в своём кошельке. Это руководство носит образовательный характер и не является финансовой рекомендацией.

Читать дальше

Is XRP quantum resistant?

Why quantum computers threaten XRP Ledger keys, which XRP would be exposed, how key rotation helps and what Ripple’s 2028 roadmap plans.

5 мин чтения · Обновлено 23 нояб. 2026 г.

What is the permissioned DEX?

How the XRP Ledger’s permissioned DEX works: credentials, domains, open, permissioned and hybrid offers, and what it cannot do.

5 мин чтения · Обновлено 23 нояб. 2026 г.

Trade on the XRPL DEX.

Open swap

XPMarket

XPMarket является некастодиальной торговой платформой для XRP Ledger: DEX, свопы, AMM-пулы ликвидности, NFT, данные о токенах и ETF, всё со своего кошелька.

XPMarket работает только на xpmarket.com. Проверяйте домен перед подключением кошелька.

Продукты
Рейтинг токеновРейтинг NFTAMM-пулыDEXОбмен

Будьте в курсе

Запуски в XRPL, динамика рынка и обновления XPMarket.

Подписываясь, вы соглашаетесь получать письма от XPMarket. Политика конфиденциальности.

Copyright 2026. Все права защищены

XRP Ledger