Variable encodeMarketOracleConfigInputConst
encodeMarketOracleConfigInput: (
cfg:
| StellarAssetOracle
| Record<string, unknown>
| AssetOracleConfigInputDto,
) => ScVal = encodeAssetOracle
Type Declaration
- (
cfg:
| StellarAssetOracle
| Record<string, unknown>
| AssetOracleConfigInputDto,
): ScVal Parameters
- cfg: StellarAssetOracle | Record<string, unknown> | AssetOracleConfigInputDto
Returns ScVal
Encode on-chain
AssetOracle. Accepts either the swagger DTO (toleranceBps+ sources) or a fullStellarAssetOraclewith tolerance upper/lower bps (lower is derived as reciprocal when only bps is given).