For the complete documentation index, see llms.txt. This page is also available as Markdown.

Consume an Item (ERC1155)

Consume (burn) an item

Consume an item directly from its owner wallet

POST https://api.alturanft.com/api/v2/item/consume

Takes an item's collection address, tokenId, amount to consume, address to consume from (from) and your API key and consume a given amount of the specified NFT from the specified address.

Query Parameters

Name
Type
Description

apiKey*

String

Your API key

Request Body

Name
Type
Description

address*

String

The item's collection address

tokenId*

Integer

The item's tokenId

amount*

Integer

The amount of item to consume

from*

String

The address you want to consume an item from

{
    // Response
}

Only works if the item was created as consumable

Last updated