🪄Update Primary Image

Use this method to update an item's primary image.

Usage in your script

UpdatePrimaryImage
  .Initialize(destroyAtEnd: true)
  .SetParameters(
    address: "0x...",
    token_id: "1",
    imageIdex:"1"
  )
  .OnError(error => Debug.Log(error))
  .OnComplete(result => Debug.Log(result))
  .Run();

Member Functions

.Initialize()

.SetParameters()

.onError()

Action on Error: returns error information.

.onComplete()

Action on successful: returns Items_model type.

.Run()

Runs the API call and fills the corresponding model in the component on success.

Last updated