@stratosphere-network/wallet
Version:
Wallet module for StratoSphere SDK
25 lines • 1.23 kB
TypeScript
import { BaseService } from "../base-service";
import { GetWalletInstanceRequest, WalletInstanceResponse, SignTransactionRequest, SignTransactionResponse, SendTransactionRequest, SendTransactionResponse, SignMessageRequest, SignMessageResponse } from "../types";
export declare class ProxyWalletService extends BaseService {
/**
* Get wallet instance information for a specific chain
* Returns wallet address, public key, provider info, and chain details
*/
getWalletInstance(request: GetWalletInstanceRequest): Promise<WalletInstanceResponse>;
/**
* Sign a transaction without broadcasting it
* Returns the signed transaction hex string
*/
signTransaction(request: SignTransactionRequest): Promise<SignTransactionResponse>;
/**
* Sign and broadcast a transaction to the network
* Returns the transaction receipt with hash and details
*/
sendTransaction(request: SendTransactionRequest): Promise<SendTransactionResponse>;
/**
* Sign a message with the user's private key
* Returns the signature and verification data
*/
signMessage(request: SignMessageRequest): Promise<SignMessageResponse>;
}
//# sourceMappingURL=proxy-wallet.d.ts.map