# BuyForGift

**Event signature:**

```solidity


event BuyForGift(address _nftAddress,
uint256[] _tokenIds
address _msgSender,
address _transferTo,
address[] beneficiaries
 );


```

**Event parameters:**

| Parameter Type | Parameter Name | Parameter Description                                   |
| -------------- | -------------- | ------------------------------------------------------- |
| address        | \_nftAddress   | The NFT address of the collection being bought for gift |
| uint256\[]     | \_tokenIds     | The token Ids of the collections being bought for gift  |
| address        | \_msgSender    | The wallet of the user performing the sell action       |
| address        | \_transferTo   | The wallet that will received those nfts as a gift      |
| address\[]     | beneficiaries  | The wallets which were selling those nfts as a gift     |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dg-market.gitbook.io/dg-live/developer-resources/smart-contract-reference/events/buyforgift.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
