How to get smart table item with ts-sdk? #194
-
Discord user IDice1118761 Describe your question in detail.As title. Asked in discord dev-discussion. What error, if any, are you getting?No response What have you tried or looked at? Or how can we reproduce the error?it seems the current function aptos.getTableItem only works for the normal table in move Which operating system are you using?macOS Which SDK or tool are you using? (if any)TypeScript SDK Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Answered by
magnum6actual
May 12, 2024
Replies: 1 comment
-
There isn't a simple way in the SDK right now. The easiest path will be to write your own view function in the module that owns the smart table resource you're trying to access. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
0x-j
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There isn't a simple way in the SDK right now. The easiest path will be to write your own view function in the module that owns the smart table resource you're trying to access.