Skip to content

Conversation

@maria-robobug
Copy link
Contributor

@maria-robobug maria-robobug commented Oct 31, 2025

Fixes #3366

  • Adds two tutorials for Batch transactions:
    • Send a Single Account Batch Transaction
    • Send a Multi-Account Batch Transaction
  • Adds mention of minimum required batch transactions (2) in docs + missing temARRAY_EMPTY error

Currently only Javascript-aware, but will add Python examples in a separate PR.

Preview here: https://xrpl-dev-portal--batch-transactions-tutorial.preview.redocly.app/docs/tutorials/how-tos/use-batch-transactions

@maria-robobug maria-robobug force-pushed the batch-transactions-tutorial branch 6 times, most recently from 2e9d97c to 44b5541 Compare November 3, 2025 14:17
@maria-robobug maria-robobug added the javascript Pull requests that update Javascript code label Nov 3, 2025
@maria-robobug maria-robobug force-pushed the batch-transactions-tutorial branch from 44b5541 to 31e0479 Compare November 3, 2025 15:11
Comment on lines +10 to +11
import { BatchFlags } from 'xrpl/dist/npm/models/transactions/batch.js'
import { GlobalFlags } from 'xrpl/dist/npm/models/transactions/common.js'
Copy link
Contributor Author

@maria-robobug maria-robobug Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, I know this looks weird. Unfortunately, they're not exported yet in the current version of xrpl.js (4.4.2), hence why I imported them this way.

This change will make them available: XRPLF/xrpl.js#3064.
Likely the next release of the SDK though.

@maria-robobug maria-robobug force-pushed the batch-transactions-tutorial branch 2 times, most recently from f5667da to 4a08ad0 Compare November 6, 2025 12:15
@maria-robobug maria-robobug force-pushed the batch-transactions-tutorial branch from 4a08ad0 to d2cf306 Compare November 6, 2025 12:16
@oeggert oeggert mentioned this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Batch Transactions tutorial

2 participants