@@ -417,18 +417,23 @@ message PublishAndLogRequest {
417
417
}
418
418
419
419
message NextInternalKeyRequest {
420
+ // The key family to derive the next internal key for.
420
421
uint32 key_family = 1 ;
421
422
}
422
423
423
424
message NextInternalKeyResponse {
425
+ // The full key descriptor of the internal key that was derived.
424
426
taprpc.KeyDescriptor internal_key = 1 ;
425
427
}
426
428
427
429
message NextScriptKeyRequest {
430
+ // The key family to derive the next script key for.
428
431
uint32 key_family = 1 ;
429
432
}
430
433
431
434
message NextScriptKeyResponse {
435
+ // The full script key information that was derived, including the
436
+ // internal key and the tweaked script key.
432
437
taprpc.ScriptKey script_key = 1 ;
433
438
}
434
439
@@ -439,6 +444,7 @@ message QueryInternalKeyRequest {
439
444
}
440
445
441
446
message QueryInternalKeyResponse {
447
+ // The full key descriptor of the internal key that was queried.
442
448
taprpc.KeyDescriptor internal_key = 1 ;
443
449
}
444
450
@@ -450,14 +456,21 @@ message QueryScriptKeyRequest {
450
456
}
451
457
452
458
message QueryScriptKeyResponse {
459
+ // The full script key information that was queried, including the
460
+ // internal key and the tweaked script key.
453
461
taprpc.ScriptKey script_key = 1 ;
454
462
}
455
463
456
464
message ProveAssetOwnershipRequest {
465
+ // The asset ID of the asset to prove ownership of. This is the 32-byte
466
+ // asset ID that identifies a particular asset or tranche of assets.
457
467
bytes asset_id = 1 ;
458
468
469
+ // The script key that is used to spend the asset.
459
470
bytes script_key = 2 ;
460
471
472
+ // The outpoint of the asset UTXO that is being proven to be owned by the
473
+ // prover.
461
474
taprpc.OutPoint outpoint = 3 ;
462
475
463
476
// An optional 32-byte challenge that may be used to bind the generated
@@ -471,6 +484,8 @@ message ProveAssetOwnershipResponse {
471
484
}
472
485
473
486
message VerifyAssetOwnershipRequest {
487
+ // The full ownership proof that was generated, including the witness data
488
+ // that contains the proving signature.
474
489
bytes proof_with_witness = 1 ;
475
490
476
491
// An optional 32-byte challenge that may be used to check the ownership
@@ -480,6 +495,7 @@ message VerifyAssetOwnershipRequest {
480
495
}
481
496
482
497
message VerifyAssetOwnershipResponse {
498
+ // Whether the ownership proof is valid or not.
483
499
bool valid_proof = 1 ;
484
500
485
501
// The outpoint the proof commits to.
@@ -507,9 +523,12 @@ message RemoveUTXOLeaseResponse {
507
523
}
508
524
509
525
message DeclareScriptKeyRequest {
526
+ // The script key the wallet should be informed about.
510
527
taprpc.ScriptKey script_key = 1 ;
511
528
}
512
529
513
530
message DeclareScriptKeyResponse {
531
+ // The script key that was declared, including the internal key and the
532
+ // tweaked script key.
514
533
taprpc.ScriptKey script_key = 1 ;
515
534
}
0 commit comments