Collect Fees

The total collected fee can be withdrawn from the account owner. In the case of SPL tokens, simply enter the token mint address.

// Native token

const response = await ZebecStream.collectSolFees();

// SPL token

const response = await ZebecStream.collectTokenFees({
    token_mint_address: 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB' ;
});

Last updated