Skip to content

API ReferenceVaults, collateral, and riskInterface

GetRequiredCollateralForStaticLOCParams

Properties

collateralTokenAmount

collateralTokenAmount: bigint;

Face value the static LOC will credit, in the token’s smallest unit (collateral and credited token are the same). The result is this amount grossed up by the vault withdrawal fee, because the vault reserves amount + fee so the beneficiary can claim the full face value.


vaultWithdrawalFeeBasisPoints?

optional vaultWithdrawalFeeBasisPoints?: number;

Override for the vault’s withdrawal fee (basis points). Omit to read it from the CollateralVault via getVaultWithdrawalFeeBasisPoints; 0 is honored as an explicit zero fee.