Skip to main content
Version: Next

sdk.chainevent

Home > @blaze-cardano/sdk > ChainEvent

ChainEvent type

Signature:

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, Address, TransactionInput