Commit a62c28f 1 parent 91bf6c1 commit a62c28f Copy full SHA for a62c28f
File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ service WalletService {
52
52
returns (ListTransactionsResponse );
53
53
rpc ListUnspentOutputs (ListUnspentOutputsRequest )
54
54
returns (ListUnspentOutputsResponse );
55
+ rpc GetInfo (GetInfoRequest )
56
+ returns (GetInfoResponse );
55
57
rpc SendTransaction (SendTransactionRequest )
56
58
returns (SendTransactionResponse );
57
59
rpc UnlockWallet (UnlockWalletRequest )
@@ -61,6 +63,22 @@ service WalletService {
61
63
returns (stream GenerateBlocksResponse );
62
64
}
63
65
66
+ message GetInfoRequest {
67
+ }
68
+
69
+ message GetInfoResponse {
70
+ // The network the wallet is on
71
+ string network = 1 ;
72
+
73
+ // Total number of transactions in the wallet
74
+ uint32 transaction_count = 2 ;
75
+
76
+ // Number of UTXOs in the wallet.
77
+ uint32 unspent_output_count = 3 ;
78
+
79
+ map <string , string > descriptors = 4 ;
80
+ }
81
+
64
82
message BroadcastWithdrawalBundleRequest {
65
83
google.protobuf.UInt32Value sidechain_id = 1 ;
66
84
google.protobuf.BytesValue transaction = 2 ;
You can’t perform that action at this time.
0 commit comments