03 January 2024 Bitcoin Segwit and Native spam filtering
Added support for Bitcoin and Litecoin Segwit addresses, as well as a native spam filter for ERC20, ERC721, and ERC1155 tokens for the Wallet-API and Wallet Widget.
Added
-
Bitcoin Segwit Address
Now you can transfer funds to a Bitcoin Segwit Address. -
Litecoin Segwit Address
Now you can transfer funds to a Litecoin Segwit Address. -
Spam Flag
Like other emerging technologies, ERC20 tokens and NFTs are attracting bad actors exploiting their novel features. To tackle this problem, we have introduced apossibleSpamflag which indicates whether or not an ERC20 token might be spam.The following endpoints will include a
possibleSpamboolean in the response bodies, and also a new query boolean parameter,includePossibleSpamwhich indicates whether or not to include the spam tokens in the response body.GET /api/wallets/{walletId}/balance/tokensGET /api/wallets/{walletId}/balance/tokens/{token}GET /api/wallets/{secretType}/{walletAddress}/balance/tokensGET /api/wallets/{secretType}/{walletAddress}/balance/tokens/{token}GET /api/wallets/{walletId}/nonfungiblesGET /api/wallets/nonfungiblesGET /api/wallets/{secretType}/{walletAddress}/nonfungibles
Fixed
- Error Messages
Error messages are now consistent and aligned for endpoints.