---
title: /sendEthereumTransaction
slug: sendethereumtransaction
createdAt: 2024-01-09T12:30:00.561Z
---

{
  "id": "s8Nr-0FRhgIefTJXXUt_Y",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "http://1.1.1.1/sendEthereumTransaction",
    "servers": [
      {
        "url": "http://1.1.1.1/sendEthereumTransaction"
      }
    ],
    "name": "",
    "description": "<ul>\n<li>return - returns on success transactions array</li>\n</ul>\n<p>********** NOTE: success or failure in this api call does not necessarily means success or failure in the transaction itself</p>\n<p>********** for example, the transaction may work by the response to the client can be lost in communication (if the internet is down for the client)</p>\n<p>********** another example is that the transaction was approved here but failed in the signing process</p>\n<p>To know the status of the transaction you can access the function getTransactionByToken.</p>\n<p>To get the token to send those functions you should call getCurrentToken one action BEFORE sendTransaction</p>\n<p>myTokenToStoreInTheDb = user.getCurrentToken()</p>\n<p>sendEthereumTransaction(...)</p>\n<p>....</p>\n<p>user.getTransactionByToken(myTokenToStoreInTheDb,'ETH')</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [
        {
          "kind": "required",
          "name": "account_id",
          "type": "integer",
          "example": 1,
          "description": "The account ID we want to use in this operation",
          "default": 1
        },
        {
          "kind": "required",
          "name": "to",
          "type": "string",
          "example": "0xE4Fd4d9190075de22826DdeC437594d27fb549Ab",
          "description": "The address sent to in this operation",
          "default": "0xE4Fd4d9190075de22826DdeC437594d27fb549Ab"
        },
        {
          "kind": "required",
          "name": "amount",
          "type": "string",
          "example": "6000",
          "description": "The amount sent in this operation",
          "default": "6000"
        },
        {
          "kind": "required",
          "name": "fee",
          "type": "integer",
          "example": 10000000000,
          "description": "the gas price we want to transfer",
          "default": 10000000000
        },
        {
          "kind": "required",
          "name": "gas_limit",
          "type": "integer",
          "example": 21000,
          "description": "the gas limit we want to transfer",
          "default": 21000
        },
        {
          "kind": "optional",
          "name": "description",
          "type": "string",
          "example": "Test",
          "description": "<p>free text for describing the transaction (will not be sent to the blockchain)</p>",
          "default": "Test"
        },
        {
          "kind": "optional",
          "name": "specificFromAddress",
          "type": "string",
          "example": "0xE4Fd4d9190075de22826DdeC437594d27fb549Ab",
          "description": "<p>Deposit address to send from - can be used if the account is defined as an Endpoint account</p>",
          "default": "0xE4Fd4d9190075de22826DdeC437594d27fb549Ab"
        },
        {
          "kind": "required",
          "name": "max_priority_fee",
          "type": "integer",
          "example": 100000000,
          "description": "<p>the max priority fee we want to tip the miner. Should be sent in EVM / ERC20 transactions that are EIP1559 type, otherwise should be None. (for more info, read <a href=\"https://metamask.io/1559/\" target=\"_blank\">https://metamask.io/1559/</a>)</p>",
          "default": 100000000
        },
        {
          "kind": "optional",
          "name": "data_for_contract",
          "type": "string",
          "description": "<p>More details can be found in the Cold Vault UI -> New Smart Contract -> Add -> Click on \"How to add parameters correctly?\"</p>"
        }
      ],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "Request data for an Ethereum (ETH) transaction.",
          "customType": "sendEthereumTransactionRequest",
          "schema": [
            {
              "name": "FunctionData",
              "kind": "optional",
              "type": "object",
              "description": "Contains the function-specific data for sending an Ethereum 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": "Fee",
                  "kind": "optional",
                  "type": "object",
                  "description": "Transaction fee details for Ethereum.",
                  "example": "{\"GasLimit\":21000,\"GasPrice\":\"10000000000\",\"MaxPriorityFee\":\"100000000\"}",
                  "schema": [
                    {
                      "name": "GasLimit",
                      "kind": "optional",
                      "type": "integer",
                      "description": "The gas limit for the transaction.",
                      "example": 21000,
                      "default": 21000
                    },
                    {
                      "name": "GasPrice",
                      "kind": "optional",
                      "type": "string",
                      "description": "The gas price for the transaction.",
                      "example": "10000000000",
                      "default": "10000000000"
                    },
                    {
                      "name": "MaxPriorityFee",
                      "kind": "optional",
                      "type": "string",
                      "description": "The maximum priority fee for the transaction.",
                      "example": "100000000",
                      "default": "100000000"
                    }
                  ]
                },
                {
                  "name": "IsMetaMaskTransaction",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Indicates if the transaction is for MetaMask.",
                  "example": "false",
                  "default": "false"
                },
                {
                  "name": "SpecificFromAddress",
                  "kind": "optional",
                  "type": "string",
                  "description": "The specific Ethereum address used as the sender.",
                  "example": 1.3072987414614707e+48,
                  "default": 1.3072987414614707e+48
                },
                {
                  "name": "Transactions",
                  "kind": "optional",
                  "type": "array",
                  "description": "List of transaction details for Ethereum.",
                  "example": "",
                  "itemType": "object",
                  "customType": "object[]",
                  "schema": [
                    {
                      "name": "AmountToTransfer",
                      "kind": "optional",
                      "type": "string",
                      "description": "The amount to transfer in ETH.",
                      "example": "6000",
                      "default": "6000"
                    },
                    {
                      "name": "DestinationAddress",
                      "kind": "optional",
                      "type": "string",
                      "description": "The destination Ethereum address.",
                      "example": 1.3072987414614707e+48,
                      "default": 1.3072987414614707e+48
                    }
                  ]
                },
                {
                  "name": "UserDescription",
                  "kind": "optional",
                  "type": "string",
                  "description": "User-provided description for the transaction.",
                  "example": "Test",
                  "default": "Test"
                }
              ]
            },
            {
              "name": "Meta",
              "kind": "optional",
              "type": "object",
              "modelRef": "#/components/schemas/MetaTokensendEthereumTransaction",
              "customType": "MetaTokensendEthereumTransaction",
              "schema": [
                {
                  "name": "FunctionName",
                  "kind": "optional",
                  "type": "string",
                  "description": "The Function to be called",
                  "example": "sendEthereumTransaction",
                  "default": "sendEthereumTransaction"
                },
                {
                  "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/sendEthereumTransactionRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "success",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "customType": "sendEthereumTransactionResponse",
            "schema": [
              {
                "name": "FunctionData",
                "kind": "optional",
                "type": "object",
                "description": "Contains data required for a function.",
                "example": "",
                "schema": [
                  {
                    "name": "ApprovalRequestStatus",
                    "kind": "optional",
                    "type": "integer",
                    "description": "The status of an approval request for the transaction.",
                    "example": 3,
                    "default": 3
                  },
                  {
                    "name": "CoinType",
                    "kind": "optional",
                    "type": "string",
                    "description": "The type of cryptocurrency being transferred.",
                    "example": "ETH",
                    "default": "ETH"
                  },
                  {
                    "name": "Transactions",
                    "kind": "optional",
                    "type": "array",
                    "description": "An array of transactions to be processed.",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "schema": [
                      {
                        "name": "AmountToTransfer",
                        "kind": "optional",
                        "type": "string",
                        "description": "The amount of cryptocurrency to transfer in the smallest unit (wei for ETH).",
                        "example": "6000",
                        "default": "6000"
                      },
                      {
                        "name": "DestinationAddress",
                        "kind": "optional",
                        "type": "string",
                        "description": "The destination address for the transfer.",
                        "example": "0xE4Fd4d9190075de22826DdeC437594d27fb549Ab",
                        "default": "0xE4Fd4d9190075de22826DdeC437594d27fb549Ab"
                      }
                    ]
                  }
                ]
              },
              {
                "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/sendEthereumTransactionResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "example-0-curl",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url 'http://1.1.1.1/sendEthereumTransaction?account_id=1&to=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&amount=6000&fee=10000000000&gas_limit=21000&description=Test&specificFromAddress=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&max_priority_fee=100000000' \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"FunctionData\": {\n     \"AccountId\": 1,\n     \"CoinType\": \"ETH\",\n     \"Fee\": {\n     \"GasLimit\": 21000,\n     \"GasPrice\": \"10000000000\",\n     \"MaxPriorityFee\": \"100000000\"\n     },\n     \"IsMetaMaskTransaction\": \"false\",\n     \"SpecificFromAddress\": 1.3072987414614707e+48,\n     \"Transactions\": [\n     {\n     \"AmountToTransfer\": \"6000\",\n     \"DestinationAddress\": 1.3072987414614707e+48\n     }\n     ],\n     \"UserDescription\": \"Test\"\n     },\n     \"Meta\": {\n     \"FunctionName\": \"sendEthereumTransaction\",\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      \"Fee\": {\n         \"GasLimit\": 21000,\n         \"GasPrice\": \"10000000000\",\n         \"MaxPriorityFee\": \"100000000\"\n      },\n      \"IsMetaMaskTransaction\": \"false\",\n      \"SpecificFromAddress\": 1.3072987414614707e+48,\n      \"Transactions\": [\n         {\n            \"AmountToTransfer\": \"6000\",\n            \"DestinationAddress\": 1.3072987414614707e+48\n         }\n      ],\n      \"UserDescription\": \"Test\"\n   },\n   \"Meta\": {\n      \"FunctionName\": \"sendEthereumTransaction\",\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/sendEthereumTransaction?account_id=1&to=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&amount=6000&fee=10000000000&gas_limit=21000&description=Test&specificFromAddress=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&max_priority_fee=100000000\", 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/sendEthereumTransaction?account_id=1&to=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&amount=6000&fee=10000000000&gas_limit=21000&description=Test&specificFromAddress=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&max_priority_fee=100000000\")\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      \"Fee\": {\n         \"GasLimit\": 21000,\n         \"GasPrice\": \"10000000000\",\n         \"MaxPriorityFee\": \"100000000\"\n      },\n      \"IsMetaMaskTransaction\": \"false\",\n      \"SpecificFromAddress\": 1.3072987414614707e+48,\n      \"Transactions\": [\n         {\n            \"AmountToTransfer\": \"6000\",\n            \"DestinationAddress\": 1.3072987414614707e+48\n         }\n      ],\n      \"UserDescription\": \"Test\"\n   },\n   \"Meta\": {\n      \"FunctionName\": \"sendEthereumTransaction\",\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/sendEthereumTransaction?account_id=1&to=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&amount=6000&fee=10000000000&gas_limit=21000&description=Test&specificFromAddress=0xE4Fd4d9190075de22826DdeC437594d27fb549Ab&max_priority_fee=100000000\"\n\npayload = json.dumps({\n   \"FunctionData\": {\n      \"AccountId\": 1,\n      \"CoinType\": \"ETH\",\n      \"Fee\": {\n         \"GasLimit\": 21000,\n         \"GasPrice\": \"10000000000\",\n         \"MaxPriorityFee\": \"100000000\"\n      },\n      \"IsMetaMaskTransaction\": \"false\",\n      \"SpecificFromAddress\": 1.3072987414614707e+48,\n      \"Transactions\": [\n         {\n            \"AmountToTransfer\": \"6000\",\n            \"DestinationAddress\": 1.3072987414614707e+48\n         }\n      ],\n      \"UserDescription\": \"Test\"\n   },\n   \"Meta\": {\n      \"FunctionName\": \"sendEthereumTransaction\",\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    \"ApprovalRequestStatus\": 3,\n    \"CoinType\": \"ETH\",\n    \"Transactions\": [\n      {\n        \"AmountToTransfer\": \"6000\",\n        \"DestinationAddress\": \"0xE4Fd4d9190075de22826DdeC437594d27fb549Ab\"\n      }\n    ]\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": "eamgizy1LXBCKWxxncl3U",
      "type": "bulleted-list",
      "children": [
        {
          "id": "79kvbRVu9wy5Sk1zLs3oG",
          "type": "list-item",
          "children": [
            {
              "id": "T09hpkFdCxV6Kr0-d-EM9",
              "type": "list-item-child",
              "children": [
                {
                  "text": "return - returns on success transactions array",
                  "id": "AQ1OE1qBzaVm8sFLBRheI"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "lNJXBbcHGEUuQWAuucX_K",
      "type": "paragraph",
      "children": [
        {
          "text": "",
          "id": "74oaoBdz22GyWFgFLJzpq"
        },
        {
          "text": "",
          "bold": true,
          "id": "dZzJeIS2GXeoyQNwfMM9j"
        },
        {
          "text": "",
          "id": "jThMJSQx2EigIax2iMlPw"
        },
        {
          "text": "",
          "bold": true,
          "id": "Hf0ZSXOM3bT5Ju0u_6neA"
        },
        {
          "text": "** NOTE: success or failure in this api call does not necessarily means success or failure in the transaction itself",
          "id": "MKSmk41BZPBbgVYFDHzFA"
        }
      ]
    },
    {
      "id": "PLgQpcNjz6zXOFe5WHnwI",
      "type": "paragraph",
      "children": [
        {
          "text": "",
          "id": "LITthoRATfjZFHzaPPAdk"
        },
        {
          "text": "",
          "bold": true,
          "id": "KYoKrNqH5kYJNCcFwZIy2"
        },
        {
          "text": "",
          "id": "v-N5OzSf_IxYPlGGBsIPL"
        },
        {
          "text": "",
          "bold": true,
          "id": "NGqblhefA70KcGdNvP9IG"
        },
        {
          "text": "** for example, the transaction may work by the response to the client can be lost in communication (if the internet is down for the client)",
          "id": "Do-Ii9V64kpXCUMyH4hUf"
        }
      ]
    },
    {
      "id": "Gm4zcEE4ew_e72a1ni4eg",
      "type": "paragraph",
      "children": [
        {
          "text": "",
          "id": "VUzQtjk_VTHGIf5QIul39"
        },
        {
          "text": "",
          "bold": true,
          "id": "u8zARbaJkrYgtbnwBlukw"
        },
        {
          "text": "",
          "id": "K89bbsvcjr3qO8QPAkcB3"
        },
        {
          "text": "",
          "bold": true,
          "id": "sPAnwgF6omdsdaIgNJBfO"
        },
        {
          "text": "** another example is that the transaction was approved here but failed in the signing process",
          "id": "hJPynC1aXKzpSa9a3Drbd"
        }
      ]
    },
    {
      "id": "EbLWBunqkHEgq7Y3lvXFm",
      "type": "paragraph",
      "children": [
        {
          "text": "To know the status of the transaction you can access the function getTransactionByToken.",
          "id": "cOFiIW00wOe60Rf7EpYU7"
        }
      ]
    },
    {
      "id": "rLYQElDqGo3g6vKrDNIUd",
      "type": "paragraph",
      "children": [
        {
          "text": "To get the token to send those functions you should call getCurrentToken one action BEFORE sendTransaction",
          "id": "UldguzRGo5rNPBEcBasiw"
        }
      ]
    },
    {
      "id": "cBhbbmw83TpiNJXf4mQvY",
      "type": "paragraph",
      "children": [
        {
          "text": "myTokenToStoreInTheDb = user.getCurrentToken()",
          "id": "m6WBq7yhPdyBUDKZK16vf"
        }
      ]
    },
    {
      "id": "nuH1OL2jcZ6OfZOGp5miK",
      "type": "paragraph",
      "children": [
        {
          "text": "sendEthereumTransaction(...)",
          "id": "ODA4jUSKc7LNkD5EGvwRO"
        }
      ]
    },
    {
      "id": "8ag4tdgTG-nmVndtZnP_y",
      "type": "paragraph",
      "children": [
        {
          "text": "....",
          "id": "JIbvEN8pj0nMKSIMMYOyP"
        }
      ]
    },
    {
      "id": "KIDFor2WBrSgYMQviDIxD",
      "type": "paragraph",
      "children": [
        {
          "text": "user.getTransactionByToken(myTokenToStoreInTheDb,'ETH')",
          "id": "-EueVVNsSCzbmeV5spZF-"
        }
      ]
    }
  ]
}