PrepareTx generates a Web3-signable body for a Cosmos transaction
Specify chainID for the target tx
1
Textual memo information to attach with tx
""
List of Cosmos proto3-encoded Msgs to include in a single tx
Account sequence number (nonce) of signer
0
Specify Ethereum address of a signer
"0x3c8f1388687bf35a65f488934cdf05e45711f47e"
^0x[0-9a-fA-F]{40}$
Block height until which the transaction is valid.
0
OK response.
EIP712-compatible message suitable for signing with eth_signTypedData_v4
"TODO"
Fee payer address provided by service
"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r"
^inj1[0-9a-zA-Z]{38}$
Hex-encoded ethsecp256k1 signature bytes from fee payer
"0x1f5630186eacde746784d176d4ea9d6a2f78e3a3ea8ce9933e4707fc2dfac7aa"
^0x(([0-9a-fA-F][0-9a-fA-F])+)?$
Specify proto-URL of a public key, which defines the signature format
"/injective.crypto.v1beta1.ethsecp256k1.PubKey"
Account tx sequence (nonce)
5
Sign mode for the resulting tx
"SIGN_MODE_LEGACY_AMINO_JSON"