Update Stackable Asset

Updates a 'Stackable Asset'.

Provide attributes that will override the current asset's attributes. Please note that any attributes not specified will be deleted from the existing asset.

Log in to see full request history
Path Params
string
required

Specifies the Stackable Asset to update.

Body Params
string
required
length ≤ 64

A description for the Asset

string
required

A url to the image underlying the Asset

string
required
length ≤ 32

The name of the Asset. Max length: 32 chars

string
length ≤ 5

The symbol of the Asset. Max length: 5 chars

attributes
array of objects

Add attributes to your Asset

attributes
Headers
string
required

API key for your game

Response

Response body
object
string
required

The ID of the Stackable Asset

attributes
array of objects

Add attributes to your Asset

attributes
object
string
required

The name of the trait

string
required

The value of the trait

number
required

The date the Asset was created

string
required
length ≤ 32

The name of the Stackable Asset. Max length: 32 chars

string
length ≤ 5

The symbol of the Stackable Asset. Max length: 5 chars

string
required
length ≤ 64

A description for the Asset

collection
object

The collection the Asset belongs to

string
required

The id of the collection. This is not an on-chain address, but instead an ID internal to GameShift

string
required

The name given to the collection

string
required

The description given to the collection

string
required

The collection's environment

Development Production

string | null

The url of the image used to represent the collection

boolean
required

Whether the collection was imported

string | null

The mint address of the collection on-chain

number
required

Timestamp of collection creation

stats
object

Statistics about the collection

string
required
Defaults to UniqueAsset

Specifies whether the Asset Collection contains unique or stackable assets

UniqueAsset StackableAsset

string
required

The asset's environment

Development Production

string
required

A url to the image underlying the Asset

string
required

The current status of the Asset

Uninitiated Unprocessed Processing Committed Failed

string

The address of the Asset on the blockchain

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json