# LiquidAccounts

## Generate nonce for LiquidAccount

<mark style="color:green;">`POST`</mark> `https://api.dsp.io/v1/dsp/accountless1/get_nonce`

Get nonce for LiquidAccount

#### Request Body

| Name           | Type   | Description      |
| -------------- | ------ | ---------------- |
| contract\_code | string | contract account |
| vaccount       | string | LiquidAccount    |
| sidechain      | string | sidechain        |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{    "message": "Ain't no cake like that."}
```

{% endtab %}
{% endtabs %}

## Push LiquidAccount Action

<mark style="color:green;">`POST`</mark> `https://api.dsp.io/v1/dsp/accountless1/push_action`

Get nonce for LiquidAccount

#### Request Body

| Name           | Type   | Description              |
| -------------- | ------ | ------------------------ |
| contract\_code | string | contract account         |
| public\_key    | string | LiquidAccount public key |
| payload        | string | action payload           |
| signature      | string | LiquidAccount signature  |
| sidechain      | string | sidechain                |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{    "message": "Ain't no cake like that."}
```

{% endtab %}
{% endtabs %}
