Parameters
- chain_idinteger
The numeric Web3 chain ID used in the EIP-712 signing domain; use 1 for Injective Mainnet.
- signer_addressstring
The Ethereum-format address of the transaction signer.
- sequenceinteger
Deprecated. This value is ignored by PrepareTx.
- memostring
The optional text memo to include in the transaction.
- timeout_heightinteger
The block height after which the transaction is no longer valid.
- feeobject
The gas price, gas limit, and delegation preference for the transaction.
- pricearray
The coin amounts that define the transaction gas price.
- denomstring
The denomination of the coin used to pay the gas fee.
- amountstring
The decimal coin amount used for the transaction gas price.
- gasinteger
The maximum amount of gas the transaction may consume.
- delegate_feeboolean
Whether the transaction must use delegated fee payment.
- msgsarray
The Cosmos message JSON documents to include in the transaction, each UTF-8 encoded and represented as base64 in JSON requests.
- eip712_wrapperstring
The EIP-712 wrapper version to use. Accepted values are v1 and v2, case-insensitively.
Returns
- datastring
The EIP-712 typed-data payload to sign with eth_signTypedData_v4.
- sequencestring
The account sequence, or nonce, required to sign the prepared transaction.
- sign_modestring
The Cosmos signing mode required for the prepared transaction.
- pub_key_typestring
The protobuf type URL that identifies the required public-key and signature format.
- fee_payerstring
The Injective address of the account paying the transaction fee.
- fee_payer_sigstring
The hex-encoded ethsecp256k1 signature produced by the fee payer.