LogoLogo
Github
  • Overview
    • 📄Litepaper
  • GraphLinq Chain
    • Networks
      • Specs
        • Geth Client
        • Clique Consensus
      • GraphLinq Chain (Mainnet)
        • Wallet
          • Add GraphLinq Chain to Metamask
          • Add GraphLinq Chain To Ledger
        • RPC Public Nodes
        • Json-RPC API
        • Libraries
        • Execution Clients
        • Explorer
        • Status
    • GLQ
      • Allocation
      • Bridge
      • Rewards
  • 🎶Run a node
    • Installation
  • Dev tooling
    • Introduction
      • Vision
    • Graphs
      • What are Graphs and how do they work?
      • Creating a graph
      • File compression
      • Graph Cycle Costs
      • Node & Fees
    • Engine
      • Setting up the environment
      • Running an Engine locally
    • Dashboard Interface
      • Importing Graph/Template
      • Deploying a Graph
      • Managing Graph State
    • Blocks
      • Base Variable
        • Boolean
        • Decimal
        • Integer
        • KeyValue
        • Long
        • String
        • Get variable
        • Is Variable Exist
        • Set variable
        • Variable Portal
        • Secret String
      • Common
        • Entry Point
        • On Graph Start
        • Stop Graph
      • Time
        • Get Milliseconds Timestamp
        • Get Milliseconds Timestamp Offset
        • Get Timestamp
        • Get Timestamp Offset
        • Timer
        • Format Date
        • Millisecond Timestamp to Date
        • Timestamp to Date
        • Execution Time Interval
      • JSON
        • Last Node to JSON
        • Convert To JSON
        • Add JSON Property
        • Create JSON Object
        • JSON Deserialize To Array
        • JSON to JSON Object
        • Merge JSON
        • Serialize JSON Object
        • Serialize to JSON
      • Log
        • Print
      • WebSocket
        • WebSocket Client Close
        • WebSocket Client Connector
        • On WebSocket Client Disconnect
        • WebSock Receive Data Event
        • WebSocket Send Data
      • String
        • String Contains
        • Concat String
        • Replace String in String
      • Math
        • Subtract A - B
        • Add A + B
        • Ceiling
        • Divide A / B
        • Floor
        • Modulo A % B
        • Multiply A * B
        • Percentage Difference
        • Round
      • HTTP
        • Array To Body Values
        • Array To JSON Body
        • Put HTTP Request
        • Post HTTP Request
        • Get HTTP Request
        • Delete HTTP Request
      • Function
        • Function Block
        • Add Function Parameter
        • Set Function Result
        • Call Function
        • Get Function Result Parameter
        • Get Function Parameter
      • Transformers
        • String to Base64
      • Data
      • CSV
      • Base Condition
        • Decimal Branch
        • Integer Branch
        • String Branch
        • Boolean Branch
      • Range Condition
        • Decimal Range Branch
      • Array
        • Add Array Element
        • Clear Array
        • Create Array
        • Each Element In Array
        • Get Array Element At Index
        • Get Array Size
        • Keep Last X Elements In Array
      • Dictionary
      • Hosted API
    • Blocks (Messaging)
      • Twitter
      • Twitch
      • Telegram
      • SMTP
      • ShortenURL
      • PushOver
      • PushBullet
      • OpenAI
      • Discord
        • Add Emoji On Message
        • Send Discord Channel File
        • Add Role User
        • On Discord Channel Message
        • On Reaction Added Message
        • On Reaction Removed Message
        • Remove Role User
        • Reply Private Discord Message
        • Send Discord Channel Message
        • Discord Connector
        • On Discord Private Message
    • Blocks (Exchange)
      • Binance
      • Bitfinex
      • Bittrex
      • CoinEx
      • CoinGecko
        • Get CoinGecko Coin
      • Huobi
      • Kraken
      • KuCoin
      • LiveCoinWatch
      • MXC
    • Blocks (Blockchains)
      • Avalanche
        • Network Blocks
          • Avalanche Connector
          • Get Block Parameters
          • Get Transaction Parameters
          • On Avalanche Block
          • On Avalanche Transaction
        • Avascan
          • Get Avascan Supply
          • Get Avascan Global Stats
          • Get Avascan Staking Stats
          • Get Avascan Burned Fees
        • SnowTrace
          • SnowTrace Connector
          • Get ERC-20 Balance For Contract
          • Get ERC-20 Token Supply
          • Get Total AVAX on C-Chain
          • Get AVAX Balance Single Address
      • Binance Smart Chain
        • Network Blocks
          • Binance Smart Chain Connector
          • On Binance Smart Chain Block
          • On Binance Smart Chain Transaction
          • On Binance Smart Chain Wallet Transaction
        • BEP20 Blocks
          • Create BEP20 Token
          • Deploy BEP20 Token
      • Elrond
        • Elrond Connector
        • Get Elrond HyperBlock By Hash
        • Get Elrond Transaction
        • Get Elrond Wallet Balance
      • Ethereum
        • Ethereum Connector
        • On Ethereum Block
        • On Ethereum Transaction
        • On Ethereum Wallet Transaction
        • Estimate Gas Price
        • Get Ether Balance
        • Get Block Parameters
        • Get Transaction Parameters
        • Etherscan
          • Etherscan Connector
          • Etherscan Get Gas Price
        • Ethereum Managed Wallet
          • Get Personal Managed Wallet
        • Ethereum ERC20
          • Get ERC20 Holders
          • Get ERC20 Balance
          • Get ERC20 Information
          • Create ERC20 Token
          • Deploy ERC20 Token
        • Ethereum NFT
          • Create NFT Contract
          • Deploy NFT Contact
          • Create New Mintable NFT Token
          • Deploy New Mintable NFT Token
      • Polygon
        • Polygon Connector
      • Quickswap
        • Get Quickswap Pair Price
        • Get Quickswap Token Price
        • Get Quickswap LP Token
        • Get Quickswap LP Token Price
        • On Quickswap Swap
        • On Quickswap Sync
      • Unicrypt
        • Get Unicrypt Locked Token Parameters
        • Get Unicrypt Locked Tokens
        • Get Unicrypt Total Locked Liquidity
        • Get Unicrypt All LP Locked Tokens Address
        • On Unicrypt Deposit
      • Uniswap
        • Get Uniswap LP Token
        • Get Uniswap LP Token Price
        • Uniswap Get Pair Price
        • Get Uniswap Token Price
        • On Uniswap Swap
        • On Uniswap Sync
      • Solana
    • Blocks (Charting)
      • Generate Time Series One Line Chart
      • Generate Time Series Two Line Chart
    • Blocks (Machine Learning)
      • Spam Detection
      • Sentiment Analysis
    • Node Connector Colors
      • Strings & Variables
      • Execution Logic (Yellow)
      • Integers (orange)
      • Booleans (pink)
    • Block Execution Order
      • Additional Block Execution
    • Block Color
      • Colors & Meaning
    • Block Type Overview
      • Function Type
      • Entry Point Type
      • Event Trigger Type
      • Variable Type
      • Condition Type
      • Connector Type
  • Nocode Users
    • Instant Deploy Wizard
    • GraphLinq Marketplace
  • Twitter
  • Medium
  • Github
  • GraphLinq Explorer
  • Audit Report
