Instruction Decoder Transformers
solanaInstructionDecoder
Create a transformer that decodes Solana program instructions.Transformer that transforms SolanaPortalData into decoded instructions.
Parameters:
range: Slot range{ from: number | string | 'latest', to?: number }(required)programId: Program address(es)string | string[](required)instructions: Map of instruction names to ABI instruction objects (required)profiler: Profiler config{ id: string }(optional)onError: Error handler (optional)
Generic Transformers
createTransformer
Transform data in pipes.transform: Transform functionasync (data: I, ctx) => O(required)query: Query callback({queryBuilder, portal, logger}) => void(optional)

