---
title: "Get claim transactions (v3)"
method: POST
path: "/token-launch/claim-txs/v3"
tags: ["Fee Claiming"]
---

# Get claim transactions (v3)

`POST /token-launch/claim-txs/v3`

## Request

- Base URL: `https://public-api-v2.bags.fm/api/v1`
- URL: `https://public-api-v2.bags.fm/api/v1/token-launch/claim-txs/v3`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/bags/apis/bags-public-api-v2/docs/token-launch/claim-txs/v3/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate transactions to claim fees for a token. This simplified v3 endpoint automatically handles all fee claiming logic based on the token state.

## Request body

- object
  - `feeClaimer` string, required: Public key of the fee claimer wallet
  - `tokenMint` string, required: Token mint public key

## Response `200`

Successfully generated claim transactions

- object
  - `success` boolean, required
  - `response` ClaimTransactionResult[]
    - `tx` string, required: Base58 encoded serialized transaction
    - `blockhash` BlockhashWithExpiryBlockHeight, required
      - `blockhash` string, required: Recent blockhash for the transaction
      - `lastValidBlockHeight` number, required: The last block height for which the blockhash is valid

## Other responses

- `400`: Bad request - Missing required parameters or invalid wallet/token
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

---

[API](https://skmtc.dev/bags/apis/bags-public-api-v2.md) - [All operations](https://skmtc.dev/bags/apis/bags-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/bags/apis/bags-public-api-v2/revisions/4a14b82cd39d?raw)
