SDK
crossbell.js
Contract API
Character
Burn Character

Burn Character

If you no longer wish to play with your character, you can choose to burn them. This will permanently delete your character and all of their items; you will not be able to recover them afterwards.

burnCharacter

Burns a character.

burnCharacter(characterId: BigNumberish, overrides: Overrides = {}): Promise<Result<undefined, true>> | never
⚠️

WARNING:

This action is irreversible. You will NOT be able to recover your character or any of their items. Please make sure you want to do this before proceeding.

If you are making an App that allows users to burn their characters, please make sure you remind them of this.

Usage

contract.burnCharacter(42)

Parameters

characterId

The ID of the character to burn.

Returns

interface Returns {
  transactionHash: string
}