UNPKG

arweave-account

Version:

Account protocol library on Arweave by Metaweave.xyz

15 lines (14 loc) 619 B
import { ArAccount, ArAccountEncoded, T_addr, T_profile, T_txid } from "./types"; export default class Data { private static getURLfromURI; private static getUniqueHandle; private static isEncodedAccount; private static getAvatarURI; private static setAvatarURI; private static getBannerURI; private static setBannerURI; static isProfile(obj: any): obj is T_profile; static getDefaultAccount(addr: T_addr): ArAccount; static encodeForStorage(profile: T_profile): ArAccountEncoded | null; static decode(txid: T_txid | null, addr: T_addr, data: ArAccountEncoded): ArAccount; }