File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
22WALLET_ASYNC_METHOD (getbalance)
33WALLET_METHOD(getaddress)
4- WALLET_METHOD (get_wallet_info)
4+ WALLET_ASYNC_METHOD (get_wallet_info)
55WALLET_ASYNC_METHOD(get_recent_txs_and_info)
66WALLET_ASYNC_METHOD(get_recent_txs_and_info2)
77WALLET_ASYNC_METHOD(transfer)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { HybridObject } from 'react-native-nitro-modules';
33export interface WalletRpc extends HybridObject < { ios : 'c++' ; android : 'c++' } > {
44 getbalance ( instance_id : number , params : string ) : Promise < string > ;
55 getaddress ( instance_id : number , params : string ) : string ;
6- get_wallet_info ( instance_id : number , params : string ) : string ;
6+ get_wallet_info ( instance_id : number , params : string ) : Promise < string > ;
77 get_recent_txs_and_info ( instance_id : number , params : string ) : Promise < string > ;
88 get_recent_txs_and_info2 ( instance_id : number , params : string ) : Promise < string > ;
99 transfer ( instance_id : number , params : string ) : Promise < string > ;
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ export interface IWalletRpc extends WalletRpc {
835835 /** Obtains wallet's public address */
836836 getaddress : WalletMethod < INVOKE_RPC_GET_ADDRESS_REQUEST , INVOKE_RPC_GET_ADDRESS_RESPONSE > ;
837837 /** Returns wallet helpful wallet information */
838- get_wallet_info : WalletMethod < INVOKE_RPC_GET_WALLET_INFO_REQUEST , INVOKE_RPC_GET_WALLET_INFO_RESPONSE > ;
838+ get_wallet_info : WalletAsyncMethod < INVOKE_RPC_GET_WALLET_INFO_REQUEST , INVOKE_RPC_GET_WALLET_INFO_RESPONSE > ;
839839 /** Returns wallet history of transactions */
840840 get_recent_txs_and_info : WalletAsyncMethod < INVOKE_RPC_GET_RECENT_TXS_AND_INFO_REQUEST , INVOKE_RPC_GET_RECENT_TXS_AND_INFO_RESPONSE > ;
841841 /** Returns wallet history of transactions V2 (post-zarcanum version) */
You can’t perform that action at this time.
0 commit comments