> For the complete documentation index, see [llms.txt](https://docs.defisaver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.defisaver.com/actions/chicken-bonds/cbchickenin.md).

# CBChickenIn

### Description

Chickens in a bond and gets back bLUSD.

### Action ID

`0x56185a2d`

### SDK Action

```ts
const cBChickenInAction = new dfs.actions.chickenBonds.CBChickenInAction(
    bondId,
    to
);
```

### Action Type

`STANDARD_ACTION`

### Input Parameters

```solidity
    /// @param bondID NFT token id of the bond
    /// @param to Address where to send bLUSD returned
    struct Params {
        uint256 bondID;
        address to;
    }
```

### Return Value

```solidity
return bytes32(bLusdAmountReceived);
```

### Events and Logs

```solidity
emit ActionEvent("CBChickenIn", logData);
logger.logActionDirectEvent("CBChickenIn", logData);
bytes memory logData = abi.encode(params);
```
