XChain Platform Action - SLEEP
This action pauses actions on an ADDRESS or a TICK until RESUME_BLOCK is reached.
PARAMS
| Name | Type | Description |
|---|---|---|
VERSION |
String | Format Version |
TICK |
String | Ticker name or Ticker ID |
RESUME_BLOCK |
String | Block index to resume actions |
MEMO |
String | An optional memo to include |
Formats
Version 0 - Sleep ADDRESS
VERSION|RESUME_BLOCK|MEMO
Version 1 - Sleep TICK
VERSION|RESUME_BLOCK|TICK|MEMO
Examples
SLEEP|0|791495|Pausing actions until block 791495
This example sleeps / pauses all actions on the `SOURCE` address until block 791495
SLEEP|1|791495|JDOG|Pausing actions on JDOG until block 791495
This example sleeps / pauses all actions on JDOG `TICK` until block 791495
BATCH|0|
SLEEP|1|0|JDOG|Unsleeping actions on JDOG token;
ISSUE|1|JDOG|We are working to resolve the problem;
ISSUE|2|JDOG||1000;
SEND|0|JDOG|1000|1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev|Funding contract address;
MINT|0|JDOG||1000|1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev;
SLEEP|1|-1|JDOG|Sleeping JDOG token again
This example uses BATCH action to resume actions, perform some actions on JDOG token, then sleep actions again
Rules
SLEEPon an address sleeps all address actions untilRESUME_BLOCK
Notes
SLEEPdoes NOT preventDISPENSERdispenses, as that could result in a loss of user funds.SLEEPdoes NOT preventORDERmatches, as that could result in unmatched orders.SLEEPdoes NOT preventSWAPmatches, as that could result in unmatched swaps.SLEEPdoes NOT prevent usage of theSLEEPaction when used on aTICKSLEEPdoes prevent usage of theSLEEPaction and all other actions when used on an address untilRESUME_BLOCKhas passedSLEEPon aTICKwithRESUME_BLOCKset to0value, will unpauseTICKactions immediately.SLEEPon aTICKwithRESUME_BLOCKset to-1value, will pauseTICKactions indefinitely.ISSUETICKwithLOCK_SLEEPset to1to permanently prevent use of theSLEEPcommand- Can use
BATCHcommands to stopSLEEP, executeACTIONcommands, and then resumeSLEEP, when used on aTICK - Use
^(caret) as prefix when passingTICK_IDforTICKfield (^1234 =TICK_ID1234)
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.