학습
​

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분 분량 · 2026. 11. 23. 업데이트

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분 분량 · 2026. 11. 23. 업데이트

Trade on the XRPL DEX.

Open swap

XPMarket

XPMarket은 XRP Ledger를 위한 비수탁형 거래 플랫폼입니다. DEX, 스왑, AMM 유동성 풀, NFT, 토큰 및 ETF 데이터를 모두 본인 지갑에서 이용하세요.

XPMarket은 xpmarket.com에서만 운영됩니다. 지갑을 연결하기 전에 도메인을 확인하세요.

제품
토큰 순위NFT 순위AMM 풀DEX스왑

최신 소식 받기

XRPL 출시, 시장 동향, XPMarket 업데이트.

구독하면 XPMarket의 이메일 수신에 동의하게 됩니다. 개인정보 처리방침.

Copyright 2026. 모든 권리 보유

XRP Ledger