---
title: "Build transaction calls to enable auto top-up"
method: GET
path: "/credit/accounts/{account}/operator/auto-topup/enable"
tags: ["Credit"]
---

# Build transaction calls to enable auto top-up

`GET /credit/accounts/{account}/operator/auto-topup/enable`

Returns the calls needed to enable auto top-up. Checks on-chain state
and only includes setOperator (if not already set) and addCreditReceiver
(if not already whitelisted).

## Path parameters

- `account` string, required

## Query parameters

- `receiver` string, required

## Response `200`

List of contract calls

- CreditGetEnableAutoTopupResponse
  - `calls` EvmContractCall[], required
    - `chain` string, required
    - `data` integer[], required
    - `to` integer[], required
    - `value` TypesBigInt, required

## Other responses

- `400` — Bad request
- `409` — Account has a different operator
- `500` — Internal server error

---

[API](https://skmtc.net/sprintertech/apis/untitled-api.md) · [All operations](https://skmtc.net/sprintertech/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sprintertech/untitled-api/versions/a1172848364e/schema)
