I read https://bitcoindev.network/understanding-the-data/ and it explain that the leveldb of the chainstate contain transaction with at least one unspent output.
And it has "The scriptPubKey and amount for those unspent outputs."
But I read somewhere any OPCODE script is possible for an output. Where are the non-scriptPubKey outputs?
scriptPubkey
is an "OPCODE script". See en.bitcoin.it/wiki/Transaction#Output