---
title: "Retrieve Transaction Data for changing Daily Limit"
method: GET
path: "/api/v1/accounts/onchain-daily-limit/transaction-data"
tags: ["Account Management"]
deprecated: true
---

# Retrieve Transaction Data for changing Daily Limit

`GET /api/v1/accounts/onchain-daily-limit/transaction-data`

> **Deprecated.**

This endpoint is deprecated and will be removed in a future version.
Please use `GET /api/v1/accounts/daily-limit/transaction-data` instead.

Returns the transaction data that needs to be signed by the user's wallet to set a new onchain daily limit.
This endpoint is used as part of a three-step process:
1. Call this endpoint to get the transaction data
2. Sign the transaction data with the user's wallet
3. Submit the signature to the PUT `/api/v1/accounts/onchain-daily-limit` endpoint

**Note:** The onchainDailyLimit must be an integer value between 1 and 8000.

## Query parameters

- `onchainDailyLimit` string, required

## Response `200`

Successfully retrieved transaction data for signing.

- object
  - `data` object, required
    - `transaction` object, required
      - `to` string, required — The target contract address for the transaction.
      - `value` number, required — The amount of native tokens to send with the transaction (usually 0).
      - `data` string, required — The encoded transaction data containing the function call.

## Other responses

- `401` — Unauthorized - invalid or missing authentication token.
- `404` — Safe account or token not found for the user.
- `422` — Unprocessable Entity - validation errors in query parameters.
- `500` — Internal server error.

---

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