XChain Platform Action - BATCH

This action batch executes multiple ACTION commands in a single transaction.

PARAMS

Name Type Description
VERSION String Format Version
COMMAND String Any valid ACTION with PARAMS

Formats

Version 0

  • VERSION|COMMAND;COMMAND

Examples

BATCH|0|MINT|0|XCHAIN|100;ISSUE|0|JDOG
This example mints 100 XCHAIN tokens and issues the JDOG token

Rules

  • Can only use one MINT action in a BATCH action
  • Can only use one ISSUE action in a BATCH action
  • Can not use BATCH as a action in a BATCH action
  • A BATCH may contain at most one FILE action (because a transaction carries exactly one rawData payload)

Notes

  • COMMANDS are separated by a semi-colon ;
  • A FILE may be batched with other actions — most commonly a MESSAGE v2 (ECIES) carrying the file’s symmetric key, so that publishing a token-gated file and committing the key happen atomically in one transaction.
  • BATCH(SEND, MESSAGE) is the canonical composition for transferring a token that has active gated content — the MESSAGE is required and re-encrypts the content keys to the recipient.

Copyright © 2025–2026 Dankest, LLC

Based on XChain Platform by Dankest, LLC – https://dankest.llc

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later) with a commercial license available for proprietary use.

You may use, modify, and distribute this material under the terms of the License. See LICENSE and NOTICE for full terms. See the licensing overview.

Edit this page on GitHub ↗