blockchain Service
Blockchain service for balance queries, fee calculations, and transaction operations.
This service provides a unified API for blockchain operations across different chain families (EVM, UTXO in the future). It automatically routes operations to the appropriate chain-specific service based on the network type.
Usage:
val balance = blockchainKitSdk.blockchainService.getBalance(asset, address)
val fee = blockchainKitSdk.blockchainService.calculateFees(tx, from)Content copied to clipboard
In Flutter:
final sdk = BlockchainKitSdk();
final balance = await sdk.blockchainService.getBalance(asset, address);Content copied to clipboard