aboutsummaryrefslogtreecommitdiff
path: root/src/external/stellar-freighter-api/@shared/api/external.d.ts
blob: 9755ca4d159772823b046f09b0e4e29dc9c94b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { UserInfo } from "./types";
export declare const requestPublicKey: () => Promise<string>;
export declare const submitTransaction: (transactionXdr: string, opts?: string | {
    network?: string | undefined;
    accountToSign?: string | undefined;
    networkPassphrase?: string | undefined;
} | undefined, accountToSign?: string | undefined) => Promise<string>;
export declare const submitBlob: (blob: string, opts?: {
    accountToSign?: string | undefined;
} | undefined) => Promise<string>;
export declare const submitAuthEntry: (entryXdr: string, opts?: {
    accountToSign?: string | undefined;
} | undefined) => Promise<string>;
export declare const requestNetwork: () => Promise<string>;
export declare const requestNetworkDetails: () => Promise<{
    network: string;
    networkUrl: string;
    networkPassphrase: string;
    sorobanRpcUrl?: string | undefined;
}>;
export declare const requestConnectionStatus: () => Promise<boolean>;
export declare const requestAllowedStatus: () => Promise<boolean>;
export declare const setAllowedStatus: () => Promise<boolean>;
export declare const requestUserInfo: () => Promise<UserInfo>;