chain/followChainStream
Follows the chain from a given sequence and streams blocks from chain connects and disconnects
Request
{
head?: string | null
} | undefined
Response
{
type: 'connected' | 'disconnected' | 'fork'
head: {
sequence: number
}
block: {
hash: string
sequence: number
previous: string
graffiti: string
difficulty: string
size: number
timestamp: number
work: string
main: boolean
transactions: Array<{
hash: string
size: number
fee: number
notes: Array<{
commitment: string
}>
spends: Array<{
nullifier: string
}>
mints: Array<{
id: string
metadata: string
name: string
owner: string
value: string
}>
burns: Array<{
id: string
value: string
}>
}>
}
}