cURL
curl --request POST \ --url https://public-api-v2.bags.fm/api/v1/token-launch/fee-share/create-config \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "walletA": "<string>", "walletB": "<string>", "walletABps": 123, "walletBBps": 123, "payer": "<string>", "baseMint": "<string>", "quoteMint": "<string>" }'
{ "success": true, "response": { "tx": "<string>", "configKey": "<string>" } }
Create a custom fee sharing config between two wallets
API key authentication. Provide your API key as the header value.
Successfully created fee share config
The response is of type object.
object