@gorbchain-xyz/chaindecode
Version:
GorbchainSDK V1.3+ - Complete Solana development toolkit with advanced cryptography, messaging, and collaboration features. Build secure applications with blockchain, DeFi, and end-to-end encryption.
10 lines (9 loc) • 391 B
TypeScript
import type { RawInstruction, DecodedInstruction } from '../decoders/registry.js';
/**
* Try to decode an instruction using the default decoder registry
*/
export declare function decodeInstruction(instruction: RawInstruction): DecodedInstruction;
/**
* Decode an array of instructions
*/
export declare function decodeInstructions(instructions: RawInstruction[]): DecodedInstruction[];