leaveNetwork

leaveNetwork is a method on the ARIO class that sets a gateway's status to leaving on the ar.io network. The gateway's operator and delegate stakes are vaulted and will be returned after the leave period. The gateway will be removed from the network once the leave period ends.

leaveNetwork requires authentication.

Example

leaveNetwork

const { id: txId } = await ario.leaveNetwork();

Parameters

ParameterTypeDescriptionRequired
tagsarray

An array of GQL tag objects to attach to the AO message

No

Was this page helpful?