# ERC1155

## Functions

All ERC1155 functions are members of **DefiWalletCoreActor**. The Target should be **Defi Wallet Core Actor**.

### Erc1155Balance

Get erc-1155 balance

<figure><img src="/files/qKHke8Ro2I945yNvuZrV" alt=""><figcaption></figcaption></figure>

* `Contract Address`: erc1155 contract address
* `Account Address`: account address to fetch balance
* `Token ID`: toiken id to fetch balance
* `Balance`: to get balance
* `Success`: whether succeed or not
* `Output message`: error message, "" if succeed

### Erc1155BalanceOfBatch

Get erc-1155 balance of batch

<figure><img src="/files/lPWWBMUAg73qxJSrjMsb" alt=""><figcaption></figcaption></figure>

* `Contract Address`: erc1155 contract address
* `Account Address`es account addresses to fetch balance
* `Token IDs`: toiken ids to fetch balance
* `Balanceofbatch`: balances
* `Success`: whether succeed or not
* `Output message`: error message, "" if succeed

### Erc1155Uri

Get erc-1155 uri

<figure><img src="/files/n6BNtfSZPHD8MOL9Dc29" alt=""><figcaption></figcaption></figure>

* `Contract Address`: erc1155 contract address
* `Token ID`: token ID
* `Uri`: get uri
* `Success`: whether succeed or not
* `Output message`: error message, "" if succeed

### Erc1155IsApprovedForAll

Get erc-1155 IsApprovedForAll

<figure><img src="/files/7v6YoCLRIP8UEI0f5Ea3" alt=""><figcaption></figcaption></figure>

* `Contract Address`: erc1155 contract address
* `Erc 1155owner`: owner address
* `Erc 1155approvedaddress`: approved address
* `Result`: is approved for all
* `Success`: whether succeed or not
* `Output message`: error message, "" if succeed

### Erc1155SafeTransferFrom

erc1155 Moves `amount` tokens from `from_address` to `to_address` using the allowance mechanism.

<figure><img src="/files/G7EFNFGvf4bOw53d9GVa" alt=""><figcaption></figcaption></figure>

* `Contract Address`: erc1155 contract
* `Walletindex`: wallet index which starts from 0
* `From Address`: from address to move
* `To Address`: to address
* `Tokenid`: token id
* `Amount`: amount
* `Additionaldata`: additional data
* `Out`: Erc1155SafeTransferFrom callback

### Erc1155SafeBatchTransferFrom

Batched version of safeTransferFrom.

<figure><img src="/files/bDiQ4HekUlcel9lWK0Od" alt=""><figcaption></figcaption></figure>

* `Contract Address`: erc1155 contract
* `Walletindex`: wallet index which starts from 0
* `From Address`: from address to move
* `To Address`: to address
* `Tokenids`: token ids
* `Amounts`: amounts
* `Additionaldata`: additional data
* `Out`: Erc1155SafeBatchTransferFrom callback

### Erc1155Approve

erc1155 Allows `approved_address` to withdraw from your account multiple times, up to the `amount` amount.

<figure><img src="/files/hIfvYTivSX3lu9cX1nOP" alt=""><figcaption></figcaption></figure>

* `Contract Address`: erc1155 contract
* `Walletindex`: wallet index which starts from 0
* `Approved Address`: address to approve
* `Approved`: approved or not
* `Out`: Erc1155Approve callback


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cronos.org/cronos-play/getting-started_unreal/quick-start/erc1155.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
