Collect Rewards
Claim trading fees and pool rewards from liquidity positions.
Overview
Quick Start
// Collect only trading fees
const tx = await sdk.Position.collectFeeTransactionPayload({
pool_id: '0x...',
pos_id: '0x...',
coinTypeA: '0x2::sui::SUI',
coinTypeB: '0x...::usdc::USDC'
})
// Collect fees + rewards
const tx = await sdk.Rewarder.collectRewarderTransactionPayload({
pool_id: '0x...',
pos_id: '0x...',
coinTypeA: '0x2::sui::SUI',
coinTypeB: '0x...::usdc::USDC',
rewarder_coin_types: ['0x...::ferra::FERRA'],
collect_fee: true
})Check Claimable Rewards
Trading Fees Only
All Rewards (Fees + Pool Rewards)
Collect Trading Fees
Collect Pool Rewards
Batch Collect
Pool Rewards Info
Complete Example
Important Notes
Last updated