You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log('Create submit message tx');constsubmitMsgTransaction=awaitnewTopicMessageSubmitTransaction().setTopicId(newTopicId).setMessage('{"myNameIs": "json"}');constgetMessage=submitMsgTransaction.getMessage();// throws TypeError: submitMsgTransaction.getMessage is not a function
Additional context
Hedera network
testnet
Version
"@hashgraph/sdk": "^2.18.6"
Operating system
macOS
The text was updated successfully, but these errors were encountered:
mgarbs
changed the title
getMessage() from docs about result in TypeError: submitMsgTransaction.getMessage is not a function
calling getMessage() from submit topic message docs results in TypeError: not a functionNov 18, 2022
Description
Called
getMessage()
to get the message but aTypeError
was thrown insteadHere are the docs submit-a-message#get-transaction-values
Steps to reproduce
Additional context
Hedera network
testnet
Version
"@hashgraph/sdk": "^2.18.6"
Operating system
macOS
The text was updated successfully, but these errors were encountered: