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 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

  • Contract Address: erc1155 contract address

  • Account Addresses 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

  • 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

  • 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.

  • 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.

  • 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.

  • Contract Address: erc1155 contract

  • Walletindex: wallet index which starts from 0

  • Approved Address: address to approve

  • Approved: approved or not

  • Out: Erc1155Approve callback

Last updated