Skip to main content
Version: v4

CorporationV4Response

corporation objectrequired

A Corporation with on-chain fields plus indexer-computed aggregates (IDX-CO-QRY-1).

idintegerrequired

uint64 Corporation id

didstringrequired
policy_addressstring | nullnullablerequired

On-chain account that signs for the Corporation

languagestring | nullnullable
active_versioninteger | nullnullablerequired

Active CGF version

createdstring<date-time>required
modifiedstring<date-time>required
controlled_ecosystemsintegerrequired

Count of Ecosystems owned by this Corporation

participantsinteger
participants_ecosysteminteger
participants_issuer_grantorinteger
participants_issuerinteger
participants_verifier_grantorinteger
participants_verifierinteger
participants_holderinteger
depositinteger
shareinteger
refundedinteger
slashed_depositinteger
repaid_depositinteger
slash_countinteger
last_slashedstring | nullnullable
last_repaidstring | nullnullable
versions object[]

CGF versions (omitted when gf_data=none)

  • Array [
  • idinteger<int64>
    corporation_idinteger<int64>
    ecosystem_idinteger<int64>

    0 = Corporation's own CGF; otherwise an Ecosystem

    versioninteger
    createdstring<date-time>
    active_sincestring<date-time>nullable
    documents object[]
  • Array [
  • idinteger<int64>
    gfv_idinteger<int64>
    languagestring
    urlstring
    digest_sristring
    createdstring<date-time>
  • ]
  • ]
  • block_heightintegerrequired

    Resolved indexed height (echoes At-Block-Height when supplied)

    CorporationV4Response
    {
    "corporation": {
    "id": 0,
    "did": "string",
    "policy_address": "string",
    "language": "string",
    "active_version": 0,
    "created": "2024-07-29T15:51:28.071Z",
    "modified": "2024-07-29T15:51:28.071Z",
    "controlled_ecosystems": 0,
    "participants": 0,
    "participants_ecosystem": 0,
    "participants_issuer_grantor": 0,
    "participants_issuer": 0,
    "participants_verifier_grantor": 0,
    "participants_verifier": 0,
    "participants_holder": 0,
    "deposit": 0,
    "share": 0,
    "refunded": 0,
    "slashed_deposit": 0,
    "repaid_deposit": 0,
    "slash_count": 0,
    "last_slashed": "string",
    "last_repaid": "string",
    "versions": [
    {
    "id": 0,
    "corporation_id": 0,
    "ecosystem_id": 0,
    "version": 0,
    "created": "2024-07-29T15:51:28.071Z",
    "active_since": "2024-07-29T15:51:28.071Z",
    "documents": [
    {
    "id": 0,
    "gfv_id": 0,
    "language": "string",
    "url": "string",
    "digest_sri": "string",
    "created": "2024-07-29T15:51:28.071Z"
    }
    ]
    }
    ]
    },
    "block_height": 0
    }