PrepareCosmosTx 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
sender address provided
"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r"
^inj1[0-9a-zA-Z]{38}$
Block height until which the transaction is valid.
0
OK response.
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"
Sign mode for the resulting tx
"SIGN_MODE_DIRECT"
proto encoded tx
"Q3RvQ0N0TUNDak12YVc1cVpXTjBhWFpsTG1WNFkyaGhibWRsTG5ZeFltVjBZVEV1VFhOblEzSmxZWFJsVTNCdmRFeHBiV2wwVDNKa1pYSVNtd0lLS21sdWFqRTRhakp0ZVdoaFpqSmhkRGMxYTNkM1lYRjRabk4wYXpSeE1qaHVOR0Z0TkRWdWJHWm5OeExzQVFwQ01IaGhOVEE0WTJJek1qa3lNek15TXpZM09XWXlPV0V3TXpKak56QXpOREpqTVRRM1l6RTNaREF4TkRVMk1qVTVNakppTUdWbU1qSmxPVFUxWXpnME5HTXdFcUFCQ2tJd2VETmpPVFZpTWpWbVlUazFOelUzWldFMU9XTmxaVGd3WXprNE1tVmtOVEF5T0dZellXWTNOelV3TURBd01EQXdNREF3TURBd01EQXdNREF3TURBd01EQVNLbWx1YWpGcWRqWTFjek5uY25GbU5uWTJhbXd6WkhBMGREWmpPWFE1Y21zNU9XTmtPR1JyYm1OdE9Cb0hNVGd6TXpBd01DSWxNVEF3TURBd01EQXdNREF3TURBd01EQXdNREF3TURBd01EQXdNREF3TURBd01EQXdNQmdDSWdFd0dJYmFDaEpLRWtnS0Znb0RhVzVxRWc4eE1EQXdNREF3TURBd01EQXdNREFRd0pvTUdpcHBibW94WkdWbGRHaGpjV2cxTXpKd05tVnpNSGx4TnprNWFqQXpaV040YUhCcmRXeG1kMjV3T1dz"