UNPKG

@sidan-lab/sidan-csl

Version:

Cardano Off-chain Code APIs built on cardano-serialization-lib

11 lines (10 loc) 611 B
export declare const addrBech32ToHex: (bech32: string) => string; export declare const addrBech32ToObj: <T>(bech32: string) => T; export declare const parsePlutusAddressToBech32: (plutusHex: string, networkId?: number) => string; export declare const serializeBech32Address: (bech32Addr: string) => { pubKeyHash: string; scriptHash: string; stakeCredential: string; }; export declare const scriptHashToBech32: (scriptHash: string, stakeCredential?: string, networkId?: number) => any; export declare const v2ScriptToBech32: (scriptCbor: string, stakeCredential?: string, networkId?: number) => any;