Task Actions

List of possible actions in Task Designer UI

Every Parameter of every Action can be set to either Constant value (by writing or copypasting something into parameter field) or to Reference value (by Drag&Dropping Action ID field of the action we want to reference to Parameter field).

HTTP Request

Makes a HTTP Request to provided URL. You can choose method (GET/POST currently), add Body for post methods, add HTTP Headers.

  • Method - POST or GET

  • URL - Single Value. URL of your query.

  • Body - Single Value. Body of your Post request.

  • Headers - Multi Value. Set of headers for your request.

JSON Value

Gets tag value on selected Path from Body.

  • Body - Single Value. JSON body that will be parsed.

  • Path - Single Value. JSON Path in JSON Pointer RFC 6901 notation (/data/accounts/0)

CBOR Value

Gets tag value on selected Path from Body.

  • Body - Single Value. CBOR body that will be parsed.

  • Path - Single Value. CBOR Path in JSON Pointer RFC 6901 notation (/data/accounts/0)

TvmCell Encode

Encodes set of values into one TvmCell boc.

  • Values - Multi Value. Math Actions results will be encoded as uint256. All other action results will be encoded as string.

TvmCell Decode

Parses TvmCell boc and extracts given Abi Types from it. Gets selected Index from results.

  • CellBoC - Single Value. TvmCell String (base64 encoded) that will be parsed.

  • ABI Type Names - Multi Value. Specify all types in correct order that are encoded in BoC.

  • Index of Element - Single Value. Index of array in ABI Type Names field that will be extracted as answer.

Multiply

Multiplies multiplicand and multiplicator.

  • Multiplicand - Single Value. First value in multiplication.

  • Multiplicator - Single Value. Second value in multiplication.

Divide

Divides divident with divisor.

  • Divident - Single Value. First value in divide.

  • Divisor - Single Value. Can't be 0. Second value in divide.

Aggregate Functions (Average, Median, Max, Min, Sum)

Gets an array of Values, aggregates them with a function then rounds to a Precision.

  • Values - Multi Value. Specify all values that should be aggregated.

  • Precision - Single Value. Result will be rounded to this precision. Should be from -22 to 22.

Last updated