Skip to main content
Version: v4

TrustDepositHistoryResponse

history object[]
  • Array [
  • idinteger

    History record ID

    corporationstring

    Corporation address

    shareinteger

    Share amount at this point

    depositinteger

    Deposit amount at this point

    claimableinteger

    Claimable amount at this point

    slashed_depositinteger

    Slashed deposit at this point

    repaid_depositinteger

    Repaid deposit at this point

    last_slashedstring<date-time>nullable

    Last slashed timestamp

    last_repaidstring<date-time>nullable

    Last repaid timestamp

    slash_countinteger

    Slash count at this point

    event_typestring

    Type of event that caused this history record

    Possible values: [CREATE_TRUST_DEPOSIT, ADJUST_TRUST_DEPOSIT, SLASH_TRUST_DEPOSIT, SLASH_PARTICIPANT_TRUST_DEPOSIT, RECLAIM_YIELD, RECLAIM_DEPOSIT, REPAY_SLASHED]

    heightinteger

    Block height when this change occurred

    changesobjectnullable

    Field-level diffs showing what changed

    created_atstring<date-time>

    When this history record was created

  • ]
  • TrustDepositHistoryResponse
    {
    "history": [
    {
    "id": 0,
    "corporation": "string",
    "share": 0,
    "deposit": 0,
    "claimable": 0,
    "slashed_deposit": 0,
    "repaid_deposit": 0,
    "last_slashed": "2024-07-29T15:51:28.071Z",
    "last_repaid": "2024-07-29T15:51:28.071Z",
    "slash_count": 0,
    "event_type": "CREATE_TRUST_DEPOSIT",
    "height": 0,
    "changes": {},
    "created_at": "2024-07-29T15:51:28.071Z"
    }
    ]
    }