PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/abstract-utxo/dist/src/transaction

Просмотр файла: bip322.d.ts

import * as t from 'io-ts';
declare const BIP322MessageInfo: t.TypeC<{
    address: t.StringC;
    message: t.StringC;
    pubkeys: t.ArrayC<t.StringC>;
    scriptType: t.UnionC<[t.LiteralC<"p2sh">, t.LiteralC<"p2shP2wsh">, t.LiteralC<"p2wsh">, t.LiteralC<"p2tr">, t.LiteralC<"p2trMusig2">]>;
}>;
export type BIP322MessageInfo = t.TypeOf<typeof BIP322MessageInfo>;
declare const BIP322MessageBroadcastable: t.TypeC<{
    txHex: t.StringC;
    messageInfo: t.ArrayC<t.TypeC<{
        address: t.StringC;
        message: t.StringC;
        pubkeys: t.ArrayC<t.StringC>;
        scriptType: t.UnionC<[t.LiteralC<"p2sh">, t.LiteralC<"p2shP2wsh">, t.LiteralC<"p2wsh">, t.LiteralC<"p2tr">, t.LiteralC<"p2trMusig2">]>;
    }>>;
}>;
export type BIP322MessageBroadcastable = t.TypeOf<typeof BIP322MessageBroadcastable>;
export declare function serializeBIP322BroadcastableMessage(message: BIP322MessageBroadcastable): string;
export declare function deserializeBIP322BroadcastableMessage(hex: string): BIP322MessageBroadcastable;
export declare function verifyTransactionFromBroadcastableMessage(message: BIP322MessageBroadcastable, coinName: string): boolean;
export declare function generateBIP322MessageListAndVerifyFromMessageBroadcastable(messageBroadcastables: BIP322MessageBroadcastable[], coinName: string): {
    address: string;
    message: string;
}[];
export {};
//# sourceMappingURL=bip322.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!