/** * 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 * as runtime from '../runtime'; import type { BoardRequest, PendingBoardInfo } from '../models/index'; export interface BoardAmountRequest { boardRequest: BoardRequest; } /** * */ export declare class BoardsApi extends runtime.BaseAPI { /** * Creates request options for boardAll without sending the request */ boardAllRequestOpts(): Promise; /** * Moves all bitcoin in the on-chain wallet onto the Ark protocol. Creates and broadcasts a funding transaction that drains the on-chain balance into a single VTXO, then returns the pending board details. The resulting VTXO is not spendable off-chain until the funding transaction reaches the number of on-chain confirmations required by the Ark server. * Board all on-chain bitcoin */ boardAllRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Moves all bitcoin in the on-chain wallet onto the Ark protocol. Creates and broadcasts a funding transaction that drains the on-chain balance into a single VTXO, then returns the pending board details. The resulting VTXO is not spendable off-chain until the funding transaction reaches the number of on-chain confirmations required by the Ark server. * Board all on-chain bitcoin */ boardAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for boardAmount without sending the request */ boardAmountRequestOpts(requestParameters: BoardAmountRequest): Promise; /** * Moves the specified amount of bitcoin in the on-chain wallet onto the Ark protocol. Creates and broadcasts a funding transaction, then returns the pending board details. The resulting VTXO is not spendable off-chain until the funding transaction reaches the number of on-chain confirmations required by the Ark server. * Board a specific amount */ boardAmountRaw(requestParameters: BoardAmountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Moves the specified amount of bitcoin in the on-chain wallet onto the Ark protocol. Creates and broadcasts a funding transaction, then returns the pending board details. The resulting VTXO is not spendable off-chain until the funding transaction reaches the number of on-chain confirmations required by the Ark server. * Board a specific amount */ boardAmount(requestParameters: BoardAmountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for getPendingBoards without sending the request */ getPendingBoardsRequestOpts(): Promise; /** * Returns all boards whose funding transactions have not yet reached the number of on-chain confirmations required by the Ark server. * List pending boards */ getPendingBoardsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Returns all boards whose funding transactions have not yet reached the number of on-chain confirmations required by the Ark server. * List pending boards */ getPendingBoards(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; }