Interface ValidityDataCustomCharges

Custom charges response in ValidityData

Returned by confirmTx to show actual costs vs maximum user agreed to pay. Allows user to review and abort if actual cost is higher than expected.

All cost fields are decimal-string OS.

interface ValidityDataCustomCharges {
    actual_cost_os: string;
    breakdown: IPFSCostBreakdown;
    max_cost_os: string;
    type: string;
}

Properties

actual_cost_os: string

What node will actually charge (must be <= max_cost_os), decimal-string OS.

Detailed breakdown of actual costs

max_cost_os: string

What user signed as maximum (from TX custom_charges), decimal-string OS.

type: string

Charge type identifier