Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapTxToEIP712 ¶
func WrapTxToEIP712( cdc codectypes.AnyUnpacker, chainID uint64, msg cosmtypes.Msg, data []byte, feeDelegation *FeeDelegationOptions, ) (typeddata.TypedData, error)
WrapTxToEIP712 is an ultimate method that wraps Amino-encoded Cosmos Tx JSON data into an EIP712-compatible request. All messages must be of the same type.
Types ¶
type FeeDelegationOptions ¶
type FeeDelegationOptions struct {
FeePayer cosmtypes.AccAddress
}
Click to show internal directories.
Click to hide internal directories.