---
title: /getGasLimitSuggestedForTransactionToEvmContractWithRawHex
slug: getgaslimitsuggestedfortransactiontoevmcontractwithrawhex
createdAt: 2024-01-09T12:30:00.561Z
---

{
  "id": "4SN76srguKmmR3Sa6rR0k",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "http://1.1.1.1/getGasLimitSuggestedForTransactionToEvmContractWithRawHex",
    "servers": [
      {
        "url": "http://1.1.1.1/getGasLimitSuggestedForTransactionToEvmContractWithRawHex"
      }
    ],
    "name": "",
    "description": "<ul>\n<li>\n<p>return - the gas limit suggested for EVM type contract with raw hex.</p>\n<p>example:\ngetGasLimitSuggestedForTransactionToEvmContractWithRawHex(1, \"0xc4aae221f1c62e8cbc657af5b051ea573914cfc7\",\n\"10000000000\", 13762495,\n\"0xd0f89344000003328c00000200000300000000000000000000000000000000000000000001006390c3cf00007b7c8f000001000000006390c42300007b7c95789c6260e8fcd1de24d9d1d0542237c5890103f0372cd977cf722ba6041cf036b16e3edfa46eb68039b99573bdddb365e25ffcd9759ff87ff2b9a26112342bd1ecd8ae8f3cbeafdad816701e9c5090d923b871a55ac71b6351a96d75ce2cf59aa2f396a9955eb43f7cdd7513200000ffff17ba29c5\")</p>\n</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [
        {
          "kind": "required",
          "name": "account_id",
          "type": "integer",
          "example": 1,
          "description": "the account used in this operation",
          "default": 1
        },
        {
          "kind": "required",
          "name": "contract_address",
          "type": "string",
          "example": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe",
          "description": "address of the contract to send to",
          "default": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe"
        },
        {
          "kind": "optional",
          "name": "evm_coin_symbol",
          "type": "string",
          "example": "ETH",
          "description": "<p>the coin symbol of the EVM network on which the smart contract is deployed, for example: ETH, CELO, etc...</p>",
          "default": "ETH"
        },
        {
          "kind": "required",
          "name": "raw_data_in_hex",
          "type": "string",
          "example": "0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000",
          "description": "<p>data parsed and encoded already by the standard, must start with 0x</p>",
          "default": "0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000"
        },
        {
          "kind": "optional",
          "name": "validate_transaction",
          "type": "boolean",
          "example": "true",
          "description": "<p>if this is true, the MPC wallet will access the node  to check if this transaction is\nlikely to fail by running dry-run, and will block the transaction if it is</p>",
          "default": "true"
        },
        {
          "kind": "required",
          "name": "gas_price",
          "type": "string",
          "example": "13762495",
          "description": "<p>the gas_price we want to transfer with, in Wei</p>",
          "default": "13762495"
        },
        {
          "kind": "required",
          "name": "amount",
          "type": "string",
          "example": "10000000000",
          "description": "<p>Amount that was transferred in the crypto's smallest units (satoshi, wei, drops,...)</p>",
          "default": "10000000000"
        },
        {
          "kind": "optional",
          "name": "specificFromAddress",
          "type": "string",
          "example": "0x862842A56B5D5F30B7d519cCe683983F57499cE6",
          "description": "<p>Deposit address to send from - can be used in the following cases:</p>\n<ul>\n<li>\n<ul>\n<li>For both UTXO and nonce based transactions if the account is defined as an Endpoint account</li>\n</ul>\n</li>\n<li>\n<ul>\n<li>For nonce based transactions if the account is defined as an Omnibus account</li>\n</ul>\n</li>\n</ul>",
          "default": "0x862842A56B5D5F30B7d519cCe683983F57499cE6"
        }
      ],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "Request data for a smart contract transaction on the Ethereum (ETH) network.",
          "customType": "getGasLimitSuggestedForTransactionToEvmContractWithRawHexRequest",
          "schema": [
            {
              "name": "FunctionData",
              "kind": "optional",
              "type": "object",
              "description": "Contains the function-specific data for the smart contract transaction.",
              "example": "",
              "schema": [
                {
                  "name": "AccountId",
                  "kind": "optional",
                  "type": "integer",
                  "description": "The ID of the user's account.",
                  "example": 1,
                  "default": 1
                },
                {
                  "name": "CoinType",
                  "kind": "optional",
                  "type": "string",
                  "description": "The type of cryptocurrency (e.g., ETH).",
                  "example": "ETH",
                  "default": "ETH"
                },
                {
                  "name": "DataForContract",
                  "kind": "optional",
                  "type": "object",
                  "description": "Data related to the smart contract transaction.",
                  "example": "",
                  "schema": [
                    {
                      "name": "Amount",
                      "kind": "optional",
                      "type": "string",
                      "description": "The amount in wei to transfer.",
                      "example": "10000000000",
                      "default": "10000000000"
                    },
                    {
                      "name": "ContractAddress",
                      "kind": "optional",
                      "type": "string",
                      "description": "The Ethereum smart contract address.",
                      "example": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe",
                      "default": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe"
                    },
                    {
                      "name": "RawData",
                      "kind": "optional",
                      "type": "string",
                      "description": "The raw data for the smart contract transaction.",
                      "example": "0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000",
                      "default": "0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000"
                    },
                    {
                      "name": "validateTransaction",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "A flag to validate the transaction (true or false).",
                      "example": "true",
                      "default": "true"
                    }
                  ]
                },
                {
                  "name": "Fee",
                  "kind": "optional",
                  "type": "object",
                  "description": "Transaction fee details.",
                  "example": "",
                  "schema": [
                    {
                      "name": "GasPrice",
                      "kind": "optional",
                      "type": "string",
                      "description": "The gas price in wei.",
                      "example": "13762495",
                      "default": "13762495"
                    }
                  ]
                },
                {
                  "name": "SpecificFromAddress",
                  "kind": "optional",
                  "type": "string",
                  "description": "The source address for the transaction.",
                  "example": "0x862842A56B5D5F30B7d519cCe683983F57499cE6",
                  "default": "0x862842A56B5D5F30B7d519cCe683983F57499cE6"
                },
                {
                  "name": "Transactions",
                  "kind": "optional",
                  "type": "array",
                  "description": "List of transaction details.",
                  "example": "",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "AmountToTransfer",
                      "kind": "optional",
                      "type": "string",
                      "description": "The amount to transfer in wei.",
                      "example": "10000000000",
                      "default": "10000000000"
                    },
                    {
                      "name": "DestinationAddress",
                      "kind": "optional",
                      "type": "string",
                      "description": "The destination Ethereum address.",
                      "example": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe",
                      "default": "0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe"
                    }
                  ]
                }
              ]
            },
            {
              "name": "Meta",
              "kind": "optional",
              "type": "object",
              "modelRef": "#/components/schemas/MetaTokengetGasLimitSuggestedForTransactionToEvmContractWithRawHex",
              "customType": "MetaTokengetGasLimitSuggestedForTransactionToEvmContractWithRawHex",
              "schema": [
                {
                  "name": "FunctionName",
                  "kind": "optional",
                  "type": "string",
                  "description": "The Function to be called",
                  "example": "getGasLimitSuggestedForTransactionToEvmContractWithRawHex",
                  "default": "getGasLimitSuggestedForTransactionToEvmContractWithRawHex"
                },
                {
                  "name": "RandomData",
                  "kind": "optional",
                  "type": "string",
                  "description": "Random Data",
                  "example": "288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229",
                  "default": "288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229"
                },
                {
                  "name": "Destination",
                  "kind": "optional",
                  "type": "string",
                  "description": "Id of the server",
                  "example": "",
                  "default": "b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea"
                },
                {
                  "name": "Time",
                  "kind": "optional",
                  "type": "string",
                  "description": "UTC Time of execution",
                  "example": "2021-02-07T18:37:46.948Z",
                  "default": "2021-02-07T18:37:46.948Z"
                },
                {
                  "name": "Source",
                  "kind": "optional",
                  "type": "string",
                  "description": "User public key",
                  "example": "",
                  "default": "048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99"
                },
                {
                  "name": "AccessToken",
                  "kind": "optional",
                  "type": "string",
                  "description": "Token used for authentication purposes",
                  "example": "51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087",
                  "default": "51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087"
                }
              ]
            }
          ],
          "modelRef": "#/components/schemas/getGasLimitSuggestedForTransactionToEvmContractWithRawHexRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "success",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "customType": "getGasLimitSuggestedForTransactionToEvmContractWithRawHexResponse",
            "schema": [
              {
                "name": "FunctionData",
                "kind": "optional",
                "type": "object",
                "example": "",
                "schema": [
                  {
                    "name": "GasLimitSuggested",
                    "kind": "optional",
                    "type": "string",
                    "description": "the suggested gas limit for the transaction in wei",
                    "example": "23400",
                    "default": "23400"
                  }
                ]
              },
              {
                "name": "Meta",
                "kind": "optional",
                "type": "object",
                "modelRef": "#/components/schemas/MetaResponse",
                "customType": "MetaResponse",
                "schema": [
                  {
                    "name": "AccessToken",
                    "kind": "optional",
                    "type": "string",
                    "description": "The new access token generated after this operation",
                    "example": "a3e816b5bc04302d99da94705ec2309a4a63fe10d6aed3c5f6fc9e7ff27c6be6",
                    "default": "a3e816b5bc04302d99da94705ec2309a4a63fe10d6aed3c5f6fc9e7ff27c6be6"
                  },
                  {
                    "name": "Destination",
                    "kind": "optional",
                    "type": "string",
                    "description": "Id of the server",
                    "example": "042c671aeb148d9b2bb4918399c4c925f3764248c5ab2d5194ab0f32664132834692699a75e7fafb5af35f183b7d8a68bdc3b3e6ebfaff8ab555b9a3caf8090622",
                    "default": "042c671aeb148d9b2bb4918399c4c925f3764248c5ab2d5194ab0f32664132834692699a75e7fafb5af35f183b7d8a68bdc3b3e6ebfaff8ab555b9a3caf8090622"
                  },
                  {
                    "name": "Source",
                    "kind": "optional",
                    "type": "string",
                    "description": "User public key",
                    "example": "df4b76a23067a9d782d09a7372ed526ec713cf6d771fac4dbdb9610f7af36d570a157eed76986b8e85afde12888d10d10bef461399e490f3d7e4db44cde1b6e355",
                    "default": "df4b76a23067a9d782d09a7372ed526ec713cf6d771fac4dbdb9610f7af36d570a157eed76986b8e85afde12888d10d10bef461399e490f3d7e4db44cde1b6e355"
                  },
                  {
                    "name": "Time",
                    "kind": "optional",
                    "type": "string",
                    "description": "UTC Time of execution",
                    "example": "2021-02-14 09:58:52.320",
                    "default": "2021-02-14 09:58:52.320"
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/getGasLimitSuggestedForTransactionToEvmContractWithRawHexResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "example-0-curl",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url 'http://1.1.1.1/getGasLimitSuggestedForTransactionToEvmContractWithRawHex?account_id=1&contract_address=0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe&evm_coin_symbol=ETH&raw_data_in_hex=0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000&validate_transaction=true&gas_price=13762495&amount=10000000000&specificFromAddress=0x862842A56B5D5F30B7d519cCe683983F57499cE6' \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"FunctionData\": {\n     \"AccountId\": 1,\n     \"CoinType\": \"ETH\",\n     \"DataForContract\": {\n     \"Amount\": \"10000000000\",\n     \"ContractAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\",\n     \"RawData\": \"0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000\",\n     \"validateTransaction\": \"true\"\n     },\n     \"Fee\": {\n     \"GasPrice\": \"13762495\"\n     },\n     \"SpecificFromAddress\": \"0x862842A56B5D5F30B7d519cCe683983F57499cE6\",\n     \"Transactions\": [\n     {\n     \"AmountToTransfer\": \"10000000000\",\n     \"DestinationAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\"\n     }\n     ]\n     },\n     \"Meta\": {\n     \"FunctionName\": \"getGasLimitSuggestedForTransactionToEvmContractWithRawHex\",\n     \"RandomData\": \"288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229\",\n     \"Destination\": \"b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea\",\n     \"Time\": \"2021-02-07T18:37:46.948Z\",\n     \"Source\": \"048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99\",\n     \"AccessToken\": \"51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087\"\n     }\n     }'"
        },
        {
          "id": "example-1-javascript",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"FunctionData\": {\n      \"AccountId\": 1,\n      \"CoinType\": \"ETH\",\n      \"DataForContract\": {\n         \"Amount\": \"10000000000\",\n         \"ContractAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\",\n         \"RawData\": \"0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000\",\n         \"validateTransaction\": \"true\"\n      },\n      \"Fee\": {\n         \"GasPrice\": \"13762495\"\n      },\n      \"SpecificFromAddress\": \"0x862842A56B5D5F30B7d519cCe683983F57499cE6\",\n      \"Transactions\": [\n         {\n            \"AmountToTransfer\": \"10000000000\",\n            \"DestinationAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\"\n         }\n      ]\n   },\n   \"Meta\": {\n      \"FunctionName\": \"getGasLimitSuggestedForTransactionToEvmContractWithRawHex\",\n      \"RandomData\": \"288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229\",\n      \"Destination\": \"b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea\",\n      \"Time\": \"2021-02-07T18:37:46.948Z\",\n      \"Source\": \"048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99\",\n      \"AccessToken\": \"51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087\"\n   }\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"http://1.1.1.1/getGasLimitSuggestedForTransactionToEvmContractWithRawHex?account_id=1&contract_address=0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe&evm_coin_symbol=ETH&raw_data_in_hex=0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000&validate_transaction=true&gas_price=13762495&amount=10000000000&specificFromAddress=0x862842A56B5D5F30B7d519cCe683983F57499cE6\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "example-2-ruby",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://1.1.1.1/getGasLimitSuggestedForTransactionToEvmContractWithRawHex?account_id=1&contract_address=0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe&evm_coin_symbol=ETH&raw_data_in_hex=0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000&validate_transaction=true&gas_price=13762495&amount=10000000000&specificFromAddress=0x862842A56B5D5F30B7d519cCe683983F57499cE6\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"FunctionData\": {\n      \"AccountId\": 1,\n      \"CoinType\": \"ETH\",\n      \"DataForContract\": {\n         \"Amount\": \"10000000000\",\n         \"ContractAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\",\n         \"RawData\": \"0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000\",\n         \"validateTransaction\": \"true\"\n      },\n      \"Fee\": {\n         \"GasPrice\": \"13762495\"\n      },\n      \"SpecificFromAddress\": \"0x862842A56B5D5F30B7d519cCe683983F57499cE6\",\n      \"Transactions\": [\n         {\n            \"AmountToTransfer\": \"10000000000\",\n            \"DestinationAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\"\n         }\n      ]\n   },\n   \"Meta\": {\n      \"FunctionName\": \"getGasLimitSuggestedForTransactionToEvmContractWithRawHex\",\n      \"RandomData\": \"288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229\",\n      \"Destination\": \"b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea\",\n      \"Time\": \"2021-02-07T18:37:46.948Z\",\n      \"Source\": \"048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99\",\n      \"AccessToken\": \"51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087\"\n   }\n})\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "example-3-python",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://1.1.1.1/getGasLimitSuggestedForTransactionToEvmContractWithRawHex?account_id=1&contract_address=0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe&evm_coin_symbol=ETH&raw_data_in_hex=0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000&validate_transaction=true&gas_price=13762495&amount=10000000000&specificFromAddress=0x862842A56B5D5F30B7d519cCe683983F57499cE6\"\n\npayload = json.dumps({\n   \"FunctionData\": {\n      \"AccountId\": 1,\n      \"CoinType\": \"ETH\",\n      \"DataForContract\": {\n         \"Amount\": \"10000000000\",\n         \"ContractAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\",\n         \"RawData\": \"0xa9059cbb000000000000000000000000963d0aef2a6ba868b38cb032f2a81db145c467fb0000000000000000000000000000000000000000000000056bc75e2d63100000\",\n         \"validateTransaction\": \"true\"\n      },\n      \"Fee\": {\n         \"GasPrice\": \"13762495\"\n      },\n      \"SpecificFromAddress\": \"0x862842A56B5D5F30B7d519cCe683983F57499cE6\",\n      \"Transactions\": [\n         {\n            \"AmountToTransfer\": \"10000000000\",\n            \"DestinationAddress\": \"0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe\"\n         }\n      ]\n   },\n   \"Meta\": {\n      \"FunctionName\": \"getGasLimitSuggestedForTransactionToEvmContractWithRawHex\",\n      \"RandomData\": \"288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229\",\n      \"Destination\": \"b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea\",\n      \"Time\": \"2021-02-07T18:37:46.948Z\",\n      \"Source\": \"048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99\",\n      \"AccessToken\": \"51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087\"\n   }\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "example-0-curl"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// success\n{\n  \"FunctionData\": {\n    \"GasLimitSuggested\": \"23400\"\n  },\n  \"Meta\": {\n    \"AccessToken\": \"a3e816b5bc04302d99da94705ec2309a4a63fe10d6aed3c5f6fc9e7ff27c6be6\",\n    \"Destination\": \"042c671aeb148d9b2bb4918399c4c925f3764248c5ab2d5194ab0f32664132834692699a75e7fafb5af35f183b7d8a68bdc3b3e6ebfaff8ab555b9a3caf8090622\",\n    \"Source\": \"df4b76a23067a9d782d09a7372ed526ec713cf6d771fac4dbdb9610f7af36d570a157eed76986b8e85afde12888d10d10bef461399e490f3d7e4db44cde1b6e355\",\n    \"Time\": \"2021-02-14 09:58:52.320\"\n  }\n}"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "id": "WEjb9NEQJGHg6Y5dsNKVr",
      "type": "bulleted-list",
      "children": [
        {
          "id": "V5bs9xfG6w79pC4HEB-0R",
          "type": "list-item",
          "children": [
            {
              "id": "3G8eDM-sWLrCW-8_CuJOh",
              "type": "list-item-child",
              "children": [
                {
                  "text": "return - the gas limit suggested for EVM type contract with raw hex.",
                  "id": "RV22YRkyQtV6_b-fMAJcs"
                },
                {
                  "text": "",
                  "id": "Fp3tROEP0_ZgrtqARS8Br"
                }
              ]
            },
            {
              "id": "oRJGFX0ZEe1_RE104mn4b",
              "type": "list-item-child",
              "children": [
                {
                  "text": "example:\ngetGasLimitSuggestedForTransactionToEvmContractWithRawHex(1, \"0xc4aae221f1c62e8cbc657af5b051ea573914cfc7\",\n\"10000000000\", 13762495,\n\"0xd0f89344000003328c00000200000300000000000000000000000000000000000000000001006390c3cf00007b7c8f000001000000006390c42300007b7c95789c6260e8fcd1de24d9d1d0542237c5890103f0372cd977cf722ba6041cf036b16e3edfa46eb68039b99573bdddb365e25ffcd9759ff87ff2b9a26112342bd1ecd8ae8f3cbeafdad816701e9c5090d923b871a55ac71b6351a96d75ce2cf59aa2f396a9955eb43f7cdd7513200000ffff17ba29c5\")",
                  "id": "mDwnwMEAoYnV3B2Sc7q5U"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}