cURL
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 } } ] }
Generate transactions to claim fees from virtual pools and/or DAMM v2 positions
API key authentication. Provide your API key as the header value.
Successfully generated claim transactions
The response is of type object.
object