UNPKG

@hot-labs/near-connect

Version:

![ezgif-26d74832f88c3c](https://github.com/user-attachments/assets/c4422057-38bb-4cd9-8bd0-568e29f46280)

21 lines (20 loc) 1.31 kB
import { NearConnector } from "./NearConnector"; import { Account, FinalExecutionOutcome, Network, SignAndSendTransactionsParams, SignAndSendTransactionParams, SignedMessage, SignMessageParams, WalletManifest, SignDelegateActionsParams, SignDelegateActionsResponse, type AccountWithSignedMessage, type SignInAndSignMessageParams, type SignInParams } from "./types"; export declare class ParentFrameWallet { readonly connector: NearConnector; readonly manifest: WalletManifest; constructor(connector: NearConnector, manifest: WalletManifest); callParentFrame(method: string, params: any): Promise<unknown>; signIn(data?: SignInParams): Promise<Array<Account>>; signInAndSignMessage(data: SignInAndSignMessageParams): Promise<Array<AccountWithSignedMessage>>; signOut(data?: { network?: Network; }): Promise<void>; getAccounts(data?: { network?: Network; }): Promise<Array<Account>>; signAndSendTransaction(params: SignAndSendTransactionParams): Promise<FinalExecutionOutcome>; signAndSendTransactions(params: SignAndSendTransactionsParams): Promise<Array<FinalExecutionOutcome>>; signMessage(params: SignMessageParams): Promise<SignedMessage>; signDelegateActions(params: SignDelegateActionsParams): Promise<SignDelegateActionsResponse>; }