Supported Actions
✅ Single Hex Conversion - Convert individual hexadecimal values to decimal with custom decimal scaling.
✅ Batch Hex Processing - Process multiple hex values efficiently in workflows using list operations.
✅ Token Balance Formatting - Automatically format token balances into human-readable formats.
✅ API Response Processing - Direct integration with blockchain and cryptocurrency API responses.
✅ Custom Decimal Scaling - Configure decimal places for different token standards (18 for Ethereum, 6 for USDC, etc.).
✅ Multiple Output Formats - Get raw decimal, adjusted decimal, string format, and human-readable format simultaneously.
✅ Input Validation - Comprehensive hex format validation with detailed error reporting.
✅ Large Number Support - Handle extremely large numbers using BigInt precision without overflow errors.
FAQ
Q: Can this plugin handle very large hexadecimal numbers from blockchain APIs?
A: Yes, the plugin uses BigInt precision to handle extremely large numbers without loss of accuracy, making it perfect for blockchain token amounts and transaction values.
Q: How do I process multiple hex values from an API response?
A: You can use Bubble's "Schedule API Workflow on a list" feature with this plugin to efficiently process hundreds of hex values. Each value is converted individually with full precision.
Q: What decimal formats are supported for token calculations?
A: The plugin supports any decimal configuration (default 18 for Ethereum tokens, but you can set it to 6 for USDC, 8 for Bitcoin, or any custom value) and automatically scales the results accordingly.
Q: Can I get both raw numbers and formatted display values?
A: Yes, the plugin returns multiple formats: raw decimal strings for calculations, adjusted decimal numbers for workflows, and human-readable formats like "2.73M" for display purposes.
Q: Does the plugin validate hexadecimal input formats?
A: Yes, the plugin automatically validates hex format, handles both "0x" prefixed and non-prefixed values, and provides clear error messages for invalid inputs.
Q: Is this plugin suitable for DeFi and cryptocurrency applications?
A: Absolutely! The plugin is specifically designed for blockchain applications, handling token balances, transaction amounts, and smart contract data with the precision required for financial calculations.
Q: Can I use this plugin for real-time token price and balance displays?
A: Yes, combine this plugin with API calls to display real-time token balances and prices in user-friendly formats, perfect for wallet applications and DeFi dashboards.
Q: What happens if a hex conversion fails?
A: The plugin includes comprehensive error handling, returning success/failure status and detailed error messages, allowing you to build robust workflows that gracefully handle conversion errors.
Editor link:
https://bubble.io/page?id=hextodecimal-86149&tab=Settings&name=index&subtab=General