Read a Record proposal and its canonical decision history

Reads the opening event, exact action hash and ownership snapshot sequence. The tally sums the recorded ballots at one canonical checkpoint. Finalization supplies eligible units and the earliest execution time. A disposition records actual execution or supersession. Before finalization, the contract has emitted neither the denominator nor the executable time. Clients cannot infer voting deadlines, live voting state or permission to execute solely from this event history.

GET
/v1/records/{recordId}/proposals/{proposalId}
/v1/records/{recordId}/proposals/{proposalId}

Path Parameters

recordId
Required
string

A 32-byte on-chain identifier — dataset id, frontier id, campaign id, task id, CF id, Merkle root. The 0x prefix is mandatory; a bare hex string is rejected. Responses always render lowercase, but requests accept either case.

Pattern: "^0[xX][0-9a-fA-F]{64}$"

proposalId
Required
string

A 32-byte on-chain identifier — dataset id, frontier id, campaign id, task id, CF id, Merkle root. The 0x prefix is mandatory; a bare hex string is rejected. Responses always render lowercase, but requests accept either case.

Pattern: "^0[xX][0-9a-fA-F]{64}$"
curl -X GET "http://lineage-api.xny-staging.svc.cluster.local:8001/v1/records/0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41/proposals/0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41"

Proposal opening, weighted tallies and observed decisions.

{
  "recordId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "proposalId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "kind": "CHANGE_POLICY",
  "actionHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "ownershipSequence": "string",
  "tally": {
    "forUnits": "string",
    "againstUnits": "string",
    "abstainUnits": "string"
  },
  "finalization": {
    "passed": true,
    "eligibleUnits": "string",
    "finalizedAt": "string",
    "executableAt": "string",
    "blockNumber": "string",
    "blockHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
    "transactionHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
    "logIndex": 0
  },
  "disposition": {
    "outcome": "EXECUTED",
    "operationId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
    "blockNumber": "string",
    "blockHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
    "transactionHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
    "logIndex": 0
  },
  "streamId": "string",
  "chainId": "string",
  "contractAddress": "string",
  "asOfBlock": "string",
  "asOfBlockHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "generation": 0,
  "finality": "string",
  "syncStatus": "string",
  "indexedAt": "2019-08-24T14:15:22Z",
  "blockNumber": "string",
  "blockHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "transactionHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "logIndex": 0
}

Last updated