Sending messages at low level #322
Unanswered
slhermit
asked this question in
Developers
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to send messages to the Osmo blockchain. However, the low-level-api.md doc still refers to built-in proto messages (like MsgGrant below). Would you have a code example on how a raw JSON message could be signed and sent ?
Thx for the help
msg = MsgGrant(
granter=str(validator.address()),
grantee=str(wallet.address()),
grant=grant,
)
tx = Transaction()
tx.add_message(msg)
tx = prepare_and_broadcast_basic_transaction(client, tx, validator)
Beta Was this translation helpful? Give feedback.
All reactions