Tezos · Schema

Entrypoint

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
name string Entrypoint name
jsonParameters object A kind of JSON schema, describing how parameters will look like in a human-readable JSON format
michelineParameters object Parameters schema in micheline format
michelsonParameters string Parameters schema in michelson format
unused boolean Unused means that the entrypoint can be normalized to a more specific one. For example here `(or %entry1 (unit %entry2) (nat %entry3))` the `%entry1` is unused entrypoint because it can be normalized
View JSON Schema on GitHub

JSON Schema

entrypoint.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Entrypoint",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "description": "Entrypoint name"
    },
    "jsonParameters": {
      "description": "A kind of JSON schema, describing how parameters will look like in a human-readable JSON format",
      "nullable": true
    },
    "michelineParameters": {
      "description": "Parameters schema in micheline format",
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/IMicheline"
        }
      ]
    },
    "michelsonParameters": {
      "type": "string",
      "description": "Parameters schema in michelson format",
      "nullable": true
    },
    "unused": {
      "type": "boolean",
      "description": "Unused means that the entrypoint can be normalized to a more specific one.\nFor example here `(or %entry1 (unit %entry2) (nat %entry3))` the `%entry1` is unused entrypoint\nbecause it can be normalized to `%entry2` or `%entry3`"
    }
  }
}