File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -477,17 +477,22 @@ export type EdgeCurrencyWallet = {
477477 getEnabledTokens ( ) : Promise < Array < string >> ,
478478 addCustomToken ( token : EdgeTokenInfo ) : Promise < mixed > ,
479479
480- // Transactions :
480+ // Transaction history :
481481 getNumTransactions ( opts ?: EdgeCurrencyCodeOptions ) : Promise < number > ,
482482 getTransactions (
483483 opts ? : EdgeGetTransactionsOptions
484484 ) : Promise < Array < EdgeTransaction >> ,
485+
486+ // Addresses:
485487 getReceiveAddress (
486488 opts ? : EdgeCurrencyCodeOptions
487489 ) : Promise < EdgeReceiveAddress > ,
488490 saveReceiveAddress ( receiveAddress : EdgeReceiveAddress ) : Promise < mixed > ,
489491 lockReceiveAddress ( receiveAddress : EdgeReceiveAddress ) : Promise < mixed > ,
492+
493+ // Sending:
490494 makeSpend ( spendInfo : EdgeSpendInfo ) : Promise < EdgeTransaction > ,
495+ makeStakeTransaction ?: ( stakeInfo : Object ) => Promise < EdgeTransaction > ,
491496 signTx ( tx : EdgeTransaction ) : Promise < EdgeTransaction > ,
492497 broadcastTx ( tx : EdgeTransaction ) : Promise < EdgeTransaction > ,
493498 saveTx ( tx : EdgeTransaction ) : Promise < mixed > ,
You can’t perform that action at this time.
0 commit comments