Hedera · Schema
ContractAction
Distributed LedgerBlockchainDLTHashgraphTransactionTokensNFTSmart ContractsEnterprise
Properties
| Name | Type | Description |
|---|---|---|
| call_depth | integer | The nesting depth of the call |
| call_operation_type | string | The type of the call operation |
| call_type | string | The type of the call |
| caller | object | |
| caller_type | string | The entity type of the caller |
| from | string | The EVM address of the caller |
| gas | integer | Gas cost in tinybars |
| gas_used | integer | Gas used in tinybars |
| index | integer | The position of the action within the ordered list of actions |
| input | stringnull | The hex encoded input data |
| recipient | object | |
| recipient_type | stringnull | The entity type of the recipient |
| result_data | stringnull | The hex encoded result data |
| result_data_type | string | The type of the result data |
| timestamp | object | |
| to | object | |
| value | integer | The value of the transaction in tinybars |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hedera/refs/heads/main/json-schema/ContractAction.json",
"title": "ContractAction",
"type": "object",
"properties": {
"call_depth": {
"description": "The nesting depth of the call",
"example": 1,
"format": "int32",
"type": "integer"
},
"call_operation_type": {
"description": "The type of the call operation",
"enum": [
"CALL",
"CALLCODE",
"CREATE",
"CREATE2",
"DELEGATECALL",
"STATICCALL",
"UNKNOWN"
],
"example": "CALL",
"type": "string"
},
"call_type": {
"description": "The type of the call",
"enum": [
"NO_ACTION",
"CALL",
"CREATE",
"PRECOMPILE",
"SYSTEM"
],
"example": "CALL",
"type": "string"
},
"caller": {
"$ref": "#/components/schemas/EntityId"
},
"caller_type": {
"description": "The entity type of the caller",
"type": "string",
"enum": [
"ACCOUNT",
"CONTRACT"
],
"example": "ACCOUNT"
},
"from": {
"description": "The EVM address of the caller",
"example": "0x0000000000000000000000000000000000000065",
"type": "string"
},
"gas": {
"description": "Gas cost in tinybars",
"example": 50000,
"format": "int64",
"type": "integer"
},
"gas_used": {
"description": "Gas used in tinybars",
"example": 50000,
"format": "int64",
"type": "integer"
},
"index": {
"description": "The position of the action within the ordered list of actions",
"example": 0,
"format": "int32",
"type": "integer"
},
"input": {
"description": "The hex encoded input data",
"example": "0x123456",
"type": [
"string",
"null"
]
},
"recipient": {
"$ref": "#/components/schemas/EntityId"
},
"recipient_type": {
"description": "The entity type of the recipient",
"type": [
"string",
"null"
],
"enum": [
"ACCOUNT",
"CONTRACT"
],
"example": "ACCOUNT"
},
"result_data": {
"description": "The hex encoded result data",
"example": "0x123456",
"type": [
"string",
"null"
]
},
"result_data_type": {
"description": "The type of the result data",
"enum": [
"OUTPUT",
"REVERT_REASON",
"ERROR"
],
"example": "OUTPUT",
"type": "string"
},
"timestamp": {
"$ref": "#/components/schemas/Timestamp"
},
"to": {
"$ref": "#/components/schemas/EvmAddressNullable"
},
"value": {
"description": "The value of the transaction in tinybars",
"example": 50000,
"format": "int64",
"type": "integer"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ContractAction"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.