Hello guys i am trying to get the metadata as a 0x${string}
type. I am calling the api endpoint state_getMetadata with await api.rpc.state.getMetadata()
however this returns an object of Metadata and i am trying to do offline singing of transctions.
I have followed the github examples where they are doing same thing however when i try to sign the transaction it wants the metadata to be of type 0x${string}
how do i properly convert or implement this?
thanks in advance