Type Parameters
- T extends keyof MessageTypes
Parameters
- message: T
- messageBody: MessageTypes[T]
Returns {
fee: { amount: { amount: string; denom: string }[]; gas: string };
message: { typeUrl: T; value: MessageTypes[T] };
}
The Stargate message object with a fee.
Creates a Stargate message object with a fee.