@@ -118,7 +118,41 @@ const walletConnectCommands: WalletConnectCommand[] = [
118118 } ,
119119 ] ,
120120 } ,
121-
121+ {
122+ command : 'getCoinRecordsByNames' ,
123+ label : < Trans > Get Coin Records by Name</ Trans > ,
124+ description : < Trans > Requests the status of a list of coin records from the Wallet's coin store.</ Trans > ,
125+ service : ServiceName . WALLET ,
126+ bypassConfirm : true ,
127+ params : [
128+ {
129+ name : WalletConnectCommandParamName . NAMES ,
130+ type : 'object' , // bytes32[]
131+ label : < Trans > Names (coin ids)</ Trans > ,
132+ } ,
133+ {
134+ name : WalletConnectCommandParamName . START_HEIGHT ,
135+ type : 'number' ,
136+ label : < Trans > Start Height</ Trans > ,
137+ isOptional : true ,
138+ defaultValue : undefined ,
139+ } ,
140+ {
141+ name : WalletConnectCommandParamName . END_HEIGHT ,
142+ type : 'number' ,
143+ label : < Trans > End Height</ Trans > ,
144+ isOptional : true ,
145+ defaultValue : undefined ,
146+ } ,
147+ {
148+ name : WalletConnectCommandParamName . INCLUDE_SPENT_COINS ,
149+ type : 'boolean' ,
150+ label : < Trans > Include Spent Coins</ Trans > ,
151+ isOptional : true ,
152+ defaultValue : true ,
153+ } ,
154+ ] ,
155+ } ,
122156 {
123157 command : 'sendTransaction' ,
124158 label : < Trans > Send Transaction</ Trans > ,
@@ -318,6 +352,13 @@ const walletConnectCommands: WalletConnectCommand[] = [
318352 service : ServiceName . WALLET ,
319353 bypassConfirm : true ,
320354 } ,
355+ {
356+ command : 'getHeightInfo' ,
357+ label : < Trans > Get Height Info</ Trans > ,
358+ description : < Trans > Requests the current wallet sync height information</ Trans > ,
359+ service : ServiceName . WALLET ,
360+ bypassConfirm : true ,
361+ } ,
321362 {
322363 command : 'pushTx' ,
323364 label : < Trans > Push Transaction</ Trans > ,
@@ -1453,6 +1494,31 @@ const walletConnectCommands: WalletConnectCommand[] = [
14531494 ] ,
14541495 } ,
14551496
1497+ // Remote Wallets
1498+ {
1499+ command : 'createNewRemoteWallet' ,
1500+ label : < Trans > Create new Remote Wallet</ Trans > ,
1501+ service : ServiceName . WALLET ,
1502+ } ,
1503+ {
1504+ command : 'registerRemoteCoins' ,
1505+ label : < Trans > Register Remote Coins</ Trans > ,
1506+ description : < Trans > Registers a list of remote coin IDs with a remote wallet.</ Trans > ,
1507+ service : ServiceName . WALLET ,
1508+ params : [
1509+ {
1510+ name : WalletConnectCommandParamName . WALLET_ID ,
1511+ type : 'number' ,
1512+ label : < Trans > Wallet Id</ Trans > ,
1513+ } ,
1514+ {
1515+ name : WalletConnectCommandParamName . COIN_IDS ,
1516+ type : 'object' , // bytes32[]
1517+ label : < Trans > Coin Ids</ Trans > ,
1518+ } ,
1519+ ] ,
1520+ } ,
1521+
14561522 // DIDs
14571523 {
14581524 command : 'createNewDIDWallet' ,
0 commit comments