Consume an Item (ERC1155)
Last updated
Last updated
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.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Only works if the item was created as consumable
apiKey*
String
Your API key
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