---
title: "Set TX quota used"
method: POST
path: "/admin/set-tx-quota"
tags: ["Admin"]
---

# Set TX quota used

`POST /admin/set-tx-quota`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/admin/set-tx-quota`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/admin/set-tx-quota/post.ts> (a function with typed inputs; its response is checked against the schema)

Manually override used_tx counter for an address. Used for testing quota limits.

## Request body

- ApiSetTxQuotaRequest
  - `address` string
  - `used_tx` string, int64

## Response `200`

A successful response.

- ApiSetTxQuotaResponse
  - `address` string
  - `used_tx` string, int64

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/admin/set-tx-quota/post.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
