Function createTransactionPayload

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

    It returns the payload in the following format: { signDirect, legacyAmino, eipToSign, jsonToSign } signDirect and legacyAmino are the payloads for signing with the respective signing methods from the Cosmos SDK. eipToSign is the payload to sign for Ethereum EIP-712 signing. jsonToSign is the payload to sign for Solana signing.


    • context: TxContext
    • messages: Message<AnyMessage> | Message<AnyMessage>[]

    Returns TransactionPayload