curl --request POST \
--url https://public.raze.sh/api/sol/fee-config \
--header 'Content-Type: application/json' \
--data '
{
"action": "setup",
"wallet": "6xSm9VgTEnWhE6fZ1pg7uDFbvsXrRsKXFbm9TfF8vVS",
"mint": "CJm4Nsyfp5fYPHKC4X51jK5TBUzV92bbsPbvdSqhpump",
"shareholders": [
{
"address": "HmV6VzDb1k2EkYa6aQkRkijaQ5bPf6U4tQQ77HYQNFxw",
"shareBps": 10000
}
],
"feeTipLamports": 1000000
}
'{
"success": true,
"transactions": [
"<string>"
]
}Manage the Pump.fun fee-sharing config for a token you created. The
creator pubkey on the bonding curve cannot be changed by the creator,
but the creator-fee stream can be split among up to 10 wallets via the
Pump.fun fee-sharing program (pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ).
Actions:
setup — bundles createFeeSharingConfig + updateFeeShares into one
transaction. Canonical “redirect creator fees to N wallets” flow.create — creates an empty fee-sharing config only.update — replaces the shareholder split. Pending fees are auto-distributed
to the current shareholders before the new split takes effect.
currentShareholders is fetched from chain if omitted.reset — wipes the config and assigns a new admin.status — read-only; returns the current config without building a tx.Notes:
shareBps is in basis points (1 bps = 0.01%).
Total must equal exactly 10000 (100%). Max 10 shareholders.pool (or pass null). For graduated
tokens, pass the AMM pool address.version: 1 configs
and on version: 2 configs after adminRevoked flips true. Use
action: "status" to check editable before calling update.transferFeeSharingAuthority and revokeFeeSharingAuthority are
Pump.fun admin-only and not exposed here.curl --request POST \
--url https://public.raze.sh/api/sol/fee-config \
--header 'Content-Type: application/json' \
--data '
{
"action": "setup",
"wallet": "6xSm9VgTEnWhE6fZ1pg7uDFbvsXrRsKXFbm9TfF8vVS",
"mint": "CJm4Nsyfp5fYPHKC4X51jK5TBUzV92bbsPbvdSqhpump",
"shareholders": [
{
"address": "HmV6VzDb1k2EkYa6aQkRkijaQ5bPf6U4tQQ77HYQNFxw",
"shareBps": 10000
}
],
"feeTipLamports": 1000000
}
'{
"success": true,
"transactions": [
"<string>"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
setup, create, update, reset, status Creator / config authority. Signs the resulting transaction.
"6xSm9VgTEnWhE6fZ1pg7uDFbvsXrRsKXFbm9TfF8vVS"
Token mint address.
"CJm4Nsyfp5fYPHKC4X51jK5TBUzV92bbsPbvdSqhpump"
Pump AMM pool address. Omit or null for ungraduated tokens.
Required for setup and update. Sum of shareBps must equal 10000.
10Show child attributes
Optional override for update. Wallets that currently hold shares;
pending fees are pushed to these addresses before the split is replaced.
Auto-fetched from chain when omitted.
Required for reset. New config admin pubkey.
1000000
base58, base64 For status, returns { success, status }. For all other actions,
returns the standard TransactionsResponse with an unsigned, partially-built
transaction the caller must sign with wallet.