---
updatedAt: 2025-05-19T20:49:24.000Z
agentTools:
  projectIndex: https://docs.arianee.org/llms.txt
---

# Manage Arianee Events

## Accept or decline Arianee Event

#### Methods

```javascript Accept Method
wallet.smartAsset.acceptEvent(network, eventId)
```

```javascript Decline Method
wallet.smartAsset.declineEvent(network, eventId)
```

| Parameter | Type   | Required | Description                                                      |
| --------- | ------ | -------- | ---------------------------------------------------------------- |
| `network` | String | ✅        | Protocol network of the given Arianee Event.                     |
| `eventId` | String | ✅        | Identification number of the Arianee Event to accept or decline. |

```javascript Example
const wallet = new Wallet({ chainType: 'mainnet' });
const myNft = await wallet.smartAsset.getOwned();
await myNft[0].arianeeEvents[0].acceptEvent();
await myNft[0].arianeeEvents[0].refuseEvent();
```

#### Return Payload

The receipt of the transaction is returned.