# Bulk Transfer ERC1155

Use this method to transfer multiple ERC1155 from the same collection.

{% hint style="info" %}
To trYou 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
TransferItems
  .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><code>collection_addr</code></td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>Address of the collection</td></tr><tr><td><code>token_id</code></td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>Item iD</td></tr><tr><td><code>amount</code></td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>amount of item to transfer</td></tr><tr><td><code>to_addr</code></td><td><strong>String</strong></td><td><strong>Yes</strong></td><td>target wallet address</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#transfer-model)*type.*

**`.Run()`**

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