# Default Virtual Machine

Scripts for the default virtual machine (VM) are passed as JSON strings. The JSON object contains two parameters: method and data. The method parameter specifies the action to be performed by the VM, and it can have two values: save for saving a smart contract and execute for executing a transaction. The data parameter contains the JavaScript script for the smart contract or transaction execution.

Below is the documentation detailing each of the built-in functions available in the default VM

[<br>](http://164.68.127.226:3432/)**SWAGGER documentation:** [**http://164.68.127.226:9231/doc/index.html**](http://164.68.127.226:9231/doc/index.html)

**cyPlay (IDE) developer tool:**  [**http://164.68.127.226:3432/**](http://164.68.127.226:3432/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cyclonechain.com/develop/documentation/default-virtual-machine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
