Skip to main content

CreateSimpleLoanRefund

@liquidium/client


@liquidium/client / CreateSimpleLoanRefund

Interface: CreateSimpleLoanRefund

Defined in: packages/client/src/modules/simple-loans/types.ts:73

Refund leg used when creating a simple loan.

Properties

chain

chain: Chain

Defined in: packages/client/src/modules/simple-loans/types.ts:75

Delivery chain used for collateral refunds and withdrawals. Use ICP for ck-ledger delivery.


destination

destination: LiquidiumAccountInput

Defined in: packages/client/src/modules/simple-loans/types.ts:84

Destination that receives collateral refunds or withdrawals.

Pass either a string shorthand or a typed destination. For BTC/ETH chain outflows this is usually the user's chain address. Chain-key assets on ICP require an IcPrincipal; native ICP also accepts IcpAccountIdentifier and IcrcAccount destinations.