sendTransferNativeCoin method
Implementation
Future<BlockchainResponse> sendTransferNativeCoin(
{required TransferRequest transferRequest}) async {
if (blockchainServices[transferRequest.blockchainType] == null) {
throw Exception('Incorrect Blockchain');
}
final blockchainService =
blockchainServices[transferRequest.blockchainType];
final res = blockchainService?.sendTransferNativeCoin(transferRequest);
if (res == null) {
throw Exception('Incorrect Transfer');
}
return res;
}