All ERC1155 functions are members of DefiWalletCoreActor. The Target should be Defi Wallet Core Actor.
Get erc-1155 balance
Contract Address
: erc1155 contract addressAccount Address
: account address to fetch balanceToken ID
: toiken id to fetch balanceBalance
: to get balanceSuccess
: whether succeed or notOutput message
: error message, "" if succeed
Get erc-1155 balance of batch
Contract Address
: erc1155 contract addressAccount Address
es account addresses to fetch balanceToken IDs
: toiken ids to fetch balanceBalanceofbatch
: balancesSuccess
: whether succeed or notOutput message
: error message, "" if succeed
Get erc-1155 uri
Contract Address
: erc1155 contract addressToken ID
: token IDUri
: get uriSuccess
: whether succeed or notOutput message
: error message, "" if succeed
Get erc-1155 IsApprovedForAll
Contract Address
: erc1155 contract addressErc 1155owner
: owner addressErc 1155approvedaddress
: approved addressResult
: is approved for allSuccess
: whether succeed or notOutput message
: error message, "" if succeed
erc1155 Moves amount
tokens from from_address
to to_address
using the allowance mechanism.
Contract Address
: erc1155 contractWalletindex
: wallet index which starts from 0From Address
: from address to moveTo Address
: to addressTokenid
: token idAmount
: amountAdditionaldata
: additional dataOut
: Erc1155SafeTransferFrom callback
Batched version of safeTransferFrom.
Contract Address
: erc1155 contractWalletindex
: wallet index which starts from 0From Address
: from address to moveTo Address
: to addressTokenids
: token idsAmounts
: amountsAdditionaldata
: additional dataOut
: Erc1155SafeBatchTransferFrom callback
erc1155 Allows approved_address
to withdraw from your account multiple times, up to the amount
amount.
Contract Address
: erc1155 contractWalletindex
: wallet index which starts from 0Approved Address
: address to approveApproved
: approved or notOut
: Erc1155Approve callback