Skip to main content

OutflowDetails

@liquidium/client


@liquidium/client / OutflowDetails

Interface: OutflowDetails

Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:32

Receipt for a borrow or withdraw submitted to the lending canister.

id is the outflow reference to show users immediately. txid may be unset until the protocol assigns a chain transaction id. outflowRef is an optional protocol reference.

Properties

amount

amount: bigint

Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:42

Outflow amount in the pool asset's base units.


id

id: string

Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:34

Protocol outflow id.


outflowRef?

optional outflowRef?: string

Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:38

Optional protocol outflow reference.


outflowType

outflowType: OutflowType

Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:36

Borrow, withdraw, or fee-claim discriminator.


receiver

receiver: OutflowReceiver

Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:44

Outflow destination account.


txid?

optional txid?: string

Defined in: external/liquidium-sdk/packages/client/src/modules/lending/types.ts:40

Chain transaction id when already assigned by the protocol.