---
title: "/account/sponsorTx"
method: POST
path: "/api/v1/account/sponsorTx"
tags: ["Account Data"]
---

# /account/sponsorTx

`POST /api/v1/account/sponsorTx`

## Request

- Base URL: `https://api.sui-staging.bluefin.io`
- URL: `https://api.sui-staging.bluefin.io/api/v1/account/sponsorTx`
- Auth: HTTP bearer

Sponsors a transaction if it's eligible for sponsorship based on allowlisted methods and kinds.

## Request body

- SponsorTxRequest
  - `txBytes` string, required: Base64 encoded transaction bytes to be sponsored.

## Response `200`

Transaction successfully sponsored.

- SponsorTxResponse
  - `txBytes` string, required: Base64 encoded sponsored transaction bytes
  - `txDigest` string, required: Transaction digest
  - `signature` string, required: Transaction signature
  - `expireAtTime` integer, required: Transaction expiration time in milliseconds since Unix epoch

## Other responses

- `400`: Invalid request - transaction not eligible for sponsorship or missing required parameters
- `401`: Unauthorized access - missing or invalid authentication token
- `500`: Internal server error

---

[API](https://skmtc.dev/bluefin/apis/bluefin-account-data-api.md) - [All operations](https://skmtc.dev/bluefin/apis/bluefin-account-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bluefin/apis/bluefin-account-data-api/revisions/5fd638fb0785?raw)
