Function createTransactionPayload

createTransactionPayload creates a transaction payload for a given transaction context and messages.

It returns the payload in the following format: { signDirect, legacyAmino, txnString } signDirect and legacyAmino are the payloads for signing with the respective signing methods from the Cosmos SDK. txnString is the human-readable string to sign for Ethereum, Solana, and Bitcoin.