@@ -263,6 +263,43 @@ class BTCPubRequest(google.protobuf.message.Message):
263
263
264
264
global___BTCPubRequest = BTCPubRequest
265
265
266
+ @typing .final
267
+ class BTCXpubsRequest (google .protobuf .message .Message ):
268
+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
269
+
270
+ class _XPubType :
271
+ ValueType = typing .NewType ("ValueType" , builtins .int )
272
+ V : typing_extensions .TypeAlias = ValueType
273
+
274
+ class _XPubTypeEnumTypeWrapper (google .protobuf .internal .enum_type_wrapper ._EnumTypeWrapper [BTCXpubsRequest ._XPubType .ValueType ], builtins .type ):
275
+ DESCRIPTOR : google .protobuf .descriptor .EnumDescriptor
276
+ UNKNOWN : BTCXpubsRequest ._XPubType .ValueType # 0
277
+ XPUB : BTCXpubsRequest ._XPubType .ValueType # 1
278
+ TPUB : BTCXpubsRequest ._XPubType .ValueType # 2
279
+
280
+ class XPubType (_XPubType , metaclass = _XPubTypeEnumTypeWrapper ): ...
281
+ UNKNOWN : BTCXpubsRequest .XPubType .ValueType # 0
282
+ XPUB : BTCXpubsRequest .XPubType .ValueType # 1
283
+ TPUB : BTCXpubsRequest .XPubType .ValueType # 2
284
+
285
+ COIN_FIELD_NUMBER : builtins .int
286
+ XPUB_TYPE_FIELD_NUMBER : builtins .int
287
+ KEYPATHS_FIELD_NUMBER : builtins .int
288
+ coin : global___BTCCoin .ValueType
289
+ xpub_type : global___BTCXpubsRequest .XPubType .ValueType
290
+ @property
291
+ def keypaths (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [common_pb2 .Keypath ]: ...
292
+ def __init__ (
293
+ self ,
294
+ * ,
295
+ coin : global___BTCCoin .ValueType = ...,
296
+ xpub_type : global___BTCXpubsRequest .XPubType .ValueType = ...,
297
+ keypaths : collections .abc .Iterable [common_pb2 .Keypath ] | None = ...,
298
+ ) -> None : ...
299
+ def ClearField (self , field_name : typing .Literal ["coin" , b"coin" , "keypaths" , b"keypaths" , "xpub_type" , b"xpub_type" ]) -> None : ...
300
+
301
+ global___BTCXpubsRequest = BTCXpubsRequest
302
+
266
303
@typing .final
267
304
class BTCScriptConfigWithKeypath (google .protobuf .message .Message ):
268
305
DESCRIPTOR : google .protobuf .descriptor .Descriptor
@@ -826,6 +863,7 @@ class BTCRequest(google.protobuf.message.Message):
826
863
SIGN_MESSAGE_FIELD_NUMBER : builtins .int
827
864
ANTIKLEPTO_SIGNATURE_FIELD_NUMBER : builtins .int
828
865
PAYMENT_REQUEST_FIELD_NUMBER : builtins .int
866
+ XPUBS_FIELD_NUMBER : builtins .int
829
867
@property
830
868
def is_script_config_registered (self ) -> global___BTCIsScriptConfigRegisteredRequest : ...
831
869
@property
@@ -842,6 +880,8 @@ class BTCRequest(google.protobuf.message.Message):
842
880
def antiklepto_signature (self ) -> antiklepto_pb2 .AntiKleptoSignatureRequest : ...
843
881
@property
844
882
def payment_request (self ) -> global___BTCPaymentRequestRequest : ...
883
+ @property
884
+ def xpubs (self ) -> global___BTCXpubsRequest : ...
845
885
def __init__ (
846
886
self ,
847
887
* ,
@@ -853,10 +893,11 @@ class BTCRequest(google.protobuf.message.Message):
853
893
sign_message : global___BTCSignMessageRequest | None = ...,
854
894
antiklepto_signature : antiklepto_pb2 .AntiKleptoSignatureRequest | None = ...,
855
895
payment_request : global___BTCPaymentRequestRequest | None = ...,
896
+ xpubs : global___BTCXpubsRequest | None = ...,
856
897
) -> None : ...
857
- def HasField (self , field_name : typing .Literal ["antiklepto_signature" , b"antiklepto_signature" , "is_script_config_registered" , b"is_script_config_registered" , "payment_request" , b"payment_request" , "prevtx_init" , b"prevtx_init" , "prevtx_input" , b"prevtx_input" , "prevtx_output" , b"prevtx_output" , "register_script_config" , b"register_script_config" , "request" , b"request" , "sign_message" , b"sign_message" ]) -> builtins .bool : ...
858
- def ClearField (self , field_name : typing .Literal ["antiklepto_signature" , b"antiklepto_signature" , "is_script_config_registered" , b"is_script_config_registered" , "payment_request" , b"payment_request" , "prevtx_init" , b"prevtx_init" , "prevtx_input" , b"prevtx_input" , "prevtx_output" , b"prevtx_output" , "register_script_config" , b"register_script_config" , "request" , b"request" , "sign_message" , b"sign_message" ]) -> None : ...
859
- def WhichOneof (self , oneof_group : typing .Literal ["request" , b"request" ]) -> typing .Literal ["is_script_config_registered" , "register_script_config" , "prevtx_init" , "prevtx_input" , "prevtx_output" , "sign_message" , "antiklepto_signature" , "payment_request" ] | None : ...
898
+ def HasField (self , field_name : typing .Literal ["antiklepto_signature" , b"antiklepto_signature" , "is_script_config_registered" , b"is_script_config_registered" , "payment_request" , b"payment_request" , "prevtx_init" , b"prevtx_init" , "prevtx_input" , b"prevtx_input" , "prevtx_output" , b"prevtx_output" , "register_script_config" , b"register_script_config" , "request" , b"request" , "sign_message" , b"sign_message" , "xpubs" , b"xpubs" ]) -> builtins .bool : ...
899
+ def ClearField (self , field_name : typing .Literal ["antiklepto_signature" , b"antiklepto_signature" , "is_script_config_registered" , b"is_script_config_registered" , "payment_request" , b"payment_request" , "prevtx_init" , b"prevtx_init" , "prevtx_input" , b"prevtx_input" , "prevtx_output" , b"prevtx_output" , "register_script_config" , b"register_script_config" , "request" , b"request" , "sign_message" , b"sign_message" , "xpubs" , b"xpubs" ]) -> None : ...
900
+ def WhichOneof (self , oneof_group : typing .Literal ["request" , b"request" ]) -> typing .Literal ["is_script_config_registered" , "register_script_config" , "prevtx_init" , "prevtx_input" , "prevtx_output" , "sign_message" , "antiklepto_signature" , "payment_request" , "xpubs" ] | None : ...
860
901
861
902
global___BTCRequest = BTCRequest
862
903
@@ -869,6 +910,7 @@ class BTCResponse(google.protobuf.message.Message):
869
910
SIGN_NEXT_FIELD_NUMBER : builtins .int
870
911
SIGN_MESSAGE_FIELD_NUMBER : builtins .int
871
912
ANTIKLEPTO_SIGNER_COMMITMENT_FIELD_NUMBER : builtins .int
913
+ PUBS_FIELD_NUMBER : builtins .int
872
914
@property
873
915
def success (self ) -> global___BTCSuccess : ...
874
916
@property
@@ -879,6 +921,8 @@ class BTCResponse(google.protobuf.message.Message):
879
921
def sign_message (self ) -> global___BTCSignMessageResponse : ...
880
922
@property
881
923
def antiklepto_signer_commitment (self ) -> antiklepto_pb2 .AntiKleptoSignerCommitment : ...
924
+ @property
925
+ def pubs (self ) -> common_pb2 .PubsResponse : ...
882
926
def __init__ (
883
927
self ,
884
928
* ,
@@ -887,9 +931,10 @@ class BTCResponse(google.protobuf.message.Message):
887
931
sign_next : global___BTCSignNextResponse | None = ...,
888
932
sign_message : global___BTCSignMessageResponse | None = ...,
889
933
antiklepto_signer_commitment : antiklepto_pb2 .AntiKleptoSignerCommitment | None = ...,
934
+ pubs : common_pb2 .PubsResponse | None = ...,
890
935
) -> None : ...
891
- def HasField (self , field_name : typing .Literal ["antiklepto_signer_commitment" , b"antiklepto_signer_commitment" , "is_script_config_registered" , b"is_script_config_registered" , "response" , b"response" , "sign_message" , b"sign_message" , "sign_next" , b"sign_next" , "success" , b"success" ]) -> builtins .bool : ...
892
- def ClearField (self , field_name : typing .Literal ["antiklepto_signer_commitment" , b"antiklepto_signer_commitment" , "is_script_config_registered" , b"is_script_config_registered" , "response" , b"response" , "sign_message" , b"sign_message" , "sign_next" , b"sign_next" , "success" , b"success" ]) -> None : ...
893
- def WhichOneof (self , oneof_group : typing .Literal ["response" , b"response" ]) -> typing .Literal ["success" , "is_script_config_registered" , "sign_next" , "sign_message" , "antiklepto_signer_commitment" ] | None : ...
936
+ def HasField (self , field_name : typing .Literal ["antiklepto_signer_commitment" , b"antiklepto_signer_commitment" , "is_script_config_registered" , b"is_script_config_registered" , "pubs" , b"pubs" , " response" , b"response" , "sign_message" , b"sign_message" , "sign_next" , b"sign_next" , "success" , b"success" ]) -> builtins .bool : ...
937
+ def ClearField (self , field_name : typing .Literal ["antiklepto_signer_commitment" , b"antiklepto_signer_commitment" , "is_script_config_registered" , b"is_script_config_registered" , "pubs" , b"pubs" , " response" , b"response" , "sign_message" , b"sign_message" , "sign_next" , b"sign_next" , "success" , b"success" ]) -> None : ...
938
+ def WhichOneof (self , oneof_group : typing .Literal ["response" , b"response" ]) -> typing .Literal ["success" , "is_script_config_registered" , "sign_next" , "sign_message" , "antiklepto_signer_commitment" , "pubs" ] | None : ...
894
939
895
940
global___BTCResponse = BTCResponse
0 commit comments