/** * 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.2 * 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. */ /** * * @export * @interface ExitErrorOneOf31 */ export interface ExitErrorOneOf31 { /** * * @type {ExitErrorOneOf31TypeEnum} * @memberof ExitErrorOneOf31 */ type: ExitErrorOneOf31TypeEnum; /** * * @type {string} * @memberof ExitErrorOneOf31 */ vtxo: string; } /** * @export */ export declare const ExitErrorOneOf31TypeEnum: { readonly VtxoAlreadySpent: "vtxo-already-spent"; }; export type ExitErrorOneOf31TypeEnum = typeof ExitErrorOneOf31TypeEnum[keyof typeof ExitErrorOneOf31TypeEnum]; /** * Check if a given object implements the ExitErrorOneOf31 interface. */ export declare function instanceOfExitErrorOneOf31(value: object): value is ExitErrorOneOf31; export declare function ExitErrorOneOf31FromJSON(json: any): ExitErrorOneOf31; export declare function ExitErrorOneOf31FromJSONTyped(json: any, ignoreDiscriminator: boolean): ExitErrorOneOf31; export declare function ExitErrorOneOf31ToJSON(json: any): ExitErrorOneOf31; export declare function ExitErrorOneOf31ToJSONTyped(value?: ExitErrorOneOf31 | null, ignoreDiscriminator?: boolean): any;