💠Transfer ERC1155

Use this method to transfer an ERC1155 Token from your developer wallet.

You are only able to transfer ERC1155 tokens, which is in your developer wallet and the collection use Altura services.

Usage in your script

TransferItem
  .Initialize(destroyAtEnd: true)
  .SetParameters(
    collection_addr: "0x...",
    token_id: "10",
    amount: "1",
    to_addr: "0x..."
  )
  .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 Transfer_model type.

.Run()

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

Last updated