examples/fluence-js-examples/browser-example/aqua/getting-started.aqua
2021-10-20 22:03:31 +03:00

7 lines
156 B
Plaintext

import "@fluencelabs/aqua-lib/builtin.aqua"
func getRelayTime(relayPeerId: PeerId) -> u64:
on relayPeerId:
ts <- Peer.timestamp_ms()
<- ts