# Transaction Batching

With the introduction of LayerZero V2, applications can now batch their LayerZero cross-chain message - meaning that any arbitrary number of users can submit their source chain transactions and pay an amortized portion of BOTH the LayerZero message and destination transaction fee.

## The Bus and the Taxi

Stargate offers two transaction options for users: the Bus (Economy mode) and the Taxi (Fast Mode).

* **The Bus**: This batched transaction method can reduce costs by over 95% compared to Stargate V1. Users buy a "bus ticket" for a seat on a transaction bus, which departs once all seats are filled or paid for. This option is more economical, though it might involve longer wait times since the transaction only processes when the bus is either fully occupied or reaches the maximum waiting period. It's ideal for users who prioritize cost savings over speed.
* **The Taxi**: This option represents a one-to-one transaction that processes immediately once the source chain finality is achieved. While more expensive than the bus, it's faster and still offers cost savings compared to earlier versions due to optimized gas usage. This choice suits users who prefer speed over lower costs.

In practice, if a user wishes to transfer from Chain A to Chain B, they could choose the cheaper bus ticket, sharing the transaction cost with others, or opt for the immediate but more expensive taxi. This system allows users to balance their preferences for cost versus transaction speed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stargateprotocol.gitbook.io/stargate/v2-user-docs/whats-new-in-stargate-v2/transaction-batching.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
