Manage Arianee Events

Accept or decline Arianee Event

Methods

wallet.smartAsset.acceptEvent(network, eventId)
wallet.smartAsset.declineEvent(network, eventId)
ParameterTypeRequiredDescription
networkString✅Protocol network of the given Arianee Event.
eventIdString✅Identification number of the Arianee Event to accept or decline.
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.


Did this page help you?