/cosmos/tx/v1beta1/simulate

Simulate simulates executing a transaction for estimating gas usage.

Parameters:

body - object

Example:

// Request
curl -X POST -H 'Content-Type: application/json' https://zetachain.blockpi.network/lcd/v1/<your-api-key>/cosmos/tx/v1beta1/simulate
--data
{
  "tx": {
    "body": {
      "messages": [
        {
          "@type": "string"
        }
      ],
      "memo": "string",
      "timeout_height": "string",
      "extension_options": [
        {
          "@type": "string"
        }
      ],