content: // This file is automatically generated, so please do not edit it.
  // @generated by `flutter_rust_bridge`@ 2.9.0.
  
  // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
  
  import '../frb_generated.dart';
  import 'error.dart';
  import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
  
  class Blockchain {
    const Blockchain();
  
    /// Broadcast a signed pset
    static Future<String> broadcastSignedPset(
            {required String electrumUrl, required String signedPset}) =>
        LwkCore.instance.api.crateApiBlockchainBlockchainBroadcastSignedPset(
            electrumUrl: electrumUrl, signedPset: signedPset);
  
    /// Broadcast transaction bytes
    static Future<String> broadcastTxBytes(
            {required String electrumUrl, required List<int> txBytes}) =>
        LwkCore.instance.api.crateApiBlockchainBlockchainBroadcastTxBytes(
            electrumUrl: electrumUrl, txBytes: txBytes);
  
    Future<void> test({required String electrumUrl}) => LwkCore.instance.api
        .crateApiBlockchainBlockchainTest(that: this, electrumUrl: electrumUrl);
  
    @override
    int get hashCode => 0;
  
    @override
    bool operator ==(Object other) =>
        identical(this, other) ||
        other is Blockchain && runtimeType == other.runtimeType;
  }
  