filecoin-pin
Version:
Bridge IPFS content to Filecoin Onchain Cloud using familiar tools
17 lines • 698 B
TypeScript
/**
* payments fund command
*
* Adjusts funds to exactly match a target runway (days) or a target deposited amount.
*/
import type { AutoFundOptions, FundingAdjustmentResult, FundOptions } from './types.js';
/**
* Automatically adjust funding to meet target runway or deposit amount.
* This is a non-interactive version suitable for programmatic use.
*
* @param options - Auto-funding options
* @returns Funding adjustment result
* @throws Error if adjustment fails or target is unsafe
*/
export declare function autoFund(options: AutoFundOptions): Promise<FundingAdjustmentResult>;
export declare function runFund(options: FundOptions): Promise<void>;
//# sourceMappingURL=fund.d.ts.map