ERC1155
Last updated
Last updated
Get the specified address' balance for token with specified ID.
Parameters
Name | Type | Description |
---|---|---|
Return Values
Name | Type | Description |
---|---|---|
Get the balance of multiple account/token pairs
Parameters
Return Values
Sets or unsets the approval of a given operator An operator is allowed to transfer all tokens of the sender on their behalf
Parameters
Queries the approval status of an operator for a given owner.
Parameters
Return Values
Transfers value
amount of an id
from the from
address to the to
address specified. Caller must be approved to manage the tokens being transferred out of the from
account. If to
is a smart contract, will call onERC1155Received
on to
and act appropriately.
Parameters
Transfers values
amount(s) of ids
from the from
address to the to
address specified. Caller must be approved to manage the tokens being transferred out of the from
account. If to
is a smart contract, will call onERC1155BatchReceived
on to
and act appropriately.
Parameters
Internal function to mint an amount of a token with the given ID
Parameters
Internal function to batch mint amounts of tokens with the given IDs
Parameters
Internal function to burn an amount of a token with the given ID
Parameters
Internal function to batch burn an amounts of tokens with the given IDs
Parameters
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
owner
address
The address of the token holder
id
uint256
ID of the token
[0]
uint256
The owner's balance of the token type requested
owners
address[]
The addresses of the token holders
ids
uint256[]
IDs of the tokens
[0]
uint256[]
Balances for each owner and token id pair
operator
address
address to set the approval
approved
bool
representing the status of the approval to be set
owner
address
The owner of the Tokens
operator
address
Address of authorized operator
[0]
bool
True if the operator is approved, false if not
from
address
Source address
to
address
Target address
id
uint256
ID of the token type
value
uint256
Transfer amount
data
bytes
Data forwarded to onERC1155Received
if to
is a contract receiver
from
address
Source address
to
address
Target address
ids
uint256[]
IDs of each token type
values
uint256[]
Transfer amounts per token type
data
bytes
Data forwarded to onERC1155Received
if to
is a contract receiver
to
address
The address that will own the minted token
id
uint256
ID of the token to be minted
value
uint256
Amount of the token to be minted
data
bytes
Data forwarded to onERC1155Received
if to
is a contract receiver
to
address
The address that will own the minted token
ids
uint256[]
IDs of the tokens to be minted
values
uint256[]
Amounts of the tokens to be minted
data
bytes
Data forwarded to onERC1155Received
if to
is a contract receiver
owner
address
Account which owns the token to be burnt
id
uint256
ID of the token to be burnt
value
uint256
Amount of the token to be burnt
owner
address
Account which owns the token to be burnt
ids
uint256[]
IDs of the tokens to be burnt
values
uint256[]
Amounts of the tokens to be burnt