# Batch claim

`createCollectFeesPayload` and  `createCollectRewardsPayload` creates a transaction builder for batch fee collection by a array of objects.

```typescript
const pool_id = '0xc41621d02d5ee00a7a993b912a855...'
const pos_id = '0x2f10a5816747fd02218dd7a3a7d0417d...' // is wrap pos id
const coin_type_a = '26b3bc67befc214058ca78ea9a2690298d731a2d4309485ec3d40198063c4abc::usdc::USDC'
const coin_type_b = '26b3bc67befc214058ca78ea9a2690298d731a2d4309485ec3d40198063c4abc::cetus::CETUS'
const rewarder_coin_types = ['0x26b3bc67befc214058ca78ea9a2690298d731a2d4309485ec3d40198063c4abc::cetus::CETUS']

let tx = sdk.Burn.createCollectFeesPayload([{
  pool_id,
  pos_id,
  coin_type_a,
  coin_type_b,
  account,
}, ...])

tx = sdk.Burn.createCollectRewardsPayload([{
  pool_id,
  pos_id,
  coin_type_a,
  coin_type_b,
  rewarder_coin_types,
  account,
}, ...])

const simulate_res = await sdk.FullClient.devInspectTransactionBlock({
  transactionBlock: txb,
  sender: account,
})
```
