Read a holder’s recorded ballot for a Record proposal

Returns the immutable VoteRecorded event for the represented holder. The voter, choice and units reflect the original ballot and proposal snapshot. Later transfers leave that ballot intact. Every value comes from the canonical governance journal.

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

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}$"

holder
Required
string

Represented holder’s nonzero wallet address.

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

Recorded ballot and its canonical evidence.

{
  "recordId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "proposalId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "representedHolder": "string",
  "voter": "string",
  "choice": "AGAINST",
  "snapshotUnits": "string",
  "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"
}

Last updated