Skip to main content

Call a view function on a contract by Hname

POST 

/v1/chain/callview

Execute a view call. Either use HName or Name properties. If both are supplied, HName are used.

Request

Body

required

Parameters

    arguments string[]required

    Encoded arguments to be passed to the function

    block string
    contractHName stringrequired

    The contract name as HName (Hex)

    contractName stringrequired

    The contract name

    functionHName stringrequired

    The function name as HName (Hex)

    functionName stringrequired

    The function name

Responses

Result

Schema
  • Array [
  • string

  • ]
Loading...