Untitled

mail@pastecode.io avatar
unknown
json
3 years ago
2.3 kB
3
Indexable
Never
{
      "function_name": "withdrawderp",
      "executor": [
        {
          "router": "easytransferassetbyprivate"
        },
        {
          "router": "gettransactionsign",
          "inherited_args": [
            {
              "from": "easytransferassetbyprivate",
              "from_path": "transaction.raw_data",
              "to_path": "raw_data",
              "router_field_name": "transaction",
              "type": "JSONOBJECT"
            },
			{
              "from": "easytransferassetbyprivate",
              "from_path": "transaction.txID",
              "to_path": "txID",
              "router_field_name": "transaction",
              "type": "STRING"
            },
            {
              "router_field_name": "privateKey",
              "type": "MYSQL_PLAYER_PRIVATE_KEY"
            }
          ]
        },
        {
          "router": "broadcasttransaction",
          "inherited_args": [
            {
              "from": "gettransactionsign",
              "from_path": "raw_data",
              "to_path": "",
              "router_field_name": "raw_data",
              "type": "JSONOBJECT"
            },
            {
              "from": "gettransactionsign",
              "from_path": "txID",
              "to_path": "",
              "router_field_name": "txID",
              "type": "STRING"
            },
            {
              "from": "gettransactionsign",
              "from_path": "signature",
              "to_path": "",
              "router_field_name": "signature",
              "type": "JSONARRAY"
            }
          ]
        }
      ],
      "error_message": [
        "Check your input information."
      ],
      "success_message": [
        "&a✔ Success!",
        "Your transaction info:",
        "%easytransferassetbyprivate_raw_json%",
        "%gettransactionsign_raw_json%",
        "%broadcasttransaction_raw_json%",
        "raw_data_hex: %raw_hex%"
      ],
      "json_return_variables": [
        {
          "name": "raw_hex",
          "from_route": "easytransferassetbyprivate",
          "json_path": "transaction.raw_data_hex",
          "type": "STRING"
        }
      ]
    }