Chain
Everything about internal Vochain information (transactions, organizations, blocks, stats...)
Returns the estimated timestamp for the block height provided
Returns the block from the given hash
Returns the full block information at the given height
Given a block returns the list of transactions for that block
Returns the estimated block height for the timestamp provided
Return basic Vocdoni Blockchain (Vochain) information like blockTime, chainId, current height...
Returns the circuit configuration according to the current circuit
Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.
Return the number of organizations
Returns a list of organizations filtered by its partial id, paginated by the given page
An Organizations is an account with infoUri
that contains organization associated metadata.
It submit a transaction. Depending of transaction type will return different kinds of responses:
Returns the list of transactions and its cost
Returns the number of transactions
To get full transaction information use /chain/transaction/{blockHeight}/{txIndex}. Where transactionIndex is the index of the transaction on the containing block.
Get transaction by its index. This is not transaction reference (hash), and neither the block height and block index. The transaction index is an incremental counter for each transaction. You could use the transaction block
and index
to retrieve full info using transaction by block and index.
Using transaction hash it return the block
and index
containing that contains the transaction. After, you could use this block
and index
to retrieve transaction full info using transaction by block and index
Get transaction full information by block height and index. It returns JSON transaction protobuf encoded. Depending of transaction type will return different types of objects. Current transaction types can be found calling /chain/transactions/cost
Returns the list of validators