diff options
| author | kaotisk <kaotisk@arching-kaos.org> | 2023-12-27 16:29:28 +0200 | 
|---|---|---|
| committer | kaotisk <kaotisk@arching-kaos.org> | 2023-12-27 16:29:28 +0200 | 
| commit | 1904a913b84e01e902173e782ab45e0e3b4ccf8d (patch) | |
| tree | 016cd489ec4b3c6b905a9d0d837bcafe8daeb8a6 /src/external/stellar-freighter-api/@shared/api/external.d.ts | |
| parent | 34b89f42c737955e510ba058a126b33cba6d2bb6 (diff) | |
| download | arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.tar.gz arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.tar.bz2 arching-kaos-web-ui-1904a913b84e01e902173e782ab45e0e3b4ccf8d.zip  | |
Use only local libraries
Diffstat (limited to 'src/external/stellar-freighter-api/@shared/api/external.d.ts')
| -rw-r--r-- | src/external/stellar-freighter-api/@shared/api/external.d.ts | 24 | 
1 files changed, 24 insertions, 0 deletions
diff --git a/src/external/stellar-freighter-api/@shared/api/external.d.ts b/src/external/stellar-freighter-api/@shared/api/external.d.ts new file mode 100644 index 0000000..9755ca4 --- /dev/null +++ b/src/external/stellar-freighter-api/@shared/api/external.d.ts @@ -0,0 +1,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>;  | 
