# Transfer ERC1155

Use this method to transfer an ERC1155 Token from your developer wallet.&#x20;

{% hint style="info" %}
You are only able to transfer ERC1155 tokens, which is in your developer wallet and the collection use Altura services.
{% endhint %}

### Usage in your script

```csharp
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()`**

<table><thead><tr><th width="193">Parameter</th><th width="80">Type</th><th width="105">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>destroyAtEnd</code></td><td><strong>bool</strong></td><td><strong>Optional</strong></td><td>defines if this component will be destroyed after <code>.Run()</code></td></tr></tbody></table>

**`.SetParameters()`**

<table><thead><tr><th width="193.33333333333331">Parameter</th><th width="88">Type</th><th width="109">Required</th><th>Description</th></tr></thead><tbody><tr><td>collection_addr</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>The item's collection address</td></tr><tr><td>token_id</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>The item's tokenId</td></tr><tr><td>amount</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>The quantity of this particular item you wish to transfer</td></tr><tr><td>to_addr</td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>The recipient's EVM-compatible address (0x...)</td></tr></tbody></table>

**`.onError()`**

*Action on Error: returns error information.*

**`.onComplete()`**

*Action on successful: returns* [*`Transfer_model`*](https://docs.altura.com/altura-documentation-1/schema#user-model-1) *type.*

**`.Run()`**

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