Skip to main content
POST
/
api
/
sol
/
fee-config
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.

Body

application/json
action
enum<string>
required
Available options:
setup,
create,
update,
reset,
status
wallet
string
required

Creator / config authority. Signs the resulting transaction.

Example:

"6xSm9VgTEnWhE6fZ1pg7uDFbvsXrRsKXFbm9TfF8vVS"

mint
string
required

Token mint address.

Example:

"CJm4Nsyfp5fYPHKC4X51jK5TBUzV92bbsPbvdSqhpump"

pool
string | null

Pump AMM pool address. Omit or null for ungraduated tokens.

shareholders
object[]

Required for setup and update. Sum of shareBps must equal 10000.

Maximum array length: 10
currentShareholders
string[]

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.

newAdmin
string

Required for reset. New config admin pubkey.

feeTipLamports
number
Example:

1000000

encoding
enum<string>
default:base58
Available options:
base58,
base64

Response

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.

success
boolean
required
Example:

true

transactions
string[]
required

Serialized transactions to be signed and submitted