ERC1155
Functions
All ERC1155 functions are members of DefiWalletCoreActor. The Target should be Defi Wallet Core Actor.
Erc1155Balance
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
Erc1155BalanceOfBatch
Get erc-1155 balance of batch

Contract Address: erc1155 contract addressAccount Addresses account addresses to fetch balanceToken IDs: toiken ids to fetch balanceBalanceofbatch: balancesSuccess: whether succeed or notOutput message: error message, "" if succeed
Erc1155Uri
Get erc-1155 uri

Contract Address: erc1155 contract addressToken ID: token IDUri: get uriSuccess: whether succeed or notOutput message: error message, "" if succeed
Erc1155IsApprovedForAll
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
Erc1155SafeTransferFrom
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
Erc1155SafeBatchTransferFrom
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
Erc1155Approve
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
Last updated
Was this helpful?