UNPKG

@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.

20 lines (19 loc) 891 B
interface TransactionInstruction { programId: string; data: Uint8Array; accounts: string[]; } interface PublicKey { toString(): string; } interface NameServiceResult { type: string; data: Record<string, unknown>; } export declare function decodeRegisterName(_ix: TransactionInstruction, _programId?: PublicKey): NameServiceResult; export declare function decodeUpdateName(_ix: TransactionInstruction, _programId?: PublicKey): NameServiceResult; export declare function decodeTransferName(_ix: TransactionInstruction, _programId?: PublicKey): NameServiceResult; export declare function buildRegisterName(_args: Record<string, unknown>): TransactionInstruction; export declare function buildUpdateName(_args: Record<string, unknown>): TransactionInstruction; export declare function buildTransferName(_args: Record<string, unknown>): TransactionInstruction; export {};