# Create Script Call

{% hint style="info" %}
**Check the Scriptbuilder:** It explains how to create every type of script.
{% endhint %}

{% content-ref url="../../script-builder" %}
[script-builder](https://phantasma.gitbook.io/main/developers/sdks/ts/script-builder)
{% endcontent-ref %}

## Example

```ts
import { ScriptBuilder } from "phantasma-sdk-ts";

const sb = new ScriptBuilder();
const script = sb
  .BeginScript()
  .CallContract("stake", "GetMasterCount", [])
  .EndScript();

console.log(script);
```
