> For the complete documentation index, see [llms.txt](https://dg-market.gitbook.io/dg-live/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dg-market.gitbook.io/dg-live/developer-resources/smart-contract-reference/events/buy.md).

# Buy

**Event signature:**

```solidity
event Buy(address _nftAddress, uint256[] _tokenIds, address _msgSender, address[] beneficiaries);
```

**Event parameters:**

| Parameter Type | Parameter Name | Parameter Description                          |
| -------------- | -------------- | ---------------------------------------------- |
| address        | \_nftAddress   | The NFT address of the collection being bought |
| uint256\[]     | \_tokenIds     | The token Ids of the collections being bought  |
| address        | \_msgSender    | The wallet of the user performing the purchase |
| address\[]     | beneficiaries  | The addresses of the users selling those NFTs  |
