Skip to content

Latest commit

 

History

History
13174 lines (10927 loc) · 321 KB

File metadata and controls

13174 lines (10927 loc) · 321 KB

Schema Types

Table of Contents

Query (query_root)

Field Argument Type Description
authchain_migrations_view [authchain_migrations_view!]!

fetch data from the table: "authchain_migrations_view"

distinct_on [authchain_migrations_view_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [authchain_migrations_view_order_by!]

sort the rows by one or more columns

where authchain_migrations_view_bool_exp

filter the rows returned

authchain_view [authchain_view!]!

fetch data from the table: "authchain_view"

distinct_on [authchain_view_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [authchain_view_order_by!]

sort the rows by one or more columns

where authchain_view_bool_exp

filter the rows returned

block [block!]!

fetch data from the table: "block"

distinct_on [block_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [block_order_by!]

sort the rows by one or more columns

where block_bool_exp

filter the rows returned

block_by_pk block

fetch data from the table: "block" using primary key columns

internal_id bigint!

A unique, int64 identifier for this block assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

block_transaction [block_transaction!]!

fetch data from the table: "block_transaction"

distinct_on [block_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [block_transaction_order_by!]

sort the rows by one or more columns

where block_transaction_bool_exp

filter the rows returned

block_transaction_by_pk block_transaction

fetch data from the table: "block_transaction" using primary key columns

block_internal_id bigint!

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

input [input!]!

fetch data from the table: "input"

distinct_on [input_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [input_order_by!]

sort the rows by one or more columns

where input_bool_exp

filter the rows returned

input_by_pk input

fetch data from the table: "input" using primary key columns

input_index bigint!

The zero-based index of this input in the transaction.

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

node [node!]!

fetch data from the table: "node"

distinct_on [node_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_order_by!]

sort the rows by one or more columns

where node_bool_exp

filter the rows returned

node_block [node_block!]!

fetch data from the table: "node_block"

distinct_on [node_block_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_block_order_by!]

sort the rows by one or more columns

where node_block_bool_exp

filter the rows returned

node_block_by_pk node_block

fetch data from the table: "node_block" using primary key columns

block_internal_id bigint!

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_history [node_block_history!]!

fetch data from the table: "node_block_history"

distinct_on [node_block_history_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_block_history_order_by!]

sort the rows by one or more columns

where node_block_history_bool_exp

filter the rows returned

node_block_history_by_pk node_block_history

fetch data from the table: "node_block_history" using primary key columns

internal_id bigint!

The internal_id (assigned by Chaingraph) of this node_block_history record.

node_by_pk node

fetch data from the table: "node" using primary key columns

internal_id Int!

A unique, int32 identifier for this node assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

node_transaction [node_transaction!]!

fetch data from the table: "node_transaction"

distinct_on [node_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_transaction_order_by!]

sort the rows by one or more columns

where node_transaction_bool_exp

filter the rows returned

node_transaction_by_pk node_transaction

fetch data from the table: "node_transaction" using primary key columns

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_history [node_transaction_history!]!

fetch data from the table: "node_transaction_history"

distinct_on [node_transaction_history_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_transaction_history_order_by!]

sort the rows by one or more columns

where node_transaction_history_bool_exp

filter the rows returned

output [output!]!

fetch data from the table: "output"

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

output_by_pk output

fetch data from the table: "output" using primary key columns

output_index bigint!

The zero-based index of this output in the transaction.

transaction_hash bytea!

The 32-byte, double-sha256 hash of the network-encoded transaction containing this output in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

search_output [output!]!

execute function "search_output" which returns "output"

args search_output_args!

input parameters for function "search_output"

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

search_output_prefix [output!]!

execute function "search_output_prefix" which returns "output"

args search_output_prefix_args!

input parameters for function "search_output_prefix"

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

transaction [transaction!]!

fetch data from the table: "transaction"

distinct_on [transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [transaction_order_by!]

sort the rows by one or more columns

where transaction_bool_exp

filter the rows returned

transaction_by_pk transaction

fetch data from the table: "transaction" using primary key columns

internal_id bigint!

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

Mutation (mutation_root)

mutation root

Field Argument Type Description
send_transaction SendTransactionResult!

Send an encoded transaction to the requested node for broadcast to the network.

request SendTransactionRequest!

Objects

SendTransactionResult

Field Argument Type Description
transaction_hash String!
transmission_error_message String
transmission_success Boolean!
validation_error_message String
validation_success Boolean!

authchain_migrations_view

A view which maps migration transactions to their index in a particular authchain.

Field Argument Type Description
authbase_internal_id bigint
migration_index bigint
migration_transaction_internal_id bigint
transaction [transaction!]

This function powers the "transaction.authchains[n].migrations[n].transaction" computed field in migration objects. This is a workaround to improve performance over an equivalent "transaction" standard Hasura relationship. When implemented as a relationship, the Hasura-compiled SQL query requires a full scan of the authchain_migrations_view, which is extremely large and expensive to compute.

distinct_on [transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [transaction_order_by!]

sort the rows by one or more columns

where transaction_bool_exp

filter the rows returned

authchain_view

A view which contains one row per possible authhead per transaction.

Field Argument Type Description
authchain_length Int
authhead transaction

An object relationship

authhead_transaction_hash bytea
migrations [authchain_migrations_view!]!

An array relationship

distinct_on [authchain_migrations_view_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [authchain_migrations_view_order_by!]

sort the rows by one or more columns

where authchain_migrations_view_bool_exp

filter the rows returned

transaction_internal_id bigint
unspent_authhead Boolean

block

A blockchain block.

Field Argument Type Description
accepted_by [node_block!]!

An array relationship

distinct_on [node_block_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_block_order_by!]

sort the rows by one or more columns

where node_block_bool_exp

filter the rows returned

bits bigint!

The uint32 packed representation of the difficulty target being used for this block. To be valid, the block hash value must be less than this difficulty target.

encoded_hex String

Encode a full block using the standard P2P network format, returning the result as a hex-encoded string.

fee_satoshis bigint

The total fee in satoshis paid by all transactions in this block.

generated_value_satoshis bigint

The total value in satoshis generated by this block.

hash bytea!

The 32-byte, double-sha256 hash of the block header (encoded using the standard P2P network format) in big-endian byte order. This is used as a universal, unique identifier for the block. Big-endian byte order is typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

header String

Encode a block header using the standard P2P network format, returning the result as a hex-encoded string.

height bigint!

The height of this block: the number of blocks mined between this block and its genesis block (block 0).

input_count bigint

The total number of transaction inputs in this block.

input_value_satoshis bigint

The total value in satoshis of all outputs spent by transaction inputs in this block.

internal_id bigint!

A unique, int64 identifier for this block assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

merkle_root bytea!

The 32-byte root hash of the double-sha256 merkle tree of transactions confirmed by this block. Note, the unusual merkle tree construction used by most chains is vulnerable to CVE-2012-2459. The final node in oddly-numbered levels is duplicated, and special care is required to ensure trees contain minimal duplicatation.

nonce bigint!

The uint32 nonce used for this block. This field allows miners to introduce entropy into the block header, changing the resulting hash during mining.

output_count bigint

The total number of transaction outputs in this block.

output_value_satoshis bigint

The total value in satoshis of all outputs created by transactions in this block.

previous_block block

An object relationship

previous_block_hash bytea!

The 32-byte, double-sha256 hash of the previous block's header in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

size_bytes bigint!

The network-encoded size of this block in bytes including transactions.

timestamp bigint!

The uint32 current Unix timestamp claimed by the miner at the time this block was mined. By consensus, block timestamps must be within ~2 hours of the actual time, but timestamps are not guaranteed to be accurate. Timestamps of later blocks can also be earlier than their parent blocks.

transaction_count bigint

The total number of transactions in this block.

transactions [block_transaction!]!

An array relationship

distinct_on [block_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [block_transaction_order_by!]

sort the rows by one or more columns

where block_transaction_bool_exp

filter the rows returned

version bigint!

The "version" field of this block; a 4-byte field typically represented as an int32. While originally designed to indicate a block's version, this field has been used for several other purposes. BIP34 ("Height in Coinbase") enforced a minimum version of 2, BIP66 ("Strict DER Signatures") enforced a minimum version of 3, then BIP9 repurposed most bits of the version field for network signaling. In recent years, the version field is also used for the AsicBoost mining optimization.

block_transaction

A many-to-many relationship between blocks and transactions.

Field Argument Type Description
block block!

An object relationship

block_internal_id bigint!

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction transaction!

An object relationship

transaction_index bigint!

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

input

A transaction input.

Field Argument Type Description
input_index bigint!

The zero-based index of this input in the transaction.

outpoint output

An object relationship

outpoint_index bigint!

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

outpoint_transaction output

An object relationship

outpoint_transaction_hash bytea!

The 32-byte, double-sha256 hash of the network-encoded transaction from which this input is spent in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

redeem_bytecode_pattern String

If the final instruction of the unlocking bytecode is a push instruction, parse its contents as a P2SH redeem bytecode, extracting the first byte of each instruction into a bytecode pattern (excluding length bytes and pushed data). If the last instruction is not a push, return NULL. Note: this function does not confirm that the spent locking bytecode is P2SH. For correct results, only call this function for inputs which spend P2SH outputs.

sequence_number bigint!

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction transaction!

An object relationship

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

unlocking_bytecode bytea!

The bytecode used to unlock a transaction output. To spend an output, unlocking bytecode must be included in a transaction input which – when evaluated in the authentication virtual machine with the locking bytecode – completes in valid state.

unlocking_bytecode_pattern String

Extract the first byte of each instruction for the unlocking bytecode of an input. The resulting pattern excludes the contents of pushed values such that similar bytecode sequences produce the same pattern.

value_satoshis bigint

The value in satoshis of all outpoints spent by this transaction. Set to null for coinbase transactions.

node

A trusted node which has been connected to this Chaingraph instance.

Field Argument Type Description
accepted_blocks [node_block!]!

An array relationship

distinct_on [node_block_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_block_order_by!]

sort the rows by one or more columns

where node_block_bool_exp

filter the rows returned

first_connected_at timestamp!

The UTC timestamp at which this node was first connected to Chaingraph.

internal_id Int!

A unique, int32 identifier for this node assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

latest_connection_began_at timestamp!

The UTC timestamp at which this node began its most recent connection to Chaingraph.

name String!

The name configured as a stable identifier for this particular trusted node.

protocol_version Int!

The protocol version reported by this node during the most recent connection handshake.

unconfirmed_transaction_count bigint

The total number of unconfirmed transactions in the mempool of this node.

unconfirmed_transactions [node_transaction!]!

An array relationship

distinct_on [node_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_transaction_order_by!]

sort the rows by one or more columns

where node_transaction_bool_exp

filter the rows returned

user_agent String!

The user agent reported by this node during the most recent connection handshake.

node_block

A many-to-many relationship between nodes and blocks.

Field Argument Type Description
accepted_at timestamp

The UTC timestamp at which the referenced block was accepted by the referenced node. Set to NULL if the true acceptance time is unknown (the block was accepted by this node before Chaingraph began monitoring). In the event of a blockchain reorganization, the record is deleted from node_block and saved to node_block_history.

block block!

An object relationship

block_internal_id bigint!

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node node!

An object relationship

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_history

An archive of deleted node_blocks.

Field Argument Type Description
accepted_at timestamp

The UTC timestamp at which the referenced block was accepted by the referenced node in the deleted node_block. Set to NULL if the true acceptance time was unknown (the block was accepted by this node before Chaingraph began monitoring).

block block!

An object relationship

block_internal_id bigint!

The internal_id (assigned by Chaingraph) of the block referenced by the deleted node_block.

internal_id bigint!

The internal_id (assigned by Chaingraph) of this node_block_history record.

node node!

An object relationship

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_block.

removed_at timestamp!

The UTC timestamp at which the referenced block was removed by the referenced node.

node_transaction

A many-to-many relationship between nodes and unconfirmed transactions, A.K.A. "mempool". Transactions which are first heard in a block are never recorded as node_transactions, but skip directly to being record by a pair of node_block and block_transaction relationships.

Field Argument Type Description
node node!

An object relationship

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction transaction!

An object relationship

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

validated_at timestamp

The UTC timestamp at which the referenced transaction was validated by the referenced node.

node_transaction_history

An archive of deleted node_transactions.

Field Argument Type Description
internal_id bigint!

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node node!

An object relationship

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

replaced_at timestamp

The UTC timestamp at which the referenced transaction was marked as replaced (A.K.A. double-spent) by the referenced node.

transaction transaction!

An object relationship

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

validated_at timestamp

The UTC timestamp at which the referenced transaction was validated by the referenced node in the deleted node_transaction.

output

A transaction output.

Field Argument Type Description
fungible_token_amount bigint

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

locking_bytecode bytea!

The bytecode used to encumber this transaction output. To spend the output, unlocking bytecode must be included in a transaction input which – when evaluated before this locking bytecode – completes in a valid state.

locking_bytecode_pattern String

Extract the first byte of each instruction for the locking bytecode of an output. The resulting pattern excludes the contents of pushed values such that similar bytecode sequences produce the same pattern.

nonfungible_token_capability enum_nonfungible_token_capability

The capability of the non-fungible token (NFT) held in this output: "none", "mutable", or "minting". This field is null if no NFT is present.

nonfungible_token_commitment bytea

The commitment contents of the non-fungible token (NFT) held in this output (0 to 40 bytes). This field is null if no NFT is present.

output_index bigint!

The zero-based index of this output in the transaction.

spent_by [input!]!

An array relationship

distinct_on [input_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [input_order_by!]

sort the rows by one or more columns

where input_bool_exp

filter the rows returned

token_category bytea

The 32-byte token category to which the token(s) in this output belong. This field is null if no tokens are present.

transaction transaction!

An object relationship

transaction_hash bytea!

The 32-byte, double-sha256 hash of the network-encoded transaction containing this output in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

value_satoshis bigint!

The value of this output in satoshis.

subscription_root

Field Argument Type Description
authchain_migrations_view [authchain_migrations_view!]!

fetch data from the table: "authchain_migrations_view"

distinct_on [authchain_migrations_view_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [authchain_migrations_view_order_by!]

sort the rows by one or more columns

where authchain_migrations_view_bool_exp

filter the rows returned

authchain_migrations_view_stream [authchain_migrations_view!]!

fetch data from the table in a streaming manner: "authchain_migrations_view"

batch_size Int!

maximum number of rows returned in a single batch

cursor [authchain_migrations_view_stream_cursor_input]!

cursor to stream the results returned by the query

where authchain_migrations_view_bool_exp

filter the rows returned

authchain_view [authchain_view!]!

fetch data from the table: "authchain_view"

distinct_on [authchain_view_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [authchain_view_order_by!]

sort the rows by one or more columns

where authchain_view_bool_exp

filter the rows returned

authchain_view_stream [authchain_view!]!

fetch data from the table in a streaming manner: "authchain_view"

batch_size Int!

maximum number of rows returned in a single batch

cursor [authchain_view_stream_cursor_input]!

cursor to stream the results returned by the query

where authchain_view_bool_exp

filter the rows returned

block [block!]!

fetch data from the table: "block"

distinct_on [block_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [block_order_by!]

sort the rows by one or more columns

where block_bool_exp

filter the rows returned

block_by_pk block

fetch data from the table: "block" using primary key columns

internal_id bigint!

A unique, int64 identifier for this block assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

block_stream [block!]!

fetch data from the table in a streaming manner: "block"

batch_size Int!

maximum number of rows returned in a single batch

cursor [block_stream_cursor_input]!

cursor to stream the results returned by the query

where block_bool_exp

filter the rows returned

block_transaction [block_transaction!]!

fetch data from the table: "block_transaction"

distinct_on [block_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [block_transaction_order_by!]

sort the rows by one or more columns

where block_transaction_bool_exp

filter the rows returned

block_transaction_by_pk block_transaction

fetch data from the table: "block_transaction" using primary key columns

block_internal_id bigint!

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_stream [block_transaction!]!

fetch data from the table in a streaming manner: "block_transaction"

batch_size Int!

maximum number of rows returned in a single batch

cursor [block_transaction_stream_cursor_input]!

cursor to stream the results returned by the query

where block_transaction_bool_exp

filter the rows returned

input [input!]!

fetch data from the table: "input"

distinct_on [input_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [input_order_by!]

sort the rows by one or more columns

where input_bool_exp

filter the rows returned

input_by_pk input

fetch data from the table: "input" using primary key columns

input_index bigint!

The zero-based index of this input in the transaction.

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_stream [input!]!

fetch data from the table in a streaming manner: "input"

batch_size Int!

maximum number of rows returned in a single batch

cursor [input_stream_cursor_input]!

cursor to stream the results returned by the query

where input_bool_exp

filter the rows returned

node [node!]!

fetch data from the table: "node"

distinct_on [node_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_order_by!]

sort the rows by one or more columns

where node_bool_exp

filter the rows returned

node_block [node_block!]!

fetch data from the table: "node_block"

distinct_on [node_block_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_block_order_by!]

sort the rows by one or more columns

where node_block_bool_exp

filter the rows returned

node_block_by_pk node_block

fetch data from the table: "node_block" using primary key columns

block_internal_id bigint!

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_history [node_block_history!]!

fetch data from the table: "node_block_history"

distinct_on [node_block_history_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_block_history_order_by!]

sort the rows by one or more columns

where node_block_history_bool_exp

filter the rows returned

node_block_history_by_pk node_block_history

fetch data from the table: "node_block_history" using primary key columns

internal_id bigint!

The internal_id (assigned by Chaingraph) of this node_block_history record.

node_block_history_stream [node_block_history!]!

fetch data from the table in a streaming manner: "node_block_history"

batch_size Int!

maximum number of rows returned in a single batch

cursor [node_block_history_stream_cursor_input]!

cursor to stream the results returned by the query

where node_block_history_bool_exp

filter the rows returned

node_block_stream [node_block!]!

fetch data from the table in a streaming manner: "node_block"

batch_size Int!

maximum number of rows returned in a single batch

cursor [node_block_stream_cursor_input]!

cursor to stream the results returned by the query

where node_block_bool_exp

filter the rows returned

node_by_pk node

fetch data from the table: "node" using primary key columns

internal_id Int!

A unique, int32 identifier for this node assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

node_stream [node!]!

fetch data from the table in a streaming manner: "node"

batch_size Int!

maximum number of rows returned in a single batch

cursor [node_stream_cursor_input]!

cursor to stream the results returned by the query

where node_bool_exp

filter the rows returned

node_transaction [node_transaction!]!

fetch data from the table: "node_transaction"

distinct_on [node_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_transaction_order_by!]

sort the rows by one or more columns

where node_transaction_bool_exp

filter the rows returned

node_transaction_by_pk node_transaction

fetch data from the table: "node_transaction" using primary key columns

node_internal_id Int!

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id bigint!

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_history [node_transaction_history!]!

fetch data from the table: "node_transaction_history"

distinct_on [node_transaction_history_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_transaction_history_order_by!]

sort the rows by one or more columns

where node_transaction_history_bool_exp

filter the rows returned

node_transaction_history_stream [node_transaction_history!]!

fetch data from the table in a streaming manner: "node_transaction_history"

batch_size Int!

maximum number of rows returned in a single batch

cursor [node_transaction_history_stream_cursor_input]!

cursor to stream the results returned by the query

where node_transaction_history_bool_exp

filter the rows returned

node_transaction_stream [node_transaction!]!

fetch data from the table in a streaming manner: "node_transaction"

batch_size Int!

maximum number of rows returned in a single batch

cursor [node_transaction_stream_cursor_input]!

cursor to stream the results returned by the query

where node_transaction_bool_exp

filter the rows returned

output [output!]!

fetch data from the table: "output"

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

output_by_pk output

fetch data from the table: "output" using primary key columns

output_index bigint!

The zero-based index of this output in the transaction.

transaction_hash bytea!

The 32-byte, double-sha256 hash of the network-encoded transaction containing this output in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

output_stream [output!]!

fetch data from the table in a streaming manner: "output"

batch_size Int!

maximum number of rows returned in a single batch

cursor [output_stream_cursor_input]!

cursor to stream the results returned by the query

where output_bool_exp

filter the rows returned

search_output [output!]!

execute function "search_output" which returns "output"

args search_output_args!

input parameters for function "search_output"

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

search_output_prefix [output!]!

execute function "search_output_prefix" which returns "output"

args search_output_prefix_args!

input parameters for function "search_output_prefix"

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

transaction [transaction!]!

fetch data from the table: "transaction"

distinct_on [transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [transaction_order_by!]

sort the rows by one or more columns

where transaction_bool_exp

filter the rows returned

transaction_by_pk transaction

fetch data from the table: "transaction" using primary key columns

internal_id bigint!

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

transaction_stream [transaction!]!

fetch data from the table in a streaming manner: "transaction"

batch_size Int!

maximum number of rows returned in a single batch

cursor [transaction_stream_cursor_input]!

cursor to stream the results returned by the query

where transaction_bool_exp

filter the rows returned

transaction

A transaction.

Field Argument Type Description
authchains [authchain_view!]!

An array relationship

distinct_on [authchain_view_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [authchain_view_order_by!]

sort the rows by one or more columns

where authchain_view_bool_exp

filter the rows returned

block_inclusions [block_transaction!]!

An array relationship

distinct_on [block_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [block_transaction_order_by!]

sort the rows by one or more columns

where block_transaction_bool_exp

filter the rows returned

data_carrier_outputs [output!]

Return all of this transaction's "data carrier" outputs: outputs in which value_satoshis is 0 or locking_bytecode begins with OP_RETURN.

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

encoded_hex String

Encode a transaction using the standard P2P network format, returning the result as a hex-encoded string.

fee_satoshis bigint

The fee in satoshis paid by this transaction.

hash bytea!

The 32-byte, double-sha256 hash of this transaction (encoded using the standard P2P network format) in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

identity_output [output!]

Return a transaction's identity output (0th output). Making this a computed field simplifies Hasura queries by returning the identity output as a single object rather than a filtered array of one output.

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

input_count bigint

The total number of inputs in this transaction.

input_outpoint_transactions [input!]!

An array relationship

distinct_on [input_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [input_order_by!]

sort the rows by one or more columns

where input_bool_exp

filter the rows returned

input_value_satoshis bigint

The total value in satoshis of all outputs spent by inputs in this transaction.

inputs [input!]!

An array relationship

distinct_on [input_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [input_order_by!]

sort the rows by one or more columns

where input_bool_exp

filter the rows returned

internal_id bigint!

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

is_coinbase Boolean!

A boolean value indicating whether this transaction is a coinbase transaction. A coinbase transaction must be the 0th transaction in a block, it must have one input which spends from the empty outpoint_transaction_hash (0x0000...) and – after BIP34 – includes the block's height in its unlocking_bytecode (A.K.A. "coinbase" field), and it may spend the sum of the block's transaction fees and block reward to its output(s).

locktime bigint!

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

node_validation_timeline [node_transaction_history!]!

An array relationship

distinct_on [node_transaction_history_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_transaction_history_order_by!]

sort the rows by one or more columns

where node_transaction_history_bool_exp

filter the rows returned

node_validations [node_transaction!]!

An array relationship

distinct_on [node_transaction_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [node_transaction_order_by!]

sort the rows by one or more columns

where node_transaction_bool_exp

filter the rows returned

output_count bigint

The total number of outputs in this transaction.

output_value_satoshis bigint

The total value in satoshis of all outputs created by this transaction.

outputs [output!]!

An array relationship

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

signing_output [output!]

Return a transaction's signing output (1th output) or NULL if it does not exist. Making this a computed field simplifies Hasura queries by returning the signing output as a single object rather than a filtered array of one output.

distinct_on [output_select_column!]

distinct select on columns

limit Int

limit the number of rows returned

offset Int

skip the first n rows. Use only with order_by

order_by [output_order_by!]

sort the rows by one or more columns

where output_bool_exp

filter the rows returned

size_bytes bigint!

The network-encoded size of this transaction in bytes.

version bigint!

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

Inputs

Boolean_comparison_exp

Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'.

Field Type Description
_eq Boolean
_gt Boolean
_gte Boolean
_in [Boolean!]
_is_null Boolean
_lt Boolean
_lte Boolean
_neq Boolean
_nin [Boolean!]

Int_comparison_exp

Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'.

Field Type Description
_eq Int
_gt Int
_gte Int
_in [Int!]
_is_null Boolean
_lt Int
_lte Int
_neq Int
_nin [Int!]

SendTransactionRequest

Field Type Description
encoded_hex String!
node_internal_id bigint!

String_comparison_exp

Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'.

Field Type Description
_eq String
_gt String
_gte String
_ilike String

does the column match the given case-insensitive pattern

_in [String!]
_iregex String

does the column match the given POSIX regular expression, case insensitive

_is_null Boolean
_like String

does the column match the given pattern

_lt String
_lte String
_neq String
_nilike String

does the column NOT match the given case-insensitive pattern

_nin [String!]
_niregex String

does the column NOT match the given POSIX regular expression, case insensitive

_nlike String

does the column NOT match the given pattern

_nregex String

does the column NOT match the given POSIX regular expression, case sensitive

_nsimilar String

does the column NOT match the given SQL regular expression

_regex String

does the column match the given POSIX regular expression, case sensitive

_similar String

does the column match the given SQL regular expression

authchain_migrations_view_aggregate_order_by

order by aggregate values of table "authchain_migrations_view"

Field Type Description
avg authchain_migrations_view_avg_order_by
count order_by
max authchain_migrations_view_max_order_by
min authchain_migrations_view_min_order_by
stddev authchain_migrations_view_stddev_order_by
stddev_pop authchain_migrations_view_stddev_pop_order_by
stddev_samp authchain_migrations_view_stddev_samp_order_by
sum authchain_migrations_view_sum_order_by
var_pop authchain_migrations_view_var_pop_order_by
var_samp authchain_migrations_view_var_samp_order_by
variance authchain_migrations_view_variance_order_by

authchain_migrations_view_avg_order_by

order by avg() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_bool_exp

Boolean expression to filter rows from the table "authchain_migrations_view". All fields are combined with a logical 'AND'.

Field Type Description
_and [authchain_migrations_view_bool_exp!]
_not authchain_migrations_view_bool_exp
_or [authchain_migrations_view_bool_exp!]
authbase_internal_id bigint_comparison_exp
migration_index bigint_comparison_exp
migration_transaction_internal_id bigint_comparison_exp
transaction transaction_bool_exp

authchain_migrations_view_max_order_by

order by max() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_min_order_by

order by min() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_order_by

Ordering options when selecting data from "authchain_migrations_view".

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by
transaction_aggregate transaction_aggregate_order_by

authchain_migrations_view_stddev_order_by

order by stddev() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_stddev_pop_order_by

order by stddev_pop() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_stddev_samp_order_by

order by stddev_samp() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_stream_cursor_input

Streaming cursor of the table "authchain_migrations_view"

Field Type Description
initial_value authchain_migrations_view_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

authchain_migrations_view_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
authbase_internal_id bigint
migration_index bigint
migration_transaction_internal_id bigint

authchain_migrations_view_sum_order_by

order by sum() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_var_pop_order_by

order by var_pop() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_var_samp_order_by

order by var_samp() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_migrations_view_variance_order_by

order by variance() on columns of table "authchain_migrations_view"

Field Type Description
authbase_internal_id order_by
migration_index order_by
migration_transaction_internal_id order_by

authchain_view_aggregate_order_by

order by aggregate values of table "authchain_view"

Field Type Description
avg authchain_view_avg_order_by
count order_by
max authchain_view_max_order_by
min authchain_view_min_order_by
stddev authchain_view_stddev_order_by
stddev_pop authchain_view_stddev_pop_order_by
stddev_samp authchain_view_stddev_samp_order_by
sum authchain_view_sum_order_by
var_pop authchain_view_var_pop_order_by
var_samp authchain_view_var_samp_order_by
variance authchain_view_variance_order_by

authchain_view_avg_order_by

order by avg() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_bool_exp

Boolean expression to filter rows from the table "authchain_view". All fields are combined with a logical 'AND'.

Field Type Description
_and [authchain_view_bool_exp!]
_not authchain_view_bool_exp
_or [authchain_view_bool_exp!]
authchain_length Int_comparison_exp
authhead transaction_bool_exp
authhead_transaction_hash bytea_comparison_exp
migrations authchain_migrations_view_bool_exp
transaction_internal_id bigint_comparison_exp
unspent_authhead Boolean_comparison_exp

authchain_view_max_order_by

order by max() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_min_order_by

order by min() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_order_by

Ordering options when selecting data from "authchain_view".

Field Type Description
authchain_length order_by
authhead transaction_order_by
authhead_transaction_hash order_by
migrations_aggregate authchain_migrations_view_aggregate_order_by
transaction_internal_id order_by
unspent_authhead order_by

authchain_view_stddev_order_by

order by stddev() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_stddev_pop_order_by

order by stddev_pop() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_stddev_samp_order_by

order by stddev_samp() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_stream_cursor_input

Streaming cursor of the table "authchain_view"

Field Type Description
initial_value authchain_view_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

authchain_view_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
authchain_length Int
authhead_transaction_hash bytea
transaction_internal_id bigint
unspent_authhead Boolean

authchain_view_sum_order_by

order by sum() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_var_pop_order_by

order by var_pop() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_var_samp_order_by

order by var_samp() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

authchain_view_variance_order_by

order by variance() on columns of table "authchain_view"

Field Type Description
authchain_length order_by
transaction_internal_id order_by

bigint_comparison_exp

Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'.

Field Type Description
_eq bigint
_gt bigint
_gte bigint
_in [bigint!]
_is_null Boolean
_lt bigint
_lte bigint
_neq bigint
_nin [bigint!]

block_bool_exp

Boolean expression to filter rows from the table "block". All fields are combined with a logical 'AND'.

Field Type Description
_and [block_bool_exp!]
_not block_bool_exp
_or [block_bool_exp!]
accepted_by node_block_bool_exp
bits bigint_comparison_exp
encoded_hex String_comparison_exp
fee_satoshis bigint_comparison_exp
generated_value_satoshis bigint_comparison_exp
hash bytea_comparison_exp
header String_comparison_exp
height bigint_comparison_exp
input_count bigint_comparison_exp
input_value_satoshis bigint_comparison_exp
internal_id bigint_comparison_exp
merkle_root bytea_comparison_exp
nonce bigint_comparison_exp
output_count bigint_comparison_exp
output_value_satoshis bigint_comparison_exp
previous_block block_bool_exp
previous_block_hash bytea_comparison_exp
size_bytes bigint_comparison_exp
timestamp bigint_comparison_exp
transaction_count bigint_comparison_exp
transactions block_transaction_bool_exp
version bigint_comparison_exp

block_order_by

Ordering options when selecting data from "block".

Field Type Description
accepted_by_aggregate node_block_aggregate_order_by
bits order_by
encoded_hex order_by
fee_satoshis order_by
generated_value_satoshis order_by
hash order_by
header order_by
height order_by
input_count order_by
input_value_satoshis order_by
internal_id order_by
merkle_root order_by
nonce order_by
output_count order_by
output_value_satoshis order_by
previous_block block_order_by
previous_block_hash order_by
size_bytes order_by
timestamp order_by
transaction_count order_by
transactions_aggregate block_transaction_aggregate_order_by
version order_by

block_stream_cursor_input

Streaming cursor of the table "block"

Field Type Description
initial_value block_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

block_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
bits bigint

The uint32 packed representation of the difficulty target being used for this block. To be valid, the block hash value must be less than this difficulty target.

hash bytea

The 32-byte, double-sha256 hash of the block header (encoded using the standard P2P network format) in big-endian byte order. This is used as a universal, unique identifier for the block. Big-endian byte order is typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

height bigint

The height of this block: the number of blocks mined between this block and its genesis block (block 0).

internal_id bigint

A unique, int64 identifier for this block assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

merkle_root bytea

The 32-byte root hash of the double-sha256 merkle tree of transactions confirmed by this block. Note, the unusual merkle tree construction used by most chains is vulnerable to CVE-2012-2459. The final node in oddly-numbered levels is duplicated, and special care is required to ensure trees contain minimal duplicatation.

nonce bigint

The uint32 nonce used for this block. This field allows miners to introduce entropy into the block header, changing the resulting hash during mining.

previous_block_hash bytea

The 32-byte, double-sha256 hash of the previous block's header in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

size_bytes bigint

The network-encoded size of this block in bytes including transactions.

timestamp bigint

The uint32 current Unix timestamp claimed by the miner at the time this block was mined. By consensus, block timestamps must be within ~2 hours of the actual time, but timestamps are not guaranteed to be accurate. Timestamps of later blocks can also be earlier than their parent blocks.

version bigint

The "version" field of this block; a 4-byte field typically represented as an int32. While originally designed to indicate a block's version, this field has been used for several other purposes. BIP34 ("Height in Coinbase") enforced a minimum version of 2, BIP66 ("Strict DER Signatures") enforced a minimum version of 3, then BIP9 repurposed most bits of the version field for network signaling. In recent years, the version field is also used for the AsicBoost mining optimization.

block_transaction_aggregate_order_by

order by aggregate values of table "block_transaction"

Field Type Description
avg block_transaction_avg_order_by
count order_by
max block_transaction_max_order_by
min block_transaction_min_order_by
stddev block_transaction_stddev_order_by
stddev_pop block_transaction_stddev_pop_order_by
stddev_samp block_transaction_stddev_samp_order_by
sum block_transaction_sum_order_by
var_pop block_transaction_var_pop_order_by
var_samp block_transaction_var_samp_order_by
variance block_transaction_variance_order_by

block_transaction_avg_order_by

order by avg() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_bool_exp

Boolean expression to filter rows from the table "block_transaction". All fields are combined with a logical 'AND'.

Field Type Description
_and [block_transaction_bool_exp!]
_not block_transaction_bool_exp
_or [block_transaction_bool_exp!]
block block_bool_exp
block_internal_id bigint_comparison_exp
transaction transaction_bool_exp
transaction_index bigint_comparison_exp
transaction_internal_id bigint_comparison_exp

block_transaction_max_order_by

order by max() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_min_order_by

order by min() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_order_by

Ordering options when selecting data from "block_transaction".

Field Type Description
block block_order_by
block_internal_id order_by
transaction transaction_order_by
transaction_index order_by
transaction_internal_id order_by

block_transaction_stddev_order_by

order by stddev() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_stddev_pop_order_by

order by stddev_pop() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_stddev_samp_order_by

order by stddev_samp() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_stream_cursor_input

Streaming cursor of the table "block_transaction"

Field Type Description
initial_value block_transaction_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

block_transaction_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
block_internal_id bigint

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index bigint

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id bigint

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_sum_order_by

order by sum() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_var_pop_order_by

order by var_pop() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_var_samp_order_by

order by var_samp() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

block_transaction_variance_order_by

order by variance() on columns of table "block_transaction"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this block_transaction.

transaction_index order_by

The zero-based index of the referenced transaction in the referenced block. (Transaction ordering is critical for reconstructing a block or its merkle tree.)

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this block_transaction.

bytea_comparison_exp

Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'.

Field Type Description
_eq bytea
_gt bytea
_gte bytea
_in [bytea!]
_is_null Boolean
_lt bytea
_lte bytea
_neq bytea
_nin [bytea!]

enum_nonfungible_token_capability_comparison_exp

Boolean expression to compare columns of type "enum_nonfungible_token_capability". All fields are combined with logical 'AND'.

Field Type Description
_eq enum_nonfungible_token_capability
_gt enum_nonfungible_token_capability
_gte enum_nonfungible_token_capability
_in [enum_nonfungible_token_capability!]
_is_null Boolean
_lt enum_nonfungible_token_capability
_lte enum_nonfungible_token_capability
_neq enum_nonfungible_token_capability
_nin [enum_nonfungible_token_capability!]

input_aggregate_order_by

order by aggregate values of table "input"

Field Type Description
avg input_avg_order_by
count order_by
max input_max_order_by
min input_min_order_by
stddev input_stddev_order_by
stddev_pop input_stddev_pop_order_by
stddev_samp input_stddev_samp_order_by
sum input_sum_order_by
var_pop input_var_pop_order_by
var_samp input_var_samp_order_by
variance input_variance_order_by

input_avg_order_by

order by avg() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_bool_exp

Boolean expression to filter rows from the table "input". All fields are combined with a logical 'AND'.

Field Type Description
_and [input_bool_exp!]
_not input_bool_exp
_or [input_bool_exp!]
input_index bigint_comparison_exp
outpoint output_bool_exp
outpoint_index bigint_comparison_exp
outpoint_transaction output_bool_exp
outpoint_transaction_hash bytea_comparison_exp
redeem_bytecode_pattern String_comparison_exp
sequence_number bigint_comparison_exp
transaction transaction_bool_exp
transaction_internal_id bigint_comparison_exp
unlocking_bytecode bytea_comparison_exp
unlocking_bytecode_pattern String_comparison_exp
value_satoshis bigint_comparison_exp

input_max_order_by

order by max() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_min_order_by

order by min() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_order_by

Ordering options when selecting data from "input".

Field Type Description
input_index order_by
outpoint output_order_by
outpoint_index order_by
outpoint_transaction output_order_by
outpoint_transaction_hash order_by
redeem_bytecode_pattern order_by
sequence_number order_by
transaction transaction_order_by
transaction_internal_id order_by
unlocking_bytecode order_by
unlocking_bytecode_pattern order_by
value_satoshis order_by

input_stddev_order_by

order by stddev() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_stddev_pop_order_by

order by stddev_pop() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_stddev_samp_order_by

order by stddev_samp() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_stream_cursor_input

Streaming cursor of the table "input"

Field Type Description
initial_value input_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

input_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
input_index bigint

The zero-based index of this input in the transaction.

outpoint_index bigint

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

outpoint_transaction_hash bytea

The 32-byte, double-sha256 hash of the network-encoded transaction from which this input is spent in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

sequence_number bigint

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id bigint

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

unlocking_bytecode bytea

The bytecode used to unlock a transaction output. To spend an output, unlocking bytecode must be included in a transaction input which – when evaluated in the authentication virtual machine with the locking bytecode – completes in valid state.

input_sum_order_by

order by sum() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_var_pop_order_by

order by var_pop() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_var_samp_order_by

order by var_samp() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

input_variance_order_by

order by variance() on columns of table "input"

Field Type Description
input_index order_by

The zero-based index of this input in the transaction.

outpoint_index order_by

The zero-based index of the output being spent by this input. (An outpoint is a reference/pointer to a specific output in a previous transaction.)

sequence_number order_by

The uint32 "sequence number" for this input, a complex bitfield which can encode several input properties: sequence age support – whether or not the input can use OP_CHECKSEQUENCEVERIFY; sequence age – the minimum number of blocks or length of time claimed to have passed since this input's source transaction was mined (up to approximately 1 year); locktime support – whether or not the input can use OP_CHECKLOCKTIMEVERIFY.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction which includes this input.

node_block_aggregate_order_by

order by aggregate values of table "node_block"

Field Type Description
avg node_block_avg_order_by
count order_by
max node_block_max_order_by
min node_block_min_order_by
stddev node_block_stddev_order_by
stddev_pop node_block_stddev_pop_order_by
stddev_samp node_block_stddev_samp_order_by
sum node_block_sum_order_by
var_pop node_block_var_pop_order_by
var_samp node_block_var_samp_order_by
variance node_block_variance_order_by

node_block_avg_order_by

order by avg() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_bool_exp

Boolean expression to filter rows from the table "node_block". All fields are combined with a logical 'AND'.

Field Type Description
_and [node_block_bool_exp!]
_not node_block_bool_exp
_or [node_block_bool_exp!]
accepted_at timestamp_comparison_exp
block block_bool_exp
block_internal_id bigint_comparison_exp
node node_bool_exp
node_internal_id Int_comparison_exp

node_block_history_bool_exp

Boolean expression to filter rows from the table "node_block_history". All fields are combined with a logical 'AND'.

Field Type Description
_and [node_block_history_bool_exp!]
_not node_block_history_bool_exp
_or [node_block_history_bool_exp!]
accepted_at timestamp_comparison_exp
block block_bool_exp
block_internal_id bigint_comparison_exp
internal_id bigint_comparison_exp
node node_bool_exp
node_internal_id Int_comparison_exp
removed_at timestamp_comparison_exp

node_block_history_order_by

Ordering options when selecting data from "node_block_history".

Field Type Description
accepted_at order_by
block block_order_by
block_internal_id order_by
internal_id order_by
node node_order_by
node_internal_id order_by
removed_at order_by

node_block_history_stream_cursor_input

Streaming cursor of the table "node_block_history"

Field Type Description
initial_value node_block_history_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

node_block_history_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
accepted_at timestamp

The UTC timestamp at which the referenced block was accepted by the referenced node in the deleted node_block. Set to NULL if the true acceptance time was unknown (the block was accepted by this node before Chaingraph began monitoring).

block_internal_id bigint

The internal_id (assigned by Chaingraph) of the block referenced by the deleted node_block.

internal_id bigint

The internal_id (assigned by Chaingraph) of this node_block_history record.

node_internal_id Int

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_block.

removed_at timestamp

The UTC timestamp at which the referenced block was removed by the referenced node.

node_block_max_order_by

order by max() on columns of table "node_block"

Field Type Description
accepted_at order_by

The UTC timestamp at which the referenced block was accepted by the referenced node. Set to NULL if the true acceptance time is unknown (the block was accepted by this node before Chaingraph began monitoring). In the event of a blockchain reorganization, the record is deleted from node_block and saved to node_block_history.

block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_min_order_by

order by min() on columns of table "node_block"

Field Type Description
accepted_at order_by

The UTC timestamp at which the referenced block was accepted by the referenced node. Set to NULL if the true acceptance time is unknown (the block was accepted by this node before Chaingraph began monitoring). In the event of a blockchain reorganization, the record is deleted from node_block and saved to node_block_history.

block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_order_by

Ordering options when selecting data from "node_block".

Field Type Description
accepted_at order_by
block block_order_by
block_internal_id order_by
node node_order_by
node_internal_id order_by

node_block_stddev_order_by

order by stddev() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_stddev_pop_order_by

order by stddev_pop() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_stddev_samp_order_by

order by stddev_samp() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_stream_cursor_input

Streaming cursor of the table "node_block"

Field Type Description
initial_value node_block_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

node_block_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
accepted_at timestamp

The UTC timestamp at which the referenced block was accepted by the referenced node. Set to NULL if the true acceptance time is unknown (the block was accepted by this node before Chaingraph began monitoring). In the event of a blockchain reorganization, the record is deleted from node_block and saved to node_block_history.

block_internal_id bigint

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id Int

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_sum_order_by

order by sum() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_var_pop_order_by

order by var_pop() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_var_samp_order_by

order by var_samp() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_block_variance_order_by

order by variance() on columns of table "node_block"

Field Type Description
block_internal_id order_by

The internal_id (assigned by Chaingraph) of the block referenced by this node_block.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_block.

node_bool_exp

Boolean expression to filter rows from the table "node". All fields are combined with a logical 'AND'.

Field Type Description
_and [node_bool_exp!]
_not node_bool_exp
_or [node_bool_exp!]
accepted_blocks node_block_bool_exp
first_connected_at timestamp_comparison_exp
internal_id Int_comparison_exp
latest_connection_began_at timestamp_comparison_exp
name String_comparison_exp
protocol_version Int_comparison_exp
unconfirmed_transaction_count bigint_comparison_exp
unconfirmed_transactions node_transaction_bool_exp
user_agent String_comparison_exp

node_order_by

Ordering options when selecting data from "node".

Field Type Description
accepted_blocks_aggregate node_block_aggregate_order_by
first_connected_at order_by
internal_id order_by
latest_connection_began_at order_by
name order_by
protocol_version order_by
unconfirmed_transaction_count order_by
unconfirmed_transactions_aggregate node_transaction_aggregate_order_by
user_agent order_by

node_stream_cursor_input

Streaming cursor of the table "node"

Field Type Description
initial_value node_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

node_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
first_connected_at timestamp

The UTC timestamp at which this node was first connected to Chaingraph.

internal_id Int

A unique, int32 identifier for this node assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

latest_connection_began_at timestamp

The UTC timestamp at which this node began its most recent connection to Chaingraph.

name String

The name configured as a stable identifier for this particular trusted node.

protocol_version Int

The protocol version reported by this node during the most recent connection handshake.

user_agent String

The user agent reported by this node during the most recent connection handshake.

node_transaction_aggregate_order_by

order by aggregate values of table "node_transaction"

Field Type Description
avg node_transaction_avg_order_by
count order_by
max node_transaction_max_order_by
min node_transaction_min_order_by
stddev node_transaction_stddev_order_by
stddev_pop node_transaction_stddev_pop_order_by
stddev_samp node_transaction_stddev_samp_order_by
sum node_transaction_sum_order_by
var_pop node_transaction_var_pop_order_by
var_samp node_transaction_var_samp_order_by
variance node_transaction_variance_order_by

node_transaction_avg_order_by

order by avg() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_bool_exp

Boolean expression to filter rows from the table "node_transaction". All fields are combined with a logical 'AND'.

Field Type Description
_and [node_transaction_bool_exp!]
_not node_transaction_bool_exp
_or [node_transaction_bool_exp!]
node node_bool_exp
node_internal_id Int_comparison_exp
transaction transaction_bool_exp
transaction_internal_id bigint_comparison_exp
validated_at timestamp_comparison_exp

node_transaction_history_aggregate_order_by

order by aggregate values of table "node_transaction_history"

Field Type Description
avg node_transaction_history_avg_order_by
count order_by
max node_transaction_history_max_order_by
min node_transaction_history_min_order_by
stddev node_transaction_history_stddev_order_by
stddev_pop node_transaction_history_stddev_pop_order_by
stddev_samp node_transaction_history_stddev_samp_order_by
sum node_transaction_history_sum_order_by
var_pop node_transaction_history_var_pop_order_by
var_samp node_transaction_history_var_samp_order_by
variance node_transaction_history_variance_order_by

node_transaction_history_avg_order_by

order by avg() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_history_bool_exp

Boolean expression to filter rows from the table "node_transaction_history". All fields are combined with a logical 'AND'.

Field Type Description
_and [node_transaction_history_bool_exp!]
_not node_transaction_history_bool_exp
_or [node_transaction_history_bool_exp!]
internal_id bigint_comparison_exp
node node_bool_exp
node_internal_id Int_comparison_exp
replaced_at timestamp_comparison_exp
transaction transaction_bool_exp
transaction_internal_id bigint_comparison_exp
validated_at timestamp_comparison_exp

node_transaction_history_max_order_by

order by max() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

replaced_at order_by

The UTC timestamp at which the referenced transaction was marked as replaced (A.K.A. double-spent) by the referenced node.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

validated_at order_by

The UTC timestamp at which the referenced transaction was validated by the referenced node in the deleted node_transaction.

node_transaction_history_min_order_by

order by min() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

replaced_at order_by

The UTC timestamp at which the referenced transaction was marked as replaced (A.K.A. double-spent) by the referenced node.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

validated_at order_by

The UTC timestamp at which the referenced transaction was validated by the referenced node in the deleted node_transaction.

node_transaction_history_order_by

Ordering options when selecting data from "node_transaction_history".

Field Type Description
internal_id order_by
node node_order_by
node_internal_id order_by
replaced_at order_by
transaction transaction_order_by
transaction_internal_id order_by
validated_at order_by

node_transaction_history_stddev_order_by

order by stddev() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_history_stddev_pop_order_by

order by stddev_pop() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_history_stddev_samp_order_by

order by stddev_samp() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_history_stream_cursor_input

Streaming cursor of the table "node_transaction_history"

Field Type Description
initial_value node_transaction_history_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

node_transaction_history_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
internal_id bigint

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id Int

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

replaced_at timestamp

The UTC timestamp at which the referenced transaction was marked as replaced (A.K.A. double-spent) by the referenced node.

transaction_internal_id bigint

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

validated_at timestamp

The UTC timestamp at which the referenced transaction was validated by the referenced node in the deleted node_transaction.

node_transaction_history_sum_order_by

order by sum() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_history_var_pop_order_by

order by var_pop() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_history_var_samp_order_by

order by var_samp() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_history_variance_order_by

order by variance() on columns of table "node_transaction_history"

Field Type Description
internal_id order_by

The internal_id (assigned by Chaingraph) of this node_transaction_history record.

node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by the deleted node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by the deleted node_transaction.

node_transaction_max_order_by

order by max() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

validated_at order_by

The UTC timestamp at which the referenced transaction was validated by the referenced node.

node_transaction_min_order_by

order by min() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

validated_at order_by

The UTC timestamp at which the referenced transaction was validated by the referenced node.

node_transaction_order_by

Ordering options when selecting data from "node_transaction".

Field Type Description
node node_order_by
node_internal_id order_by
transaction transaction_order_by
transaction_internal_id order_by
validated_at order_by

node_transaction_stddev_order_by

order by stddev() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_stddev_pop_order_by

order by stddev_pop() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_stddev_samp_order_by

order by stddev_samp() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_stream_cursor_input

Streaming cursor of the table "node_transaction"

Field Type Description
initial_value node_transaction_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

node_transaction_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
node_internal_id Int

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id bigint

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

validated_at timestamp

The UTC timestamp at which the referenced transaction was validated by the referenced node.

node_transaction_sum_order_by

order by sum() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_var_pop_order_by

order by var_pop() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_var_samp_order_by

order by var_samp() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

node_transaction_variance_order_by

order by variance() on columns of table "node_transaction"

Field Type Description
node_internal_id order_by

The internal_id (assigned by Chaingraph) of the node referenced by this node_transaction.

transaction_internal_id order_by

The internal_id (assigned by Chaingraph) of the transaction referenced by this node_transaction.

output_aggregate_order_by

order by aggregate values of table "output"

Field Type Description
avg output_avg_order_by
count order_by
max output_max_order_by
min output_min_order_by
stddev output_stddev_order_by
stddev_pop output_stddev_pop_order_by
stddev_samp output_stddev_samp_order_by
sum output_sum_order_by
var_pop output_var_pop_order_by
var_samp output_var_samp_order_by
variance output_variance_order_by

output_avg_order_by

order by avg() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_bool_exp

Boolean expression to filter rows from the table "output". All fields are combined with a logical 'AND'.

Field Type Description
_and [output_bool_exp!]
_not output_bool_exp
_or [output_bool_exp!]
fungible_token_amount bigint_comparison_exp
locking_bytecode bytea_comparison_exp
locking_bytecode_pattern String_comparison_exp
nonfungible_token_capability enum_nonfungible_token_capability_comparison_exp
nonfungible_token_commitment bytea_comparison_exp
output_index bigint_comparison_exp
spent_by input_bool_exp
token_category bytea_comparison_exp
transaction transaction_bool_exp
transaction_hash bytea_comparison_exp
value_satoshis bigint_comparison_exp

output_max_order_by

order by max() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

nonfungible_token_capability order_by

The capability of the non-fungible token (NFT) held in this output: "none", "mutable", or "minting". This field is null if no NFT is present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_min_order_by

order by min() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

nonfungible_token_capability order_by

The capability of the non-fungible token (NFT) held in this output: "none", "mutable", or "minting". This field is null if no NFT is present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_order_by

Ordering options when selecting data from "output".

Field Type Description
fungible_token_amount order_by
locking_bytecode order_by
locking_bytecode_pattern order_by
nonfungible_token_capability order_by
nonfungible_token_commitment order_by
output_index order_by
spent_by_aggregate input_aggregate_order_by
token_category order_by
transaction transaction_order_by
transaction_hash order_by
value_satoshis order_by

output_stddev_order_by

order by stddev() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_stddev_pop_order_by

order by stddev_pop() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_stddev_samp_order_by

order by stddev_samp() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_stream_cursor_input

Streaming cursor of the table "output"

Field Type Description
initial_value output_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

output_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
fungible_token_amount bigint

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

locking_bytecode bytea

The bytecode used to encumber this transaction output. To spend the output, unlocking bytecode must be included in a transaction input which – when evaluated before this locking bytecode – completes in a valid state.

nonfungible_token_capability enum_nonfungible_token_capability

The capability of the non-fungible token (NFT) held in this output: "none", "mutable", or "minting". This field is null if no NFT is present.

nonfungible_token_commitment bytea

The commitment contents of the non-fungible token (NFT) held in this output (0 to 40 bytes). This field is null if no NFT is present.

output_index bigint

The zero-based index of this output in the transaction.

token_category bytea

The 32-byte token category to which the token(s) in this output belong. This field is null if no tokens are present.

transaction_hash bytea

The 32-byte, double-sha256 hash of the network-encoded transaction containing this output in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

value_satoshis bigint

The value of this output in satoshis.

output_sum_order_by

order by sum() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_var_pop_order_by

order by var_pop() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_var_samp_order_by

order by var_samp() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

output_variance_order_by

order by variance() on columns of table "output"

Field Type Description
fungible_token_amount order_by

The number of fungible tokens held in this output (an integer between 1 and 9223372036854775807). This field is null if 0 fungible tokens are present.

output_index order_by

The zero-based index of this output in the transaction.

value_satoshis order_by

The value of this output in satoshis.

search_output_args

Field Type Description
locking_bytecode_hex _text

search_output_prefix_args

Field Type Description
locking_bytecode_prefix_hex String

timestamp_comparison_exp

Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'.

Field Type Description
_eq timestamp
_gt timestamp
_gte timestamp
_in [timestamp!]
_is_null Boolean
_lt timestamp
_lte timestamp
_neq timestamp
_nin [timestamp!]

transaction_aggregate_order_by

order by aggregate values of table "transaction"

Field Type Description
avg transaction_avg_order_by
count order_by
max transaction_max_order_by
min transaction_min_order_by
stddev transaction_stddev_order_by
stddev_pop transaction_stddev_pop_order_by
stddev_samp transaction_stddev_samp_order_by
sum transaction_sum_order_by
var_pop transaction_var_pop_order_by
var_samp transaction_var_samp_order_by
variance transaction_variance_order_by

transaction_avg_order_by

order by avg() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_bool_exp

Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'.

Field Type Description
_and [transaction_bool_exp!]
_not transaction_bool_exp
_or [transaction_bool_exp!]
authchains authchain_view_bool_exp
block_inclusions block_transaction_bool_exp
data_carrier_outputs output_bool_exp
encoded_hex String_comparison_exp
fee_satoshis bigint_comparison_exp
hash bytea_comparison_exp
identity_output output_bool_exp
input_count bigint_comparison_exp
input_outpoint_transactions input_bool_exp
input_value_satoshis bigint_comparison_exp
inputs input_bool_exp
internal_id bigint_comparison_exp
is_coinbase Boolean_comparison_exp
locktime bigint_comparison_exp
node_validation_timeline node_transaction_history_bool_exp
node_validations node_transaction_bool_exp
output_count bigint_comparison_exp
output_value_satoshis bigint_comparison_exp
outputs output_bool_exp
signing_output output_bool_exp
size_bytes bigint_comparison_exp
version bigint_comparison_exp

transaction_max_order_by

order by max() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_min_order_by

order by min() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_order_by

Ordering options when selecting data from "transaction".

Field Type Description
authchains_aggregate authchain_view_aggregate_order_by
block_inclusions_aggregate block_transaction_aggregate_order_by
data_carrier_outputs_aggregate output_aggregate_order_by
encoded_hex order_by
fee_satoshis order_by
hash order_by
identity_output_aggregate output_aggregate_order_by
input_count order_by
input_outpoint_transactions_aggregate input_aggregate_order_by
input_value_satoshis order_by
inputs_aggregate input_aggregate_order_by
internal_id order_by
is_coinbase order_by
locktime order_by
node_validation_timeline_aggregate node_transaction_history_aggregate_order_by
node_validations_aggregate node_transaction_aggregate_order_by
output_count order_by
output_value_satoshis order_by
outputs_aggregate output_aggregate_order_by
signing_output_aggregate output_aggregate_order_by
size_bytes order_by
version order_by

transaction_stddev_order_by

order by stddev() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_stddev_pop_order_by

order by stddev_pop() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_stddev_samp_order_by

order by stddev_samp() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_stream_cursor_input

Streaming cursor of the table "transaction"

Field Type Description
initial_value transaction_stream_cursor_value_input!

Stream column input with initial value

ordering cursor_ordering

cursor ordering

transaction_stream_cursor_value_input

Initial value of the column from where the streaming should start

Field Type Description
hash bytea

The 32-byte, double-sha256 hash of this transaction (encoded using the standard P2P network format) in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).

internal_id bigint

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

is_coinbase Boolean

A boolean value indicating whether this transaction is a coinbase transaction. A coinbase transaction must be the 0th transaction in a block, it must have one input which spends from the empty outpoint_transaction_hash (0x0000...) and – after BIP34 – includes the block's height in its unlocking_bytecode (A.K.A. "coinbase" field), and it may spend the sum of the block's transaction fees and block reward to its output(s).

locktime bigint

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes bigint

The network-encoded size of this transaction in bytes.

version bigint

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_sum_order_by

order by sum() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_var_pop_order_by

order by var_pop() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_var_samp_order_by

order by var_samp() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

transaction_variance_order_by

order by variance() on columns of table "transaction"

Field Type Description
internal_id order_by

A unique, int64 identifier for this transaction assigned by Chaingraph. This value is not guaranteed to be consistent between Chaingraph instances.

locktime order_by

The uint32 locktime at which this transaction is considered valid. Locktime can be provided as either a timestamp or a block height: values less than 500,000,000 are understood to be a block height (the current block number in the chain, beginning from block 0); values greater than or equal to 500,000,000 are understood to be a UNIX timestamp.

size_bytes order_by

The network-encoded size of this transaction in bytes.

version order_by

The version of this transaction. In the v1 and v2 transaction formats, a 4-byte field typically represented as an int32. (Verson 2 transactions are defined in BIP68.)

Enums

authchain_migrations_view_select_column

select columns of table "authchain_migrations_view"

Value Description
authbase_internal_id

column name

migration_index

column name

migration_transaction_internal_id

column name

authchain_view_select_column

select columns of table "authchain_view"

Value Description
authchain_length

column name

authhead_transaction_hash

column name

transaction_internal_id

column name

unspent_authhead

column name

block_select_column

select columns of table "block"

Value Description
bits

column name

hash

column name

height

column name

internal_id

column name

merkle_root

column name

nonce

column name

previous_block_hash

column name

size_bytes

column name

timestamp

column name

version

column name

block_transaction_select_column

select columns of table "block_transaction"

Value Description
block_internal_id

column name

transaction_index

column name

transaction_internal_id

column name

cursor_ordering

ordering argument of a cursor

Value Description
ASC

ascending ordering of the cursor

DESC

descending ordering of the cursor

input_select_column

select columns of table "input"

Value Description
input_index

column name

outpoint_index

column name

outpoint_transaction_hash

column name

sequence_number

column name

transaction_internal_id

column name

unlocking_bytecode

column name

node_block_history_select_column

select columns of table "node_block_history"

Value Description
accepted_at

column name

block_internal_id

column name

internal_id

column name

node_internal_id

column name

removed_at

column name

node_block_select_column

select columns of table "node_block"

Value Description
accepted_at

column name

block_internal_id

column name

node_internal_id

column name

node_select_column

select columns of table "node"

Value Description
first_connected_at

column name

internal_id

column name

latest_connection_began_at

column name

name

column name

protocol_version

column name

user_agent

column name

node_transaction_history_select_column

select columns of table "node_transaction_history"

Value Description
internal_id

column name

node_internal_id

column name

replaced_at

column name

transaction_internal_id

column name

validated_at

column name

node_transaction_select_column

select columns of table "node_transaction"

Value Description
node_internal_id

column name

transaction_internal_id

column name

validated_at

column name

order_by

column ordering options

Value Description
asc

in ascending order, nulls last

asc_nulls_first

in ascending order, nulls first

asc_nulls_last

in ascending order, nulls last

desc

in descending order, nulls first

desc_nulls_first

in descending order, nulls first

desc_nulls_last

in descending order, nulls last

output_select_column

select columns of table "output"

Value Description
fungible_token_amount

column name

locking_bytecode

column name

nonfungible_token_capability

column name

nonfungible_token_commitment

column name

output_index

column name

token_category

column name

transaction_hash

column name

value_satoshis

column name

transaction_select_column

select columns of table "transaction"

Value Description
hash

column name

internal_id

column name

is_coinbase

column name

locktime

column name

size_bytes

column name

version

column name

Scalars

Boolean

Int

String

_text

bigint

bytea

enum_nonfungible_token_capability

timestamp