How to pass a vector<u8> using ts-sdk?? #433
-
i am trying to pass a coin struct name as vector, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
-
@0xjunha can you check this out?? and this is string being returned from view function and coin types are not matching |
Beta Was this translation helpful? Give feedback.
-
Do you mean there's a |
Beta Was this translation helpful? Give feedback.
You can use
serializeStr
andtoUint8Array
methods of BCS serializer