Function createTxBroadcastBody

  • Given the transaction context, payload, and signature, create the raw transaction to be sent to the blockchain. Signatures, context, and payload must be provided and well-formed.

    This can be sent to BitBadgesApi.broadcastTx, BitBadgesApi.simulateTx, or a node's REST API endpoint using the /cosmos/tx/v1beta1/txs endpoint.

    See the BitBadges API documentation for more details: https://docs.bitbadges.io/for-developers/create-and-broadcast-txs

    Parameters

    • txContext: TxContext
    • messages: Message<AnyMessage> | Message<AnyMessage>[]
    • signature: string
    • OptionalsolAddress: string

    Returns string