UNPKG

@mobile-wallet-protocol/client

Version:
11 lines (10 loc) 481 B
import { RPCRequestMessage, RPCResponseMessage } from '../../core/message'; import { Wallet } from '../../core/wallet'; /** * Posts a request to a wallet and waits for the response. * * @param request - The request to send. * @param wallet - The wallet to send the request to. * @returns A promise that resolves to the response. */ export declare function postRequestToWallet(request: RPCRequestMessage, appCustomScheme: string, wallet: Wallet): Promise<RPCResponseMessage>;