Constructors
constructor
- new TxBody(messages: Msg[], memo?: string, timeout_height?: number): TxBody
Parameters
messages: Msg[]
Optional memo: string
Optional timeout_height: number
Properties
Optional memo
memo?: string
Optional timeout_height
timeout_height?: number
Methods
toBytes
- toBytes(isClassic?: boolean): Uint8Array
Parameters
Optional isClassic: boolean
Returns Uint8Array
toData
Parameters
Optional isClassic: boolean
toProto
- toProto(isClassic?: boolean): TxBody
Parameters
Optional isClassic: boolean
Returns TxBody
Static fromData
Parameters
Optional isClassic: boolean
Static fromProto
- fromProto(proto: TxBody, isClassic?: boolean): TxBody
Parameters
proto: TxBody
Optional isClassic: boolean