ERC1155
Last updated
Last updated
All ERC1155 functions are members of DefiWalletCoreActor. The Target should be Defi Wallet Core Actor.
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
Get erc-1155 balance of batch
Contract Address
: erc1155 contract address
Account Address
es 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
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
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
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
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
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