Skip to main content

iota_sdk.types.burn

Burn Objects

@dataclass
class Burn()

A DTO for Burn.

Attributes:

  • aliases - The aliases to burn.
  • nfts - The NFTs to burn.
  • foundries - The foundries to burn.
  • nativeTokens - The native tokens to burn.

add_alias

def add_alias(alias: HexStr) -> Burn

Add an alias to the burn.

add_nft

def add_nft(nft: HexStr) -> Burn

Add an NFT to the burn.

add_foundry

def add_foundry(foundry: HexStr) -> Burn

Add a foundry to the burn.

add_native_token

def add_native_token(native_token: NativeToken) -> Burn

Add a native token to the burn.