rawFeedUpdateTimestampUs function

MoveCallBuilder rawFeedUpdateTimestampUs({
  1. required dynamic arguments,
  2. String? package,
})

Return the microsecond time at which Pyth generated this price, for external raw-feed inspection. This is the price's true age; it can be older than the envelope that delivered it.

Implementation

MoveCallBuilder rawFeedUpdateTimestampUs(
    {required dynamic arguments, String? package}) {
  final packageAddress = package ?? '@local-pkg/propbook';
  return (tx) => tx.moveCall(
        '$packageAddress::pyth_feed::raw_feed_update_timestamp_us',
        arguments: normalizeMoveArguments(tx, arguments, [null], ['raw']),
      );
}