Skip to content

Swap

Swap allows users to change asset exposure within the VoidAI ecosystem.

Example:

  • WTAO ↔ WALPHA
  • WALPHA (Subnet A) ↔ WALPHA (Subnet B)

Swaps modify asset exposure, not chain location.


OperationPurposeExample
SwapChange asset typeWTAO → WALPHA
BridgeNative ↔ WrappedTAO → WTAO
CCIPChain-to-chainEthereum → Base

  1. Input WTAO
  2. Backend unwraps → native TAO
  3. Stakes into subnet
  4. Wraps ALPHA → WALPHA
  5. Receive WALPHA

  1. Unwrap WALPHA
  2. Unstake subnet
  3. Wrap TAO → WTAO
  4. Receive WTAO

  1. Unwrap subnet A
  2. Move stake
  3. Wrap subnet B
  4. Receive WALPHA (new subnet)

StatusMeaning
INITIATEDRequest validated
PENDINGOn-chain submission
PROCESSINGMulti-step execution
COMPLETEDTokens delivered
FAILEDError occurred

  • Verify subnet ID
  • Test small amount
  • Confirm gas balance
  • Monitor transaction status

Can I cancel a swap?
No, once on-chain.

Are fees charged?
Yes — gas + protocol fee.

Wrong subnet selected?
Must swap again (fees apply).