PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/abstract-utxo/dist/src/offlineVault
Просмотр файла: OfflineVaultSignable.d.ts
import * as utxolib from '@bitgo/utxo-lib';
import { Triple } from '@bitgo/sdk-core';
import * as t from 'io-ts';
export declare const XPubWithDerivationPath: t.IntersectionC<[t.TypeC<{
xpub: t.StringC;
}>, t.PartialC<{
derivedFromParentWithSeed: t.StringC;
}>]>;
export type XPubWithDerivationPath = t.TypeOf<typeof XPubWithDerivationPath>;
/**
* This is the transaction payload that is sent to the offline vault to sign.
*/
export declare const OfflineVaultSignable: t.TypeC<{
xpubsWithDerivationPath: t.TypeC<{
user: t.IntersectionC<[t.TypeC<{
xpub: t.StringC;
}>, t.PartialC<{
derivedFromParentWithSeed: t.StringC;
}>]>;
backup: t.IntersectionC<[t.TypeC<{
xpub: t.StringC;
}>, t.PartialC<{
derivedFromParentWithSeed: t.StringC;
}>]>;
bitgo: t.IntersectionC<[t.TypeC<{
xpub: t.StringC;
}>, t.PartialC<{
derivedFromParentWithSeed: t.StringC;
}>]>;
}>;
coinSpecific: t.TypeC<{
txHex: t.StringC;
}>;
}>;
export type OfflineVaultUnsigned = t.TypeOf<typeof OfflineVaultSignable>;
type WithXpub = {
xpub: string;
};
type NamedKeys = {
user: WithXpub;
backup: WithXpub;
bitgo: WithXpub;
};
export declare function toKeyTriple(xpubs: NamedKeys): Triple<utxolib.BIP32Interface>;
export {};
//# sourceMappingURL=OfflineVaultSignable.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!