ERC1155

Methods

balanceOf

function balanceOf(address, uint256) external view returns (uint256)

Get the balance of an account's Tokens.

Parameters

Name
Type
Description

_0

address

undefined

_1

uint256

undefined

Returns

Name
Type
Description

_0

uint256

The _owner's balance of the Token type requested

balanceOfBatch

function balanceOfBatch(address[] accounts, uint256[] ids) external view returns (uint256[])

Parameters

Name
Type
Description

accounts

address[]

undefined

ids

uint256[]

undefined

Returns

Name
Type
Description

_0

uint256[]

undefined

isApprovedForAll

Queries the approval status of an operator for a given owner.

Parameters

Name
Type
Description

_0

address

undefined

_1

address

undefined

Returns

Name
Type
Description

_0

bool

True if the operator is approved, false if not

name

Returns

Name
Type
Description

_0

string

undefined

safeBatchTransferFrom

Parameters

Name
Type
Description

from

address

undefined

to

address

undefined

ids

uint256[]

undefined

amounts

uint256[]

undefined

data

bytes

undefined

safeTransferFrom

Parameters

Name
Type
Description

from

address

undefined

to

address

undefined

id

uint256

undefined

amount

uint256

undefined

data

bytes

undefined

setApprovalForAll

Parameters

Name
Type
Description

operator

address

undefined

approved

bool

undefined

supportsInterface

Parameters

Name
Type
Description

interfaceId

bytes4

undefined

Returns

Name
Type
Description

_0

bool

undefined

symbol

Returns

Name
Type
Description

_0

string

undefined

uri

Parameters

Name
Type
Description

tokenId

uint256

undefined

Returns

Name
Type
Description

_0

string

undefined

Events

ApprovalForAll

Parameters

Name
Type
Description

_owner indexed

address

undefined

_operator indexed

address

undefined

_approved

bool

undefined

TransferBatch

Parameters

Name
Type
Description

_operator indexed

address

undefined

_from indexed

address

undefined

_to indexed

address

undefined

_ids

uint256[]

undefined

_values

uint256[]

undefined

TransferSingle

Parameters

Name
Type
Description

_operator indexed

address

undefined

_from indexed

address

undefined

_to indexed

address

undefined

_id

uint256

undefined

_value

uint256

undefined

URI

Parameters

Name
Type
Description

_value

string

undefined

_id indexed

uint256

undefined

Last updated