UNPKG

tonweb

Version:

TonWeb - JavaScript API for TON blockchain

12 lines (11 loc) 608 B
import { Cell } from '../../../boc/cell'; import { Address } from '../../../utils/address'; export declare const SNAKE_DATA_PREFIX = 0; export declare const CHUNK_DATA_PREFIX = 1; export declare const ONCHAIN_CONTENT_PREFIX = 0; export declare const OFFCHAIN_CONTENT_PREFIX = 1; export declare function serializeUri(uri: string): Uint8Array; export declare function parseUri(bytes: Uint8Array): string; export declare function createOffchainUriCell(uri: string): Cell; export declare function parseOffchainUriCell(cell: Cell): string; export declare function parseAddress(cell: Cell): (Address | undefined);