/** * 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 { ChainSourceConfig } from './ChainSourceConfig'; import type { BarkNetwork } from './BarkNetwork'; /** * * @export * @interface CreateWalletRequest */ export interface CreateWalletRequest { /** * The Ark server to use for the wallet. * Optional when a config.toml already exists in the datadir. * @type {string} * @memberof CreateWalletRequest */ arkServer?: string | null; /** * An access token for a private Ark server. * * **Deprecated**: access tokens are no longer enforced by the server; * this field will be removed in a future release. * @type {string} * @memberof CreateWalletRequest * @deprecated */ arkServerAccessToken?: string | null; /** * An optional birthday height to start syncing the wallet from * @type {number} * @memberof CreateWalletRequest */ birthdayHeight?: number | null; /** * The chain source to use for the wallet. * Optional when a config.toml already exists in the datadir. * @type {ChainSourceConfig} * @memberof CreateWalletRequest */ chainSource?: ChainSourceConfig | null; /** * Proceed even if the datadir contains unexpected files * @type {boolean} * @memberof CreateWalletRequest */ force?: boolean; /** * The optional mnemonic to use for the wallet * @type {string} * @memberof CreateWalletRequest */ mnemonic?: string | null; /** * The network to use for the wallet * @type {BarkNetwork} * @memberof CreateWalletRequest */ network: BarkNetwork; } /** * Check if a given object implements the CreateWalletRequest interface. */ export declare function instanceOfCreateWalletRequest(value: object): value is CreateWalletRequest; export declare function CreateWalletRequestFromJSON(json: any): CreateWalletRequest; export declare function CreateWalletRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWalletRequest; export declare function CreateWalletRequestToJSON(json: any): CreateWalletRequest; export declare function CreateWalletRequestToJSONTyped(value?: CreateWalletRequest | null, ignoreDiscriminator?: boolean): any;