# Monetization & Charge Fees

<mark style="color:$info;">As an integrator, you can monetize</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**Blackhole**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">and collect fees from our</mark> <mark style="color:$info;"></mark><mark style="color:$info;">**SDK/API**</mark> <mark style="color:$info;"></mark><mark style="color:$info;">integration.</mark>

<mark style="color:$info;">Any dApp that integrates Blackhole’s SDK or API can charge a fee on every transaction volume it processes through Blackhole.</mark>

***

## How it works

<mark style="color:$info;">When using the Blackhole SDK or calling our API to request quotes, you can include a fee parameter that defines how much you want to charge.</mark>

<mark style="color:$info;">Blackhole uses basis points (bps) for fees:</mark>

* <mark style="color:$info;">1 bps = 0.01%</mark>
* <mark style="color:$info;">Example: 20 bps = 0.2%</mark>

<mark style="color:$info;">Add two parameters to your request:</mark>

* <mark style="color:$info;">`integrator`</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— your unique identifier</mark>
* <mark style="color:$info;">`feeBps`</mark> <mark style="color:$info;"></mark><mark style="color:$info;">— fee amount in bps (e.g. 20 for 0.2%)</mark>

<mark style="color:$info;">Blackhole calculates and deducts the fee automatically and shows it in the returned quote and final</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`minOut`</mark><mark style="color:$info;">.</mark>

***

## EVM

* <mark style="color:$info;">Fees accumulate in the Blackhole fee collector contract.</mark>
* <mark style="color:$info;">Only the wallet you register for fee collection can claim these funds.</mark>
* <mark style="color:$info;">Fees already accrued remain tied to the wallet that earned them.</mark>
* <mark style="color:$info;">If you change the fee-collection wallet, only future fees will be routed to the new wallet.</mark>

***

## Sui

* <mark style="color:$info;">Fees are transferred directly to the fee wallet you specify.</mark>
* <mark style="color:$info;">No claiming or further action is required.</mark>

***

## Solana

* <mark style="color:$info;">Fees are transferred directly to the fee wallet you specify.</mark>
* <mark style="color:$info;">No claiming or further action is required.</mark>

***

## How to set up fee wallets

<mark style="color:$info;">To start collecting fees:</mark>

1. <mark style="color:$info;">Register your integration and provide fee-collection wallets for each chain.</mark>
2. <mark style="color:$info;">Fees are collected per chain and per token.</mark>
3. <mark style="color:$info;">Our dashboard provides an overview of collected fees and can generate the transaction data required to withdraw them on EVM.</mark>

***

## How to set up fee collection

1. <mark style="color:$info;">The</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`feeBps`</mark> <mark style="color:$info;"></mark><mark style="color:$info;">parameter is the fee amount taken from each transaction.</mark>\ <mark style="color:$info;">Use an integer value (e.g.</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`20`</mark> <mark style="color:$info;"></mark><mark style="color:$info;">for 0.2%).</mark>
2. <mark style="color:$info;">The maximum allowed fee is less than 500 bps (5%).</mark>
3. <mark style="color:$info;">Always pass your</mark> <mark style="color:$info;"></mark><mark style="color:$info;">`integrator`</mark> <mark style="color:$info;"></mark><mark style="color:$info;">string so the system can correctly attribute and distribute the fees.</mark>

<mark style="color:$info;">Blackhole may charge a small protocol execution fee depending on volume and integration type. This is always shown separately in the quote.</mark>
