Commit ef39dfd 1 parent e75cd6c commit ef39dfd Copy full SHA for ef39dfd
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 )
@@ -219,6 +221,22 @@ message GenerateBlocksResponse {
219
221
cusf.common.v1.ReverseHex block_hash = 1 ;
220
222
}
221
223
224
+ message GetInfoRequest {
225
+ }
226
+
227
+ message GetInfoResponse {
228
+ // The network the wallet is on
229
+ string network = 1 ;
230
+
231
+ // Total number of transactions in the wallet
232
+ uint32 transaction_count = 2 ;
233
+
234
+ // Number of UTXOs in the wallet.
235
+ uint32 unspent_output_count = 3 ;
236
+
237
+ map <string , string > descriptors = 4 ;
238
+ }
239
+
222
240
message ListUnspentOutputsRequest {
223
241
}
224
242
You can’t perform that action at this time.
0 commit comments