Skip to main content

Transaction by block height 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

Path Parameters
  • height integer required

    Block height

  • index integer required

    Transaction index on block

Responses

OK


Schema
  • signature string
  • tx object
    oneOf

  • vote object
  • encryptionKeyIndexes integer[]

    On encrypted votes, contains the (sorted) indexes of the keys used to encrypt

  • nonce integer[]

    Unique number per vote attempt, so that replay attacks can't reuse this payload

  • nullifier integer[]

    Hash of the private key + processId

  • processId integer[]

    The process for which the vote is casted

  • proof object
  • payload

    Types that are assignable to Payload:

    *Proof_EthereumStorage
    *Proof_EthereumAccount
    *Proof_Ca
    *Proof_Arbo
    *Proof_ZkSnark
    *Proof_MinimeStorage
    *Proof_FarcasterFrame
  • votePackage integer[]

    JSON string of the Vote Package (potentially encrypted), encoded as bytes.

  • txInfo object
  • blockHeight int32
  • transactionHash string
  • transactionIndex int32
  • transactionNumber int64
  • transactionType string

    Possible values: [vote, newProcess, admin, setProcess, registerKey, mintTokens, sendTokens, setTransactionCosts, setAccount, collectFaucet, setKeykeeper]

Loading...

Resources

Guides
Soon

Tutorials
Soon

Copyright © 2024 Vocdoni, Inc. All rights reserved.