Module @cardano-sdk/projection

Cardano JS SDK | projection

Chain Sync event projection utilities.

Summary

Projection is based on RxJS, where source observable of Chain Sync events is processed with various operators.

There are no restrictions what an operator can do - you can utilize the full power of RxJS which makes it very flexible.

All operators implemented in this package are extending the source event object with extra properties, e.g.

Bootstrap.fromCardanoNode({ buffer, cardanoNode, logger }).pipe(
Mappers.withStakeKeys(),
tap(({ stakeKeys }) => console.log('stakeKeys', stakeKeys)),
Mappers.withStakePools(),
tap(({ stakePools }) => console.log('stakePools', stakePools))
);

Index

Modules

Namespaces

Interfaces

Type Aliases

Functions

Generated using TypeDoc