Functions Overview

The Functions Overview section is a comprehensive list of all available functions that can be used within the Workflow Builder. These functions are categorized to help users easily find and utilize the appropriate function for their needs.

Key Functions

  • Frequently Used Functions. These are the most commonly used functions by all users for quick access.

  • Read Functions

    • Read API: Allows users to read data from external APIs.

    • Read Smart Contract: Enables reading data from smart contracts.

    • More advanced read functions will be added in the future to expand capabilities (i.e. Read Space & Time database, Read eOracles, etc)

  • Write Functions

    • Write API: Allows users to write data to external / internal APIs.

    • Write Smart Contract: Enables writing data to smart contracts.

    • More advanced write functions will be added in the future to enhance functionality (i.e. Write an Email, Write a response, etc)

  • Operational Functions

    • If Function: Tests conditions defined by the user and directs the workflow based on true or false outcomes.

    • Transform Function: Allows users to transform data as needed.

Function Parameters:

  • Write Smart Contract

    • Blockchain: Select the blockchain where the smart contract is deployed. This is usually done via a dropdown menu.

    • Manual Address: By default, K3 Labs creates a smart contract address for you. To use your own custom smart contract, press โ€œ+Manual addressโ€ and input the desired address.

  • Write API

    • API Address: Provide the URL of the API endpoint where data will be written.

  • Read API

    • API Credentials: Enter the necessary credentials required to access the API.

    • JSON API Endpoint: Specify the endpoint URL of the JSON API from which the data will be read.

    • Specify Path: Using a drop down list, define the specific data path to read from the JSON response.

  • Read Smart Contract

    • Blockchain: Select the blockchain where the smart contract is deployed. This is usually done via a dropdown menu.

    • Smart Contract Address: Enter the address of the smart contract from which data will be read.

    • Function: Specify the function within the smart contract that will be called to read the data.

  • Operational: IF

    • Condition: Define the condition that will be evaluated. This includes:

    • Input 1: Select the first object to compare.

    • Condition: Specify the condition (e.g., equals, greater than, less than).

    • Input 2: Select or enter the second object/value to compare.

Last updated