POST
/
token-launch
/
claim-txs
Get claim transactions
curl --request POST \
  --url https://public-api-v2.bags.fm/api/v1/token-launch/claim-txs \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "feeClaimer": "<string>",
  "tokenMint": "<string>",
  "virtualPoolAddress": "<string>",
  "dammV2Position": "<string>",
  "dammV2Pool": "<string>",
  "dammV2PositionNftAccount": "<string>",
  "tokenAMint": "<string>",
  "tokenBMint": "<string>",
  "tokenAVault": "<string>",
  "tokenBVault": "<string>",
  "claimVirtualPoolFees": true,
  "claimDammV2Fees": true,
  "isCustomFeeVault": true,
  "customFeeVaultClaimerA": "<string>",
  "customFeeVaultClaimerB": "<string>",
  "customFeeVaultClaimerSide": "A"
}'
{
  "success": true,
  "response": [
    {
      "tx": "<string>",
      "blockhash": {
        "blockhash": "<string>",
        "lastValidBlockHeight": 123
      }
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key authentication. Provide your API key as the header value.

Body

application/json
feeClaimer
string
required

Public key of the fee claimer wallet

tokenMint
string
required

Token mint public key

virtualPoolAddress
string | null

Virtual pool address (required if claimVirtualPoolFees is true)

dammV2Position
string | null

DAMM v2 position public key

dammV2Pool
string | null

DAMM v2 pool public key

dammV2PositionNftAccount
string | null

DAMM v2 position NFT account public key

tokenAMint
string | null

Token A mint public key

tokenBMint
string | null

Token B mint public key

tokenAVault
string | null

Token A vault public key

tokenBVault
string | null

Token B vault public key

claimVirtualPoolFees
boolean | null

Whether to claim virtual pool fees

claimDammV2Fees
boolean | null

Whether to claim DAMM v2 fees

isCustomFeeVault
boolean | null

Whether using a custom fee vault

customFeeVaultClaimerA
string | null

Custom fee vault claimer A public key

customFeeVaultClaimerB
string | null

Custom fee vault claimer B public key

customFeeVaultClaimerSide
enum<string> | null

Which side of the custom fee vault to claim for

Available options:
A,
B

Response

Successfully generated claim transactions

success
boolean
required
Example:

true

response
object[]