v1

latestSwagger 2.0Github2026-07-17202026.4 KB
Transaction

Get a transaction's detail

get/api/transactions/{tx}

Response

OK

_idstring

id

txstring

transaction hash

smartContractAddressstring

smart contract's address

__vnumber

__v

capacitystring

capacity in wei

createdAtstring

creation date of candidate

ownerstring

owner's address

blockNumbernumber

blockNumber

updatedAtstring

update time

voterstring

voter address

candidatestring

candidate address

event'Vote' | 'Unvote' | 'Withdraw' | 'Propose' | 'Resign'

event

Example response

{
  "_id": "5c52a4465f0abf3496da0e91",
  "tx": "0xdd03614f86982663b4c17eaaf9051b3df7a88fefc445df41921fa223c6178bf7",
  "smartContractAddress": "0x0000000000000000000000000000000000000088",
  "capacity": "1715000000000000000000",
  "createdAt": "2018-10-31T03:42:39.375Z",
  "owner": "0x7e0d154cba89190ce1801031cba9d46ad21eb317",
  "blockNumber": 1310702,
  "updatedAt": "2019-01-11T09:17:59.535Z",
  "voter": "0x7e0d154cba89190ce1801031cba9d46ad21eb317",
  "event": "Withdraw"
}