Skip to content

rosetta reports some stx unlock at incorrect heights #2424

@rafaelcr

Description

@rafaelcr

The stacks rosetta node generates stx_unlock operations at scheduled heights even when balance already unlocked earlier.

Example (SP3MCAXZWZRCEW3HRKA8B08HB4HWBP2SN1YJKKD5Z):

  • Block 140307: Lock 100,043,319,874 STX → scheduled unlock at burn height 836150 (block 143989)
  • Block 140628: Actually unlocks (balance → 0)
  • Block 143989: Rosetta shows unlock operation, but balance unchanged

Unlock Operation Returned in Block 140628

{
  "operation_identifier": {
    "index": 4
    "type": "stx_unlock"
    "status": "success"
    "account": {
      "address": "SP3MCAXZWZRCEW3HRKA8B08HB4HWBP2SN1YJKKD5Z"
    }
  }
  "amount": {
    "value": "100043319874"
    "currency": {
      "decimals": 6,
      "symbol": "STX"
    }
  }
  "metadata": {
    "tx_id": "0xc512c01981d015d276f4eca230e7c9543706b22ee57c765f81558c1ca1bfc8c5"

Unlock Operation Returned in Block 143989 (Duplicated, balance unchanged)

{
  "operation_identifier": {
    "index": 5886
  }
  "type": "stx_unlock"
  "status": "success"
  "account": {
    "address": "SP3MCAXZWZRCEW3HRKA8B08HB4HWBP2SN1YJKKD5Z"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions