> ## Documentation Index
> Fetch the complete documentation index at: https://docs.launchblitz.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Bags

> Create methods for the `bags` transaction socket platform.

Use `platform: "bags"` for Bags launches.

## Methods

| Type                     | Purpose                                    |
| ------------------------ | ------------------------------------------ |
| `create_with_image_url`  | Create a Bags launch from an image URL.    |
| `create_with_image_blob` | Create a Bags launch from raw image bytes. |

## Request fields

Shared fields:

* `transaction_data`
* `launch_data`
* `buy_config`
* `image_url` or `image_blob`

Optional Bags-specific fields:

* `feeshare_data`
* `supply_transfer`

### `feeshare_data`

```json theme={null}
{
  "feeshare_data": {
    "creator_bps": 7000,
    "recipients": [
      {
        "recipient_handle": "launchblitz",
        "recipient_platform": "twitter",
        "bps": 3000
      }
    ]
  }
}
```

### Example

```json theme={null}
{
  "platform": "bags",
  "type": "create_with_image_url",
  "transaction_data": {
    "rpcs": ["standard"],
    "identifier": "bags_create_1",
    "priority_fee": 1000000,
    "payer_wallet": "SOLANA_WALLET"
  },
  "launch_data": {
    "name": "Bags Coin",
    "symbol": "BAGSX",
    "description": "Example Bags launch",
    "twitter": "https://x.com/example/status/1",
    "attached_referral": null,
    "website": null,
    "generated": false,
    "multi_deploy_count": 1
  },
  "image_url": "https://example.com/image.png",
  "buy_config": {
    "type": "bundled",
    "buy_amount": 50000000,
    "bundles": [
      {
        "pubkey": "SNIPER_WALLET",
        "buy_amt": 20000000,
        "delay": 0
      }
    ]
  }
}
```

The shared `buy_config` and `supply_transfer` shapes are documented on [generic transactions](/api/generic-transactions).
