ink合约取当前时间 #9
Unanswered
comien
asked this question in
Substrate/Polkadot 技术问题
Replies: 1 comment 3 replies
-
Try: let now = self.env().block_timestamp() |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
请问一下,如何在ink合约中取当前时间?有没有类似例子?谢谢
Beta Was this translation helpful? Give feedback.
All reactions