Skip to main content

query.chainevent

Home > @blaze-cardano/query > ChainEvent

ChainEvent type

Signature:

export type ChainEvent = {
type: "rollForward";
point: ChainPoint;
block: unknown;
} | {
type: "rollBackward";
point: ChainPoint | "origin";
} | {
type: "utxoProduced";
address: Address;
input: TransactionInput;
} | {
type: "utxoSpent";
address: Address;
input: TransactionInput;
};

References: ChainPoint