normalizedSpotAt function
Exact Propbook-normalized spot in 1e9 price scaling for source_timestamp_ms.
Implementation
MoveCallBuilder normalizedSpotAt(
{required dynamic arguments, String? package}) {
final packageAddress = package ?? '@local-pkg/propbook';
return (tx) => tx.moveCall(
'$packageAddress::pyth_feed::normalized_spot_at',
arguments: normalizeMoveArguments(
tx, arguments, [null, 'u64'], ['feed', 'sourceTimestampMs']),
);
}