🪄Update Collection

Use this method to update a collection's metadata

Usage in your script

UpdateCollection
  .Initialize(destroyAtEnd: true)
  .SetParameters(
    address: "0x...",
    image: "https://",
    image_url:"https://",
    description:"my collection",
    website:"https://",
    genre:"action"
  )
  .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 Collection_model type.

.Run()

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

Last updated