Stellar · Schema

InvokeHostFunction

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
_links object
id object
paging_token string
transaction_successful boolean
source_account object
type string
type_i number
created_at string
transaction_hash string
function string
parameters array
address string
salt string
asset_balance_changes array
View JSON Schema on GitHub

JSON Schema

stellar-horizon-invokehostfunction.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/horizon/InvokeHostFunction.json",
  "title": "InvokeHostFunction",
  "type": "object",
  "properties": {
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "$ref": "#/components/schemas/link"
        },
        "transaction": {
          "$ref": "#/components/schemas/link"
        },
        "effects": {
          "$ref": "#/components/schemas/link"
        },
        "succeeds": {
          "$ref": "#/components/schemas/link"
        },
        "precedes": {
          "$ref": "#/components/schemas/link"
        }
      },
      "required": [
        "self",
        "transaction",
        "effects",
        "succeeds",
        "precedes"
      ]
    },
    "id": {
      "$ref": "#/components/schemas/id"
    },
    "paging_token": {
      "type": "string"
    },
    "transaction_successful": {
      "type": "boolean"
    },
    "source_account": {
      "$ref": "#/components/schemas/address"
    },
    "type": {
      "type": "string",
      "example": "invoke_host_function"
    },
    "type_i": {
      "type": "number",
      "example": 0
    },
    "created_at": {
      "type": "string"
    },
    "transaction_hash": {
      "type": "string"
    },
    "function": {
      "type": "string"
    },
    "parameters": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/host_function_parameter"
      }
    },
    "address": {
      "type": "string"
    },
    "salt": {
      "type": "string"
    },
    "asset_balance_changes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/asset_balance_change"
      }
    }
  },
  "required": [
    "id",
    "paging_token",
    "transaction_successful",
    "source_account",
    "type",
    "type_i",
    "created_at",
    "transaction_hash",
    "function"
  ]
}