PHP WebShell
Текущая директория: /opt/BitGoJS/modules/abstract-lightning/dist/src/codecs/api
Просмотр файла: withdraw.d.ts
import * as t from 'io-ts';
import { PendingApprovalData, TxRequestState } from '@bitgo/sdk-core';
export declare const LightningOnchainWithdrawParams: t.TypeC<{
recipients: t.ArrayC<t.TypeC<{
amountSat: import("io-ts-types").BigIntFromStringC;
address: t.StringC;
}>>;
satsPerVbyte: import("io-ts-types").BigIntFromStringC;
}>;
export type LightningOnchainWithdrawParams = t.TypeOf<typeof LightningOnchainWithdrawParams>;
export type LightningOnchainWithdrawResponse = {
/**
* Unique identifier for withdraw request submitted to BitGo.
*/
txRequestId: string;
/**
* Status of withdraw request submission to BitGo.
* - `'delivered'`: Successfully received by BitGo, but may or may not have been sent to the Bitcoin network yet.
* - For the actual withdraw status, track `transfer`.
*/
txRequestState: TxRequestState;
/**
* Pending approval details, if applicable.
* - If present, withdraw has not been initiated yet.
*/
pendingApproval?: PendingApprovalData;
/**
* Latest transfer details for this withdraw request (if available).
* - Provides the current state of the transfer.
* - To track the latest withdraw status, monitor `transfer` asynchronously.
* This field is absent if approval is required before processing.
*/
transfer?: any;
};
//# sourceMappingURL=withdraw.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!