Example #1
0
        public static StdMsg Build(List <TxMsg> msgs, IMsg msg)
        {
            msg.Validate();

            return(new StdMsg(new StdMsgInput()
            {
                msgs = msgs,
                chain_id = msg.network.chainId,
                fee = new Fee(Coin.SingleArr(msg.fee, msg.network.denom), msg.gas),
                account_number = msg.account_number,
                sequence = msg.sequence,
                memo = msg.memo
            }));
        }