Calls a view function on a contract and returns the result.

post/EXPERIMENTAL_call_function

Request body

idstring

JSON-RPC request id. Auto-populated; can be any string.

jsonrpc'2.0'

JSON-RPC protocol version. Always 2.0.

method'EXPERIMENTAL_call_function' required

Response

OR

Changes

Changed in 4 of the 9 revisions of this API.48

  • f586f485313811See the full diff
    • added subschema #2 subschema #6 to the ////// response property oneOf list for the response status

      response-property-one-of-added

    • removed subschema #2 subschema #6 from the ////// response property oneOf list for the response status

      response-property-one-of-removed

  • 97b870f1f63811See the full diff
    • added subschema #2 subschema #3 subschema #4 subschema #5 to the /// response property oneOf list for the response status

      response-property-one-of-added

    • removed subschema #2 subschema #3 subschema #4 subschema #5 from the /// response property oneOf list for the response status

      response-property-one-of-removed

  • e1982645f48311See the full diff
    • added subschema #2 to the response body oneOf list for the response status

      response-body-one-of-added

    • removed from the response body oneOf list for the response status

      response-body-one-of-removed

    This revision also has 570 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • request property was restricted to a list of enum values

      request-property-became-enum

    • the request property became optional

      request-property-became-optional

    • the request property became optional

      request-property-became-optional

    • the request property default value dontcare was added

      request-property-default-value-added

    • the request property default value 2.0 was added

      request-property-default-value-added

    • added the new 2.0 enum value to the request property

      request-property-enum-value-added