When transacting on Arkade, VTXOs don’t need to be settled to Bitcoin with every transfer. Instead, they can remain offchain until the latest recipient decides to anchor them to Bitcoin for finality. Such offchain transactions are processed in the virtual mempool and receive preconfirmation status through the Arkade operator cosigning the VTXO transfer.Documentation Index
Fetch the complete documentation index at: https://docs.arkadeos.com/llms.txt
Use this file to discover all available pages before exploring further.
Client Workflow: Transacting offchain on Arkade
Users transact offchain on Arkade by submitting a transaction request to the ArkService which then undergoes several steps consisting of verification and signing procedures. The following describes the workflow and the respective functions in detail.
SubmitTxRequest with a signed Arkade transaction and unsigned checkpoint transactions. The server verifies them and responds with the fully signed Arkade transaction, its ID, and partially signed checkpoint transactions.
The client adds the missing checkpoint signatures and finalizes the process via FinalizeTxRequest, sending the fully signed checkpoint transactions to the ArkService. Once the server verifies the final signatures, the spend is preconfirmed.
Workflow Monitoring
The actual offchain execution workflow uses the ArkService. While the IndexerService doesn’t directly handle offchain execution, it provides several supporting query functions that clients might use: VTXO MonitoringGetVirtualTxs: Retrieves virtual transactions in hex format for specified transaction IDsGetVtxos: Queries VTXO states by scripts or outpointsGetVtxoChain: Traces transaction chains for specific VTXOs
SubscribeForScripts: Subscribe to notifications for specific VTXO scriptsGetSubscription: Receive real-time notifications about subscribed scripts
