---
title: "Get fee share wallet (v2)"
method: GET
path: "/token-launch/fee-share/wallet/v2"
tags: ["Fee Share"]
---

# Get fee share wallet (v2)

`GET /token-launch/fee-share/wallet/v2`

## Request

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

Get the wallet address associated with a social provider and username for fee sharing. The optional `chain` parameter selects which chain to resolve the wallet on: `SOL` (default) returns the user's Solana embedded wallet, while `EVM` resolves (and creates if needed) the user's Ethereum embedded wallet from Privy. The resolved `chain` is always echoed back in the response.

## Query parameters

- `provider` 'apple' | 'google' | 'email' | 'solana' | 'twitter' | 'tiktok' | 'kick' | 'instagram' | 'onlyfans' | 'github' | 'moltbook', required: Supported social/auth providers
- `username` string, required
- `chain` 'SOL' | 'EVM': Blockchain to resolve the wallet on. `SOL` returns the user's Solana embedded wallet (base58). `EVM` returns the user's Ethereum embedded wallet from Privy (`0x…`). Defaults to `SOL` when omitted. The `solana` provider only supports `SOL`.

## Response `200`

Successfully retrieved wallet address

- GetFeeShareWalletV2SuccessResponse
  - `success` true, required
  - `response` object, required
    - `provider` 'apple' | 'google' | 'email' | 'solana' | 'twitter' | 'tiktok' | 'kick' | 'instagram' | 'onlyfans' | 'github' | 'moltbook', required: Supported social/auth providers
    - `platformData` SocialProviderUserData, required: Generic user data structure that works across different OAuth providers
      - `id` string, required: Unique identifier of the user on the provider platform
      - `username` string, required: Username/handle on the provider platform
      - `display_name` string, required: Display name of the user on the provider platform
      - `avatar_url` string, required: Profile picture URL of the user on the provider platform
    - `wallet` string, required: Address of the resolved wallet. Format depends on `chain`: base58 for `SOL`, `0x…` for `EVM`.
    - `chain` 'SOL' | 'EVM', required: Blockchain to resolve the wallet on. `SOL` returns the user's Solana embedded wallet (base58). `EVM` returns the user's Ethereum embedded wallet from Privy (`0x…`). Defaults to `SOL` when omitted. The `solana` provider only supports `SOL`.

## Other responses

- `400`: Bad request - Invalid parameters (e.g. the solana provider does not support the EVM chain)
- `401`: Unauthorized - Invalid or missing API key
- `404`: Not found - Platform data or wallet not found
- `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)