Powered by GitBook
On this page
  1. Dev tooling
  2. Block Type Overview

Function Type

The function Type is the node type that perform a specific task: it execute a fixed action (set of multiple instructions) inside your graph.

Current deployed function list over the Engine network:

"Block Type" -> "NodeBlock.Engine.Nodes.FetchHTTPNode"
"Description" -> "Make an HTTP GET request to any requested server"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.GetTimestampNode"
"Description" -> "Return the current timestamp of the engine localtime"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.JsonSelectorNode"
"Description" -> "Select a specific value in a json object and return it as string parameter"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.PrintNode"
"Description" -> "Display a message in the console logs"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.StopGraphNode"
"Description" -> "Stop the execution of the current graph"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Vars.GetVariable"
"Description" -> "Return the value of the variable pre computed from a Set variable block"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Vars.SetVariable"
"Description" -> "Set a variable value (can be any type) in the graph memory context"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Text.StringConcat"
"Description" -> "Split two string by a specific delimiter and return it as out parameter."
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Text.StringReplaceNode"
"Description" -> "Replace some part of the original string by a new strings"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Storage.GetKeyItemNode"
"Description" -> "Return a specific key from the Redis storage allocated for the graph execution"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Storage.KeyItemExistNode"
"Description" -> "Check if a specific key from the Redis storage exist"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Storage.SaveKeyItemNode"
"Description" -> "Save a specific key in the Redis storage allocated for the graph execution"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Math.AddNode"
"Description" -> "Calculate the value of A + B (both sent in params) and return it as out parameter"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Math.BounceRateIntervalNode"
"Description" -> "Calculate the bounce rate in the given interval, you can use the Percentage value only when the OnIntervalTick trigger"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Math.DivideNode"
"Description" -> "Calculate the division of value of A / B (both sent in params) and return it as out parameter, zero division are forbidden."
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Math.ModuloNode"
"Description" -> "Calculate the Modulo of value of A % B (both sent in params) and return it as out parameter."
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Math.MultiplyNode"
"Description" -> "Calculate the multiplication of value of A * B (both sent in params) and return it as out parameter."
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Math.PercentageDiffNode"
"Description" -> "Calculate the percentage difference of value of A from B (both sent in params) and return difference as out parameter."
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Math.SubtractNode"
"Description" -> "Calculate the substraction of value of A - B (both sent in params) and return it as out parameter."
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Encoding.ConvertLastBlockOutputToJsonNode"
"Description" -> "Serialize the last node executed in the graph to JSON data"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Encoding.ConvertToJsonNode"
"Description" -> "Convert the received any type parameter into a JSON object readable"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Encoding.StringToBase64Node"
"Description" -> "Transform a clear string into a base64 string as output"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Data.CombineDataNode"
"Description" -> "Combine two data in single one"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Data.ConvertNodeToDataNode"
"Description" -> "Convert output parameters to data parameters"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Data.SendDataToWebhookNode"
"Description" -> "Send data parameters as JSON to the url specified"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.AddCSVColumnNode"
"Description" -> "Add a new column to a csv"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.AddCSVRowNode"
"Description" -> "Add a row to a csv"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.AddCSVRowValue"
"Description" -> "Add a value to a csv row"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.ClearCSVNode"
"Description" -> "Clear CSV Rows"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.ConvertCSVToDataNode"
"Description" -> "Convert CSV to data parameters"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.ConvertCSVToFileNode"
"Description" -> "Convert CSV to file"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.ConvertLastNodeParametersToCSVRowNode"
"Description" -> "Convert last node out parameters to CSV row"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.CreateCSVNode"
"Description" -> "Create a new CSV instance"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.CreateCSVRowNode"
"Description" -> "Create new csv row"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.CSV.GetCSVRowsCountNode"
"Description" -> "Get CSV Rows Count"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Engine.Nodes.Branch.ExecutionTimeIntervalNode"
"Description" -> "Allow execution in a interval rate"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Ethereum.Nodes.Uniswap.GetUniswapPairPriceNode"
"Description" -> "Return the pair price of an Uniswap pool as out parameters"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Ethereum.Nodes.Eth.Transaction.GetBlockTransactionParametersNode"
"Description" -> "Parse the last Ethereum block object received into string out parameters readable"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Ethereum.Nodes.Eth.Transaction.GetTransactionParametersNode"
"Description" -> "Parse the last Ethereum transaction object received into string out parameters readable"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Ethereum.Nodes.Etherscan.GetGasPriceNode"
"Description" -> "Return the current GAS Price on the Ethereum blockchain as out parameter"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Exchange.Nodes.CoinGecko.GetCoinGeckoSimplePriceNode"
"Description" -> "Get CoinGecko Coin Data"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Exchange.Nodes.Binance.BinanceAvgPriceNode"
"Description" -> "Get the current average price on binance for a symbol"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Exchange.Nodes.Binance.BinanceGetVolumeNode"
"Description" -> "Get the 24h volume on binance for a symbol"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Exchange.Nodes.Binance.GetBinanceFutureUSDTRSINode"
"Description" -> "Get Binance Future USDT RSI for a symbol"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Exchange.Nodes.Binance.GetBinanceMarketRSINode"
"Description" -> "Get Binance Market RSI for a symbol"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Messaging.Nodes.Twitter.TweetMessageNode"
"Description" -> "Tweet a message on Twitter"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Messaging.Nodes.Telegram.SendTelegramMessageNode"
"Description" -> "Send a message on Telegram"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Messaging.Nodes.Discord.SendDiscordFileOnGuildNode"
"Description" -> "Send a file on a guild channel"
"Block Gas Cost" -> 0
"Block Type" -> "NodeBlock.Plugin.Messaging.Nodes.Discord.SendDiscordMessageOnGuildNode"
"Description" -> "Send a message on a guild channel"
"Block Gas Cost" -> 0

PreviousBlock Type OverviewNextEntry Point Type

Last updated 1 year ago