Skip to main content

Transaction

A Midnight transaction.

interface Transaction {
id: Int!
hash: HexEncoded!
protocolVersion: Int!
raw: HexEncoded!
block: Block!
contractActions: [ContractAction!]!
unshieldedCreatedOutputs: [UnshieldedUtxo!]!
unshieldedSpentOutputs: [UnshieldedUtxo!]!
zswapLedgerEvents: [ZswapLedgerEvent!]!
dustLedgerEvents: [DustLedgerEvent!]!
}

Fields

Transaction.id ● Int! non-null scalar

Transaction.hash ● HexEncoded! non-null scalar

Transaction.protocolVersion ● Int! non-null scalar

Transaction.raw ● HexEncoded! non-null scalar

Transaction.block ● Block! non-null object

Transaction.contractActions ● [ContractAction!]! non-null interface

Transaction.unshieldedCreatedOutputs ● [UnshieldedUtxo!]! non-null object

Transaction.unshieldedSpentOutputs ● [UnshieldedUtxo!]! non-null object

Transaction.zswapLedgerEvents ● [ZswapLedgerEvent!]! non-null object

Transaction.dustLedgerEvents ● [DustLedgerEvent!]! non-null interface

Returned By

transactions query

Member Of

Block object ● ContractAction interface ● ContractCall object ● ContractDeploy object ● ContractUpdate object ● UnshieldedTransaction object ● UnshieldedUtxo object

Implemented By

RegularTransaction object ● SystemTransaction object