Parameters
- chain_idinteger
The numeric Web3 chain ID associated with the target transaction; use 1 for Injective Mainnet.
- sender_addressstring
The Injective address of the transaction sender.
- 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.
Returns
- txstring
The prepared protobuf transaction bytes, base64-encoded in JSON responses.
- 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.
- fee_payer_pub_keyobject
The type and bytes of the fee payer’s ethsecp256k1 public key.
- typestring
The protobuf type URL identifying the public-key format.
- keystring
The hex-encoded ethsecp256k1 public-key bytes.