Skip to main content
GET
Get the fee a donation pays

Headers

donate-api-key
string

Optional. Your API key. With it the request counts against your organization's rate limit; without it, against the limit of your IP address.

Path Parameters

configId
string
required

Config id: id (0x hex, in either case) or idBase58 of a config.

Query Parameters

chainId
number
required

The chain the donation is made on.

creditedAddress
string
required

The address the donation is credited to on-chain: the credited_to argument of a Solana donation, creditedTo on an EVM chain. For an integration this is its donation source (a launchpad's fee program), not a coin's address; for a person, their wallet.

Response

OK

feeBps
number
required

The fee in basis points: 2000 is 20%.

evaluatedSlot
string
required

The Solana slot the fee policy was evaluated at.