/** * 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. */ /** * Entry in a table to calculate the PPM (parts per million) fee rate of a transaction based on how * new a VTXO is. * @export * @interface PpmExpiryFeeEntry */ export interface PpmExpiryFeeEntry { /** * A threshold for the number of blocks until a VTXO expires for the `ppm` amount to apply. * As an example, if this value is set to 50 and a VTXO expires in 60 blocks, this * [PpmExpiryFeeEntry] will be used to calculate the fee unless another entry exists with an * `expiry_blocks_threshold` with a value between 51 and 60 (inclusive). * @type {number} * @memberof PpmExpiryFeeEntry */ expiryBlocksThreshold: number; /** * PPM (parts per million) fee rate to apply for this expiry period. * @type {number} * @memberof PpmExpiryFeeEntry */ ppm: number; } /** * Check if a given object implements the PpmExpiryFeeEntry interface. */ export declare function instanceOfPpmExpiryFeeEntry(value: object): value is PpmExpiryFeeEntry; export declare function PpmExpiryFeeEntryFromJSON(json: any): PpmExpiryFeeEntry; export declare function PpmExpiryFeeEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PpmExpiryFeeEntry; export declare function PpmExpiryFeeEntryToJSON(json: any): PpmExpiryFeeEntry; export declare function PpmExpiryFeeEntryToJSONTyped(value?: PpmExpiryFeeEntry | null, ignoreDiscriminator?: boolean): any;