Hedera · Example Payload

Getcontractsresults

Returns a list of all ContractResults for all contract's function executions.

contracts

Getcontractsresults is an example object payload from Hedera, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersresponses

Example Payload

Raw ↑
{
  "operationId": "getContractsResults",
  "method": "GET",
  "path": "/api/v1/contracts/results",
  "summary": "List contract results from all contracts on the network",
  "description": "Returns a list of all ContractResults for all contract's function executions.",
  "tags": [
    "contracts"
  ],
  "parameters": [
    {
      "name": "from",
      "in": "query",
      "description": "Account ID or EVM address executing the contract",
      "required": false
    },
    {
      "name": "block.hash",
      "in": "query",
      "description": "The block's hash. If multiple values are provided the last value will be the only value used.",
      "required": false
    },
    {
      "name": "block.number",
      "in": "query",
      "description": "The block's number",
      "required": false
    },
    {
      "name": "hbar",
      "in": "query",
      "description": "Controls the unit used for monetary fields (`amount`, `gas_price`, `max_fee_per_gas`, `max_priority_fee_per_gas`). When `true` (default), values are returned in tinybars. When `false`, values are returned in weibars (the native Ethereum unit, where 1 tinybar = 10,000,000,000 weibars).",
      "required": false
    },
    {
      "name": "internal",
      "in": "query",
      "description": "Whether to include child transactions or not",
      "required": false
    },
    {
      "name": "limit",
      "in": "query",
      "description": "The maximum number of items to return",
      "required": false
    },
    {
      "name": "order",
      "in": "query",
      "description": "The order in which items are listed",
      "required": false
    },
    {
      "name": "timestamp",
      "in": "query",
      "description": "The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See [unixtimestamp.com](https://www.unixtimestamp.com/) for a simple way to convert a date to the 'seconds' part of the Unix time.",
      "required": false
    },
    {
      "name": "transaction.index",
      "in": "query",
      "description": "The transaction index in the block",
      "required": false
    }
  ],
  "responses": {
    "200": "OK",
    "400": "Invalid parameter"
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/getContractsResults"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.