/** * barkd REST API * A simple REST API for barkd, a wallet daemon for integrating bitcoin payments into your app over HTTP. Supports self-custodial Lightning, Ark, and on-chain out of the box. barkd is a long-running daemon best suited for always-on or high-connectivity environments like nodes, servers, desktops, and point-of-sale terminals. All endpoints return JSON. Amounts are denominated in satoshis. * * The version of the OpenAPI document: 0.6.1 * Contact: hello@second.tech * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ExitTxStatus } from './ExitTxStatus'; /** * * @export * @interface ExitErrorOneOf18 */ export interface ExitErrorOneOf18 { /** * * @type {string} * @memberof ExitErrorOneOf18 */ error: string; /** * * @type {ExitTxStatus} * @memberof ExitErrorOneOf18 */ status: ExitTxStatus; /** * * @type {string} * @memberof ExitErrorOneOf18 */ txid: string; /** * * @type {ExitErrorOneOf18TypeEnum} * @memberof ExitErrorOneOf18 */ type: ExitErrorOneOf18TypeEnum; } /** * @export */ export declare const ExitErrorOneOf18TypeEnum: { readonly InvalidExitTransactionStatus: "invalid-exit-transaction-status"; }; export type ExitErrorOneOf18TypeEnum = typeof ExitErrorOneOf18TypeEnum[keyof typeof ExitErrorOneOf18TypeEnum]; /** * Check if a given object implements the ExitErrorOneOf18 interface. */ export declare function instanceOfExitErrorOneOf18(value: object): value is ExitErrorOneOf18; export declare function ExitErrorOneOf18FromJSON(json: any): ExitErrorOneOf18; export declare function ExitErrorOneOf18FromJSONTyped(json: any, ignoreDiscriminator: boolean): ExitErrorOneOf18; export declare function ExitErrorOneOf18ToJSON(json: any): ExitErrorOneOf18; export declare function ExitErrorOneOf18ToJSONTyped(value?: ExitErrorOneOf18 | null, ignoreDiscriminator?: boolean): any;