Per-provider comparison result for a given transaction. Returned as a value in the record from OffRampIntegration.compareProviders.

interface ProviderComparison {
    feeAmount: string;
    feePercentage: string;
    netAmount: string;
    settlementTime: number;
}

Properties

feeAmount: string

Total fee amount for the transaction in fiat (decimal string).

'4.50' for a $100 transaction at 4.5% fee
feePercentage: string

Fee as a percentage string, matching ProviderConfig.feePercentage.

netAmount: string

Net fiat amount the user receives or spends after fees (decimal string).

settlementTime: number

Approximate settlement time in hours. How long until the crypto (on-ramp) or fiat (off-ramp) arrives.