Skip to main content

GenesisTransaction

System transaction that initializes the network and writes the initial set of objects on-chain.

type GenesisTransaction {
objects(
first: Int
after: String
last: Int
before: String
): ObjectConnection!
events(
first: Int
after: String
last: Int
before: String
): EventConnection!
}

Fields

GenesisTransaction.objects ● ObjectConnection! non-null object

Objects to be created during genesis.

GenesisTransaction.objects.first ● Int scalar
GenesisTransaction.objects.after ● String scalar
GenesisTransaction.objects.last ● Int scalar
GenesisTransaction.objects.before ● String scalar

GenesisTransaction.events ● EventConnection! non-null object

Events emitted during genesis.

GenesisTransaction.events.first ● Int scalar
GenesisTransaction.events.after ● String scalar
GenesisTransaction.events.last ● Int scalar
GenesisTransaction.events.before ● String scalar

Implemented By

TransactionBlockKind union