Skip to main content
Requires core scope A config defines a set of charity beneficiaries and how donations are split between them. Use the Partner API to create and list configs, and to fetch config stats or the config donor leaderboard. Use this Core API page to inspect or delete an existing config by ID. Config IDs are returned as { "hex": string, "base58": string }. hex is the on-chain bytes32. base58 is the same value encoded for Solana. Either form works in path parameters.

Get a config by ID

GET /configs/{configId} Returns a single config with its user and charity beneficiaries. Aggregate donation stats are not included here. Use GET /configs/{configId}/stats for that (Partner scope).
Path parameters Response
Weights in responses are strings to preserve full precision for values beyond Number.MAX_SAFE_INTEGER. Charity objects match the Charities shape, plus weight.
Error responses

Delete a config

DELETE /configs/{configId} Deletes a config you own. Returns 204 No Content on success with an empty body.
Path parameters
Configs that have existing donations or linked entities (like partner contracts) cannot be deleted. Only the project that created the config can delete it.
Error responses

Partner API operations for configs

Config creation, listing, stats, and donor leaderboards are available in the Partner API: