Cost breakdown for IPFS operations

Provides detailed cost calculation components so users can understand what they're paying for. All values are decimal-string OS amounts.

interface IPFSCostBreakdown {
    additional_costs?: Record<string, string>;
    base_cost: string;
    duration_cost?: string;
    size_cost: string;
}

Properties

additional_costs?: Record<string, string>

Any additional costs (network fees, etc.) — decimal-string OS values.

base_cost: string

Base cost for the operation, decimal-string OS.

duration_cost?: string

Cost based on storage duration, decimal-string OS (optional for indefinite pins).

size_cost: string

Cost based on file size, decimal-string OS.