:first-child]:mt-0 [&>:last-child]:mb-0',
- sticky && 'xl:sticky xl:top-24'
+ "[&>:first-child]:mt-0 [&>:last-child]:mb-0",
+ sticky && "xl:sticky xl:top-24"
)}
>
{children}
@@ -110,15 +113,18 @@ export function Property({
isPromise?: boolean;
isArray?: boolean;
}) {
+ const { currentRoute } = useRouteContext();
+
let item: undefined | { kind: string | number } = undefined;
+
if (data && data.target) {
- item = getChildrenById(data.target);
+ item = getChildrenById(data.target, currentRoute);
}
let link = ``;
if (item) {
- if (item.kind == 'Class') link = `/classes/${type}`;
- if (item.kind == 'Type') link = `/types/${type}`;
+ if (item.kind == "Class") link = `/classes/${type}`;
+ if (item.kind == "Type") link = `/types/${type}`;
} else if (data?.target?.sourceFileName) {
link = `${githubFileUrl}${data.target.sourceFileName}`;
}
@@ -137,7 +143,7 @@ export function Property({
{type && (
<>
Type
- {data && data.type == 'reference' ? (
+ {data && data.type == "reference" ? (
<>
{}
diff --git a/apps/docs/src/components/route-change-listener.tsx b/apps/docs/src/components/route-change-listener.tsx
new file mode 100644
index 000000000..2fa5e523f
--- /dev/null
+++ b/apps/docs/src/components/route-change-listener.tsx
@@ -0,0 +1,22 @@
+"use client";
+
+import { useRouteContext } from "@/contexts/route-context";
+import { usePathname } from "next/navigation";
+import { useEffect } from "react";
+
+export function RouteChangeListener() {
+ const pathname = usePathname();
+ const { setCurrentRoute } = useRouteContext();
+
+ useEffect(() => {
+ const currentPackage = pathname.split("/")[1];
+
+ if (currentPackage) {
+ setCurrentRoute(currentPackage);
+ } else {
+ setCurrentRoute("");
+ }
+ }, [pathname]);
+
+ return <>>;
+}
diff --git a/apps/docs/src/config/index.ts b/apps/docs/src/config/index.ts
new file mode 100644
index 000000000..17985b37e
--- /dev/null
+++ b/apps/docs/src/config/index.ts
@@ -0,0 +1,4 @@
+export const githubFileUrl = `https://github.com/MeshJS/mesh/blob/main/packages/module/`;
+export const githubUrl = `https://github.com/MeshJS`;
+export const twitterhUrl = `https://twitter.com/meshsdk`;
+export const discordUrl = `https://discord.gg/WvnCNqmAxy`;
diff --git a/apps/docs/src/contexts/route-context.tsx b/apps/docs/src/contexts/route-context.tsx
new file mode 100644
index 000000000..d5c46c2bd
--- /dev/null
+++ b/apps/docs/src/contexts/route-context.tsx
@@ -0,0 +1,30 @@
+"use client";
+
+import React, { createContext, useContext, useMemo, useState } from "react";
+
+const RouteContext = createContext({
+ currentRoute: "",
+ setCurrentRoute: (route: string) => {},
+});
+
+export const RouteProvider = ({ children }: { children: React.ReactNode }) => {
+ const [currentRoute, setCurrentRoute] = useState("");
+
+ const memoedValue = useMemo(
+ () => ({
+ currentRoute,
+ setCurrentRoute,
+ }),
+ [currentRoute, setCurrentRoute]
+ );
+
+ return (
+
+ {children}
+
+ );
+};
+
+export function useRouteContext() {
+ return useContext(RouteContext);
+}
diff --git a/apps/docs/src/data/get-children-by-id.ts b/apps/docs/src/data/get-children-by-id.ts
new file mode 100644
index 000000000..0b24c3dd9
--- /dev/null
+++ b/apps/docs/src/data/get-children-by-id.ts
@@ -0,0 +1,24 @@
+import getData from "./get-data";
+import { findObjectInArray } from "./utils";
+
+export default function getChildrenById(id: number, dataSource: string) {
+ let data: any = getData(dataSource);
+ if (data === undefined) return [];
+
+ const child = findObjectInArray({
+ array: data.children,
+ key: "id",
+ value: id,
+ });
+ if (child) {
+ if (child.kind) {
+ if (child.kind == 128) child.kind = "Class";
+ // if(child.kind == 256) child.kind = 'Interface';
+ // if(child.kind == 512) child.kind = 'Constructor';
+ // if(child.kind == 1024) child.kind = '';
+ // if(child.kind == 2048) child.kind = 'Function';
+ if (child.kind == 2097152) child.kind = "Type";
+ }
+ }
+ return child;
+}
diff --git a/apps/docs/src/data/get-class-children.ts b/apps/docs/src/data/get-class-children.ts
new file mode 100644
index 000000000..797066bbe
--- /dev/null
+++ b/apps/docs/src/data/get-class-children.ts
@@ -0,0 +1,18 @@
+import getClass from "./get-class";
+import { findObjectInArray } from "./utils";
+
+export default function getClassChildren(
+ name: string,
+ id: number,
+ dataSource: string
+) {
+ const thisClass = getClass(name, dataSource);
+
+ const children = findObjectInArray({
+ array: thisClass.children,
+ key: "id",
+ value: id,
+ });
+
+ return children;
+}
diff --git a/apps/docs/src/data/get-class-groups.ts b/apps/docs/src/data/get-class-groups.ts
new file mode 100644
index 000000000..b8513c646
--- /dev/null
+++ b/apps/docs/src/data/get-class-groups.ts
@@ -0,0 +1,31 @@
+import getClass from "./get-class";
+import { findObjectInArray } from "./utils";
+
+export default function getClassGroups(name, dataSource: string) {
+ if (!name) return [];
+
+ const thisClass = getClass(name, dataSource);
+
+ const groups = thisClass.groups.map((group) => {
+ return {
+ title: group.title,
+ children: group.children
+ .map((id) => {
+ return findObjectInArray({
+ array: thisClass.children,
+ key: "id",
+ value: id,
+ });
+ })
+ .filter((child) => {
+ if (child.flags.isPrivate == true || child.flags.isProtected == true)
+ return false;
+ return true;
+ }),
+ };
+ });
+
+ if (!groups) return [];
+
+ return groups;
+}
diff --git a/apps/docs/src/data/get-class.ts b/apps/docs/src/data/get-class.ts
new file mode 100644
index 000000000..687585b7d
--- /dev/null
+++ b/apps/docs/src/data/get-class.ts
@@ -0,0 +1,14 @@
+import getClasses from "./get-classes";
+import { findObjectInArray } from "./utils";
+
+export default function getClass(name, dataSource: string) {
+ const classes = getClasses(dataSource);
+
+ const meshClass = findObjectInArray({
+ array: classes,
+ key: "name",
+ value: name,
+ });
+
+ return meshClass;
+}
diff --git a/apps/docs/src/data/get-classes.ts b/apps/docs/src/data/get-classes.ts
new file mode 100644
index 000000000..c7a846a2b
--- /dev/null
+++ b/apps/docs/src/data/get-classes.ts
@@ -0,0 +1,26 @@
+import getData from "./get-data";
+import { findObjectInArray } from "./utils";
+
+export default function getClasses(dataSource: string) {
+ let data: any = getData(dataSource);
+ if (data === undefined) return [];
+
+ const groupClasses = findObjectInArray({
+ array: data.groups,
+ key: "title",
+ value: "Classes",
+ });
+
+ const classes = groupClasses.children.map((child: any) => {
+ const classData = findObjectInArray({
+ array: data.children,
+ key: "id",
+ value: child,
+ });
+ return classData;
+ });
+
+ if (!classes) return [];
+
+ return classes;
+}
diff --git a/apps/docs/src/data/get-data.ts b/apps/docs/src/data/get-data.ts
new file mode 100644
index 000000000..10a381f99
--- /dev/null
+++ b/apps/docs/src/data/get-data.ts
@@ -0,0 +1,30 @@
+import data_transactions from "./mesh-transactions.json";
+import data_wallets from "./mesh-wallets.json";
+import data_contracts from "./mesh-contracts.json";
+import data_providers from "./mesh-providers.json";
+import data_common from "./mesh-common.json";
+import data_core_csl from "./mesh-core-csl.json";
+
+export default function getData(dataSource: string) {
+ let data: any = undefined;
+ if (dataSource == "common") {
+ data = data_common;
+ }
+ if (dataSource == "contracts") {
+ data = data_contracts;
+ }
+ if (dataSource == "core-csl") {
+ data = data_core_csl;
+ }
+ if (dataSource == "providers") {
+ data = data_providers;
+ }
+ if (dataSource == "transactions") {
+ data = data_transactions;
+ }
+ if (dataSource == "wallets") {
+ data = data_wallets;
+ }
+
+ return data;
+}
diff --git a/apps/docs/src/data/get-function.ts b/apps/docs/src/data/get-function.ts
new file mode 100644
index 000000000..f33a0b720
--- /dev/null
+++ b/apps/docs/src/data/get-function.ts
@@ -0,0 +1,12 @@
+import getFunctions from './get-functions';
+import { findObjectInArray } from './utils';
+
+export default function getFunction(name: string, dataSource: string) {
+ const functions = getFunctions(dataSource);
+
+ return findObjectInArray({
+ array: functions,
+ key: 'name',
+ value: name,
+ });
+}
diff --git a/apps/docs/src/data/get-functions.ts b/apps/docs/src/data/get-functions.ts
new file mode 100644
index 000000000..82c2e4b9a
--- /dev/null
+++ b/apps/docs/src/data/get-functions.ts
@@ -0,0 +1,26 @@
+import getData from "./get-data";
+import { findObjectInArray } from "./utils";
+
+export default function getFunctions(dataSource: string) {
+ let data: any = getData(dataSource);
+ if (data === undefined) return [];
+
+ const group = findObjectInArray({
+ array: data.groups,
+ key: "title",
+ value: "Functions",
+ });
+
+ const classes = group?.children.map((child: any) => {
+ const classData = findObjectInArray({
+ array: data.children,
+ key: "id",
+ value: child,
+ });
+ return classData;
+ });
+
+ if (!classes) return [];
+
+ return classes;
+}
diff --git a/apps/docs/src/data/get-interface-groups.ts b/apps/docs/src/data/get-interface-groups.ts
new file mode 100644
index 000000000..1f2c7c4ad
--- /dev/null
+++ b/apps/docs/src/data/get-interface-groups.ts
@@ -0,0 +1,31 @@
+import getInterface from "./get-interface";
+import { findObjectInArray } from "./utils";
+
+export default function getInterfaceGroups(name: string, dataSource: string) {
+ const thisInterface = getInterface(name, dataSource);
+
+ if(thisInterface === undefined) return [];
+
+ const groups = thisInterface.groups.map((group: any) => {
+ return {
+ title: group.title,
+ children: group.children
+ .map((id: number) => {
+ return findObjectInArray({
+ array: thisInterface.children,
+ key: "id",
+ value: id,
+ });
+ })
+ .filter((child: any) => {
+ if (child.flags.isPrivate == true || child.flags.isProtected == true)
+ return false;
+ return true;
+ }),
+ };
+ });
+
+ if (!groups) return [];
+
+ return groups;
+}
diff --git a/apps/docs/src/data/get-interface.ts b/apps/docs/src/data/get-interface.ts
new file mode 100644
index 000000000..ed20e13bf
--- /dev/null
+++ b/apps/docs/src/data/get-interface.ts
@@ -0,0 +1,12 @@
+import getInterfaces from './get-interfaces';
+import { findObjectInArray } from './utils';
+
+export default function getInterface(name: string, dataSource: string) {
+ const interfaces = getInterfaces(dataSource);
+
+ return findObjectInArray({
+ array: interfaces,
+ key: 'name',
+ value: name,
+ });
+}
diff --git a/apps/docs/src/data/get-interfaces.ts b/apps/docs/src/data/get-interfaces.ts
new file mode 100644
index 000000000..e3f0b9e52
--- /dev/null
+++ b/apps/docs/src/data/get-interfaces.ts
@@ -0,0 +1,26 @@
+import getData from "./get-data";
+import { findObjectInArray } from "./utils";
+
+export default function getInterfaces(dataSource: string) {
+ let data: any = getData(dataSource);
+ if (data === undefined) return [];
+
+ const group = findObjectInArray({
+ array: data.groups,
+ key: "title",
+ value: "Interfaces",
+ });
+
+ const classes = group?.children.map((child: any) => {
+ const classData = findObjectInArray({
+ array: data.children,
+ key: "id",
+ value: child,
+ });
+ return classData;
+ });
+
+ if (!classes) return [];
+
+ return classes;
+}
diff --git a/apps/docs/src/data/get-type.ts b/apps/docs/src/data/get-type.ts
new file mode 100644
index 000000000..6df868ec4
--- /dev/null
+++ b/apps/docs/src/data/get-type.ts
@@ -0,0 +1,12 @@
+import getTypes from "./get-types";
+import { findObjectInArray } from "./utils";
+
+export default function getType(name: string, dataSource: string) {
+ const types = getTypes(dataSource);
+
+ return findObjectInArray({
+ array: types,
+ key: "name",
+ value: name,
+ });
+}
diff --git a/apps/docs/src/data/get-types.ts b/apps/docs/src/data/get-types.ts
new file mode 100644
index 000000000..645b48001
--- /dev/null
+++ b/apps/docs/src/data/get-types.ts
@@ -0,0 +1,28 @@
+import getData from "./get-data";
+import { findObjectInArray } from "./utils";
+
+export default function getTypes(dataSource: string) {
+ let data: any = getData(dataSource);
+ if (data === undefined) return [];
+
+ const group = findObjectInArray({
+ array: data.groups,
+ key: "title",
+ value: "Type Aliases",
+ });
+
+ if (group === undefined) return [];
+
+ const classes = group.children.map((child: any) => {
+ const classData = findObjectInArray({
+ array: data.children,
+ key: "id",
+ value: child,
+ });
+ return classData;
+ });
+
+ if (!classes) return [];
+
+ return classes;
+}
diff --git a/apps/docs/src/data/page-routes.ts b/apps/docs/src/data/page-routes.ts
new file mode 100644
index 000000000..b193c51f1
--- /dev/null
+++ b/apps/docs/src/data/page-routes.ts
@@ -0,0 +1,32 @@
+export const pageRoutes = [
+ {
+ id: "common",
+ url: "/common",
+ title: "Common",
+ },
+ {
+ id: "contracts",
+ url: "/contracts",
+ title: "Contracts",
+ },
+ {
+ id: "core-csl",
+ url: "/core-csl",
+ title: "Core CSL",
+ },
+ {
+ id: "providers",
+ url: "/providers",
+ title: "Providers",
+ },
+ {
+ id: "transactions",
+ url: "/transactions",
+ title: "Transactions",
+ },
+ {
+ id: "wallets",
+ url: "/wallets",
+ title: "Wallets",
+ },
+];
diff --git a/apps/mesh-docs/src/data/utils.ts b/apps/docs/src/data/utils.ts
similarity index 100%
rename from apps/mesh-docs/src/data/utils.ts
rename to apps/docs/src/data/utils.ts
diff --git a/apps/mesh-web/public/favicon/favicon.ico b/apps/docs/src/favicon.ico
similarity index 100%
rename from apps/mesh-web/public/favicon/favicon.ico
rename to apps/docs/src/favicon.ico
diff --git a/apps/mesh-docs/src/lib/remToPx.ts b/apps/docs/src/lib/remToPx.ts
similarity index 100%
rename from apps/mesh-docs/src/lib/remToPx.ts
rename to apps/docs/src/lib/remToPx.ts
diff --git a/apps/mesh-docs/src/mdx/recma.mjs b/apps/docs/src/mdx/recma.mjs
similarity index 100%
rename from apps/mesh-docs/src/mdx/recma.mjs
rename to apps/docs/src/mdx/recma.mjs
diff --git a/apps/mesh-docs/src/mdx/rehype.mjs b/apps/docs/src/mdx/rehype.mjs
similarity index 100%
rename from apps/mesh-docs/src/mdx/rehype.mjs
rename to apps/docs/src/mdx/rehype.mjs
diff --git a/apps/mesh-docs/src/mdx/remark.mjs b/apps/docs/src/mdx/remark.mjs
similarity index 100%
rename from apps/mesh-docs/src/mdx/remark.mjs
rename to apps/docs/src/mdx/remark.mjs
diff --git a/apps/mesh-docs/src/mdx/search.mjs b/apps/docs/src/mdx/search.mjs
similarity index 100%
rename from apps/mesh-docs/src/mdx/search.mjs
rename to apps/docs/src/mdx/search.mjs
diff --git a/apps/mesh-docs/src/styles/tailwind.css b/apps/docs/src/styles/tailwind.css
similarity index 100%
rename from apps/mesh-docs/src/styles/tailwind.css
rename to apps/docs/src/styles/tailwind.css
diff --git a/apps/mesh-docs/tailwind.config.ts b/apps/docs/tailwind.config.ts
similarity index 100%
rename from apps/mesh-docs/tailwind.config.ts
rename to apps/docs/tailwind.config.ts
diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json
new file mode 100644
index 000000000..d92effdde
--- /dev/null
+++ b/apps/docs/tsconfig.json
@@ -0,0 +1,28 @@
+{
+ "compilerOptions": {
+ "lib": ["dom", "dom.iterable", "esnext"],
+ "allowJs": true,
+ "skipLibCheck": true,
+ "strict": true,
+ "noEmit": true,
+ "esModuleInterop": true,
+ "module": "esnext",
+ "moduleResolution": "bundler",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "jsx": "preserve",
+ "incremental": true,
+ "plugins": [
+ {
+ "name": "next"
+ }
+ ],
+ "paths": {
+ "@/*": ["./src/*"]
+ },
+ "noImplicitAny": false,
+ "strictNullChecks": false,
+ },
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
+ "exclude": ["node_modules"]
+}
diff --git a/apps/mesh-docs/typography.ts b/apps/docs/typography.ts
similarity index 100%
rename from apps/mesh-docs/typography.ts
rename to apps/docs/typography.ts
diff --git a/apps/mesh-cli/README.md b/apps/mesh-cli/README.md
deleted file mode 100644
index ca38d9a46..000000000
--- a/apps/mesh-cli/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-![Mesh Logo](https://meshjs.dev/logo-mesh/mesh.png)
-
-Mesh is an open-source library to make building dApps accessible. Whether you're a beginner developer, startup, web3 market leader, or a large enterprise, Mesh makes web3 development easy with reliable, scalable, and well-engineered APIs & developer tools.
-
-```sh
-Usage: create-mesh-app [options]
-
-A quick and easy way to bootstrap your dApps on Cardano using Mesh.
-
-Arguments:
- name Set a name for your dApp.
-
-Options:
- -V, --version output the version number
- -t, --template The template to start your project from. (choices: "starter", "minting", "marketplace")
- -s, --stack The tech stack you want to build on. (choices: "next", "remix")
- -l, --language The language you want to use. (choices: "js", "ts")
- -h, --help display help for command
-```
-
-Explore the features on [Mesh Playground](https://meshjs.dev/).
diff --git a/apps/mesh-cli/bin/create-mesh-app b/apps/mesh-cli/bin/create-mesh-app
deleted file mode 100755
index c6cf500c1..000000000
--- a/apps/mesh-cli/bin/create-mesh-app
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env node
-require('../dist/create-mesh-app.cjs.js');
diff --git a/apps/mesh-cli/package.json b/apps/mesh-cli/package.json
deleted file mode 100644
index f322f2707..000000000
--- a/apps/mesh-cli/package.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "name": "create-mesh-app",
- "description": "A quick and easy way to bootstrap your dApps on Cardano using Mesh.",
- "homepage": "https://meshjs.dev",
- "author": "MeshJS",
- "version": "1.0.7",
- "license": "Apache-2.0",
- "main": "dist/create-mesh-app.cjs.js",
- "bin": {
- "create-mesh-app": "./bin/create-mesh-app"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/MeshJS/mesh.git"
- },
- "bugs": {
- "url": "https://github.com/MeshJS/mesh/issues"
- },
- "keywords": [
- "blockchain",
- "cardano",
- "dapp",
- "npx"
- ],
- "scripts": {
- "build": "preconstruct build",
- "dev": "preconstruct watch"
- },
- "dependencies": {
- "chalk": "5.3.0",
- "commander": "12.1.0",
- "figlet": "1.7.0",
- "got": "14.4.1",
- "prompts": "2.4.2",
- "tar": "7.2.0"
- },
- "devDependencies": {
- "@preconstruct/cli": "2.8.4",
- "@types/figlet": "1.5.8",
- "@types/prompts": "2.4.9",
- "@types/tar": "6.1.13"
- }
-}
diff --git a/apps/mesh-cli/src/actions/create.ts b/apps/mesh-cli/src/actions/create.ts
deleted file mode 100644
index 28acc90db..000000000
--- a/apps/mesh-cli/src/actions/create.ts
+++ /dev/null
@@ -1,113 +0,0 @@
-import got from 'got';
-import prompts from 'prompts';
-import { extract } from 'tar';
-import { promisify } from 'util';
-import { pipeline } from 'stream';
-import { existsSync, mkdirSync } from 'fs';
-import { execSync } from 'child_process';
-import { resolvePkgManager, setProjectName, tryGitInit } from '../helpers';
-import { logError, logInfo } from '../utils';
-
-export const create = async (name, options) => {
- const template =
- options.template ??
- (await askUser('What template do you want to use?', [
- { title: 'Starter Project', value: 'starter' },
- { title: 'Multi-Sig Minting', value: 'minting' },
- { title: 'Stake-Pool Website', value: 'staking' },
- { title: 'Cardano Sign-In', value: 'signin' },
- { title: 'E-Commerce Store', value: 'ecommerce' },
- { title: 'Marketplace', value: 'marketplace' },
- { title: 'Aiken', value: 'aiken' },
- ]));
-
- const stack =
- options.stack ??
- (await askUser('What Stack do you want to use?', [
- { title: 'Next.js', value: 'next' },
- ]));
-
- const language =
- options.language ??
- (await askUser('What language do you want to use?', [
- { title: 'TypeScript', value: 'ts' },
- ]));
-
- console.log('\n');
-
- try {
- createDirectory(name);
-
- logInfo('📡 - Downloading files..., This might take a moment.');
- await fetchRepository(template, stack, language);
-
- logInfo('🏠 - Starting a new git repository...');
- setNameAndCommitChanges(name);
-
- logInfo('🧶 - Installing project dependencies...');
- installDependencies();
- } catch (error) {
- logError(error);
- process.exit(1);
- }
-};
-
-const askUser = async (question, choices) => {
- const response = await prompts(
- {
- type: 'select',
- message: question,
- name: 'selection',
- choices,
- },
- {
- onCancel: () => process.exit(0),
- }
- );
-
- return response.selection;
-};
-
-const createDirectory = (name) => {
- const path = `${process.cwd()}/${name}`;
-
- if (existsSync(path)) {
- logError(`❗ A directory with name: "${name}" already exists.`);
- process.exit(1);
- }
-
- if (mkdirSync(path, { recursive: true }) === undefined) {
- logError('❌ Unable to create a project in current directory.');
- process.exit(1);
- }
-
- logInfo('🏗️ - Creating a new mesh dApp in current directory...');
- process.chdir(path);
-};
-
-const fetchRepository = async (template, stack, language) => {
- const pipe = promisify(pipeline);
- const name = `${template}-${stack}-${language}-template`;
- const link = `https://codeload.github.com/MeshJS/${name}/tar.gz/main`;
-
- await pipe(got.stream(link), extract({ strip: 1 }, [`${name}-main`]));
-};
-
-const setNameAndCommitChanges = (name) => {
- try {
- setProjectName(process.cwd(), name);
- } catch (_) {
- logError('🚫 Failed to re-name package.json, continuing...');
- }
-
- tryGitInit();
-};
-
-const installDependencies = () => {
- try {
- const pkgManager = resolvePkgManager();
- execSync(`${pkgManager} install`, { stdio: [0, 1, 2] });
- } catch (_) {
- logError('🚫 Failed to install project dependencies, continuing...');
- }
-};
diff --git a/apps/mesh-cli/src/actions/index.ts b/apps/mesh-cli/src/actions/index.ts
deleted file mode 100644
index 1e03cceb8..000000000
--- a/apps/mesh-cli/src/actions/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './create';
diff --git a/apps/mesh-cli/src/helpers/index.ts b/apps/mesh-cli/src/helpers/index.ts
deleted file mode 100644
index 785b3c460..000000000
--- a/apps/mesh-cli/src/helpers/index.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export * from './resolvePkgManager';
-export * from './setProjectName';
-export * from './tryGitInit';
diff --git a/apps/mesh-cli/src/helpers/resolvePkgManager.ts b/apps/mesh-cli/src/helpers/resolvePkgManager.ts
deleted file mode 100644
index cd5f293f7..000000000
--- a/apps/mesh-cli/src/helpers/resolvePkgManager.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { execSync } from 'child_process';
-
-export const resolvePkgManager = () => {
- try {
- const userAgent = process.env.npm_config_user_agent;
- if (userAgent?.startsWith('yarn')) {
- return 'yarn';
- }
-
- if (userAgent?.startsWith('pnpm')) {
- return 'pnpm';
- }
-
- try {
- execSync('yarn --version', { stdio: 'ignore' });
- return 'yarn';
- } catch (_) {
- execSync('pnpm --version', { stdio: 'ignore' });
- return 'pnpm';
- }
- } catch (_) {
- return 'npm';
- }
-};
diff --git a/apps/mesh-cli/src/helpers/setProjectName.ts b/apps/mesh-cli/src/helpers/setProjectName.ts
deleted file mode 100644
index 21bf6cbda..000000000
--- a/apps/mesh-cli/src/helpers/setProjectName.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { EOL } from 'os';
-import { join } from 'path';
-import { readFileSync, writeFileSync } from 'fs';
-
-export const setProjectName = (path, name) => {
- const packagePath = join(path, 'package.json');
- const packageContent = readFileSync(packagePath);
- const packageJson = JSON.parse(packageContent.toString());
-
- if (packageJson) {
- packageJson.name = name;
- }
-
- writeFileSync(packagePath, JSON.stringify(packageJson, null, 2) + EOL);
-};
diff --git a/apps/mesh-cli/src/helpers/tryGitInit.ts b/apps/mesh-cli/src/helpers/tryGitInit.ts
deleted file mode 100644
index cd6d23e1e..000000000
--- a/apps/mesh-cli/src/helpers/tryGitInit.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { execSync } from 'child_process';
-
-export const tryGitInit = () => {
- try {
- execSync('git --version', { stdio: 'ignore' });
-
- if (isInGitRepository() || isInMercurialRepository()) {
- return false;
- }
-
- execSync('git init', { stdio: 'ignore' });
- execSync('git checkout -b main', { stdio: 'ignore' });
- execSync('git add -A', { stdio: 'ignore' });
- execSync('git commit -m "Initial commit from npx mesh-create-dapp"', {
- stdio: 'ignore',
- });
- return true;
- } catch (_) {
- return false;
- }
-};
-
-const isInGitRepository = () => {
- try {
- execSync('git rev-parse --is-inside-work-tree', { stdio: 'ignore' });
- return true;
- } catch (_) {}
- return false;
-};
-
-const isInMercurialRepository = () => {
- try {
- execSync('hg --cwd . root', { stdio: 'ignore' });
- return true;
- } catch (_) {}
- return false;
-};
diff --git a/apps/mesh-cli/src/index.ts b/apps/mesh-cli/src/index.ts
deleted file mode 100644
index 3127c3660..000000000
--- a/apps/mesh-cli/src/index.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-import chalk from 'chalk';
-import figlet from 'figlet';
-import {
- createArgument, createCommand,
- createOption, InvalidArgumentError,
-} from 'commander';
-import { create } from './actions';
-import { logError, logSuccess } from './utils';
-
-const main = async () => {
- console.clear();
-
- console.info(
- chalk.blue(
- figlet.textSync('Create Mesh dApp', {
- font: 'Speed', horizontalLayout: 'full',
- })
- )
- );
-
- console.log('\n');
-
- const program = createCommand();
-
- program
- .name('create-mesh-app')
- .description(
- 'A quick and easy way to bootstrap your dApps on Cardano using Mesh.'
- )
- .version('1.0.0');
-
- program
- .addArgument(
- createArgument('name', 'Set a name for your dApp.')
- .argParser((name) => {
- if (/^([A-Za-z\-\\_\d])+$/.test(name)) return name;
-
- throw new InvalidArgumentError(
- chalk.redBright(
- '❗ Only letters, numbers, underscores and, hashes are allowed.',
- ),
- );
- })
- .argRequired()
- )
- .addOption(
- createOption(
- '-t, --template ',
- `The template to start your project from.`
- ).choices(['starter', 'minting', 'staking', 'ecommerce', 'signin', 'marketplace'])
- )
- .addOption(
- createOption(
- '-s, --stack ',
- `The tech stack you want to build on.`
- ).choices(['next'])
- )
- .addOption(
- createOption(
- '-l, --language ',
- `The language you want to use.`
- ).choices(['ts'])
- )
- .action(create);
-
- await program.parseAsync(process.argv);
-};
-
-main()
- .then(() => {
- logSuccess('✨✨ Welcome to Web 3.0! ✨✨');
- process.exit(0);
- })
- .catch((error) => {
- logError(error);
- process.exit(1);
- });
diff --git a/apps/mesh-cli/src/utils/index.ts b/apps/mesh-cli/src/utils/index.ts
deleted file mode 100644
index 1ff09efd4..000000000
--- a/apps/mesh-cli/src/utils/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './logger';
diff --git a/apps/mesh-cli/src/utils/logger.ts b/apps/mesh-cli/src/utils/logger.ts
deleted file mode 100644
index 9dde8c698..000000000
--- a/apps/mesh-cli/src/utils/logger.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import chalk from 'chalk';
-
-export const logError = (message) => {
- console.log(chalk.redBright(message + '\n'));
-};
-
-export const logSuccess = (message) => {
- console.log(chalk.greenBright(message + '\n'));
-};
-
-export const logInfo = (message) => {
- console.log(chalk.blueBright(message + '\n'));
-};
diff --git a/apps/mesh-cli/tsconfig.json b/apps/mesh-cli/tsconfig.json
deleted file mode 100644
index 79c4976a8..000000000
--- a/apps/mesh-cli/tsconfig.json
+++ /dev/null
@@ -1,109 +0,0 @@
-{
- "compilerOptions": {
- /* Visit https://aka.ms/tsconfig to read more about this file */
-
- /* Projects */
- // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
- // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
- // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
- // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
- // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
- // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
-
- /* Language and Environment */
- "target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
- "lib": ["DOM", "ESNext"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
- // "jsx": "preserve", /* Specify what JSX code is generated. */
- "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
- // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
- // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
- // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
- // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
- // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
- // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
- // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
- // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
-
- /* Modules */
- "module": "ESNext", /* Specify what module code is generated. */
- "rootDir": "src", /* Specify the root folder within your source files. */
- "moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
- "baseUrl": ".", /* Specify the base directory to resolve non-relative module names. */
- "paths": {
- "@mesh/*": ["src/*"],
- }, /* Specify a set of entries that re-map imports to additional lookup locations. */
- // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
- // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
- // "types": [], /* Specify type package names to be included without being referenced in a source file. */
- // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
- // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
- // "resolveJsonModule": true, /* Enable importing .json files. */
- // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */
-
- /* JavaScript Support */
- // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
- // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
- // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
-
- /* Emit */
- "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
- // "declarationMap": true, /* Create sourcemaps for d.ts files. */
- // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
- // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
- // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
- "outDir": "dist", /* Specify an output folder for all emitted files. */
- // "removeComments": true, /* Disable emitting comments. */
- "noEmit": true, /* Disable emitting files from a compilation. */
- "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
- // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
- // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
- // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
- // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
- // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
- // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
- // "newLine": "crlf", /* Set the newline character for emitting files. */
- // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
- // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
- // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
- // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
- "declarationDir": "dist", /* Specify the output directory for generated declaration files. */
- // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
-
- /* Interop Constraints */
- // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
- "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
- "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
- // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
- "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
-
- /* Type Checking */
- "strict": true, /* Enable all strict type-checking options. */
- "noImplicitAny": false, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
- // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
- // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
- // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
- // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
- // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
- // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
- // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
- "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
- "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
- // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
- "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
- "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
- // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
- // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
- // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
- // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
- // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
-
- /* Completeness */
- // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
- },
- "include": [
- "src",
- "types"
- ]
-}
diff --git a/apps/mesh-docs/README.md b/apps/mesh-docs/README.md
deleted file mode 100644
index c4033664f..000000000
--- a/apps/mesh-docs/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
-
-## Getting Started
-
-First, run the development server:
-
-```bash
-npm run dev
-# or
-yarn dev
-# or
-pnpm dev
-# or
-bun dev
-```
-
-Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
-
-You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
-
-This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
-
-## Learn More
-
-To learn more about Next.js, take a look at the following resources:
-
-- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
-- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
-
-You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
-
-## Deploy on Vercel
-
-The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
-
-Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
diff --git a/apps/mesh-docs/package.json b/apps/mesh-docs/package.json
deleted file mode 100644
index c040b96f8..000000000
--- a/apps/mesh-docs/package.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "@meshsdk/docs",
- "version": "0.1.0",
- "private": true,
- "scripts": {
- "dev": "next dev",
- "build": "next build",
- "start": "next start"
- },
- "dependencies": {
- "@algolia/autocomplete-core": "1.17.2",
- "@headlessui/react": "2.0.4",
- "@headlessui/tailwindcss": "0.2.1",
- "@sindresorhus/slugify": "2.2.1",
- "@tailwindcss/typography": "0.5.13",
- "clsx": "^2.1.1",
- "flexsearch": "0.7.43",
- "framer-motion": "11.2.10",
- "next": "14.2.3",
- "next-themes": "0.3.0",
- "react": "18.3.1",
- "react-dom": "18.3.1",
- "react-highlight-words": "0.20.0",
- "react-markdown": "9.0.1",
- "remark": "15.0.1",
- "simple-functional-loader": "1.2.1",
- "unist-util-filter": "5.0.1",
- "unist-util-visit": "5.0.0",
- "uuid": "10.0.0",
- "zustand": "4.5.2"
- },
- "devDependencies": {
- "@types/node": "20.14.2",
- "@types/react": "18.3.3",
- "@types/react-dom": "18.3.0",
- "autoprefixer": "10.4.19",
- "postcss": "8.4.38",
- "tailwindcss": "3.4.4",
- "typescript": "5.4.5"
- }
-}
\ No newline at end of file
diff --git a/apps/mesh-docs/public/next.svg b/apps/mesh-docs/public/next.svg
deleted file mode 100644
index 5174b28c5..000000000
--- a/apps/mesh-docs/public/next.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/apps/mesh-docs/public/vercel.svg b/apps/mesh-docs/public/vercel.svg
deleted file mode 100644
index d2f842227..000000000
--- a/apps/mesh-docs/public/vercel.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/apps/mesh-docs/src/app/classes/[name]/page.tsx b/apps/mesh-docs/src/app/classes/[name]/page.tsx
deleted file mode 100644
index dc7eb8d1f..000000000
--- a/apps/mesh-docs/src/app/classes/[name]/page.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import getClass from '@/data/get-class';
-import { Prose } from '@/components/Prose';
-import getClassGroups from '@/data/get-class-groups';
-import { v4 as uuidv4 } from 'uuid';
-import { Content, DefinedIn, Group, Header } from '@/components/docs';
-
-export default function Page({ params }: { params: { name: string } }) {
- const meshClass = getClass(params.name);
- const meshGroup = getClassGroups(meshClass.name);
-
- return (
-
-
-
-
-
-
- {meshGroup.map((group, i) => {
- return ;
- })}
-
- {/* */}
-
- );
-}
diff --git a/apps/mesh-docs/src/app/favicon.ico b/apps/mesh-docs/src/app/favicon.ico
deleted file mode 100644
index 718d6fea4..000000000
Binary files a/apps/mesh-docs/src/app/favicon.ico and /dev/null differ
diff --git a/apps/mesh-docs/src/app/functions/[name]/page.tsx b/apps/mesh-docs/src/app/functions/[name]/page.tsx
deleted file mode 100644
index a3780b1e3..000000000
--- a/apps/mesh-docs/src/app/functions/[name]/page.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-'use client';
-import { Prose } from '@/components/Prose';
-import { Content, DefinedIn, Header, ItemSignatures } from '@/components/docs';
-import getFunction from '@/data/get-function';
-
-export default function Page({ params }: { params: { name: string } }) {
- const meshFunction = getFunction(params.name);
-
- return (
-
-
-
-
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-docs/src/app/interfaces/[name]/page.tsx b/apps/mesh-docs/src/app/interfaces/[name]/page.tsx
deleted file mode 100644
index 7b0248754..000000000
--- a/apps/mesh-docs/src/app/interfaces/[name]/page.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import { Prose } from '@/components/Prose';
-import {
- Content,
- DefinedIn,
- Group,
- Header,
- ImplementedBy,
-} from '@/components/docs';
-import getInterface from '@/data/get-interface';
-import getInterfaceGroups from '@/data/get-interface-groups';
-import { v4 as uuidv4 } from 'uuid';
-
-export default function Page({ params }: { params: { name: string } }) {
- const meshInterface = getInterface(params.name);
- const group = getInterfaceGroups(meshInterface.name);
-
- return (
-
-
-
-
-
-
-
-
- {group.map((group, i) => {
- return ;
- })}
-
-
- );
-}
diff --git a/apps/mesh-docs/src/app/layout.tsx b/apps/mesh-docs/src/app/layout.tsx
deleted file mode 100644
index 33e745349..000000000
--- a/apps/mesh-docs/src/app/layout.tsx
+++ /dev/null
@@ -1,75 +0,0 @@
-import '@/styles/tailwind.css'
-
-import { Providers } from '@/app/providers'
-import { Layout } from '@/components/Layout'
-
-import { type Metadata } from 'next'
-import { type Section } from '@/components/SectionProvider'
-import getClasses from '@/data/get-classes'
-import getClassGroups from '@/data/get-class-groups'
-import getInterfaces from '@/data/get-interfaces'
-import getInterfaceGroups from '@/data/get-interface-groups'
-
-export const metadata: Metadata = {
- title: {
- template: '%s - Mesh SDK API Reference',
- default: 'Mesh SDK API Reference',
- },
-}
-
-export default async function RootLayout({
- children,
-}: {
- children: React.ReactNode
-}) {
- // let pages = await glob('**/*.mdx', { cwd: 'src/app' })
- // let allSectionsEntries = (await Promise.all(
- // pages.map(async (filename) => [
- // '/' + filename.replace(/(^|\/)page\.mdx$/, ''),
- // (await import(`./${filename}`)).sections,
- // ]),
- // )) as Array<[string, Array]>
- // let allSections = Object.fromEntries(allSectionsEntries)
-
- // get all classes
- const allSectionsEntries = getClasses().map((meshClass: any) => {
-
- const _items:{id:string; title:string}[] = [];
-
- getClassGroups(meshClass.name).map((group: any) => {
- group.children.map((item: any) => {
- _items.push( {id: item.name, title: item.name})
- })
- })
-
- return [`/classes/${meshClass.name}`, _items]
- })as Array<[string, Array]>
-
- // get all interfaces
- const allInterfaces = getInterfaces().map((meshInterfaces: any) => {
- const _items: { id: string; title: string }[] = [];
-
- getInterfaceGroups(meshInterfaces.name).map((group: any) => {
- group.children.map((item: any) => {
- _items.push({ id: item.name, title: item.name });
- });
- });
-
- return [`/interfaces/${meshInterfaces.name}`, _items];
- }) as Array<[string, Array]>;
- allSectionsEntries.push(...allInterfaces);
-
- let allSections = Object.fromEntries(allSectionsEntries)
-
- return (
-
-
-
-
- {children}
-
-
-
-
- )
-}
diff --git a/apps/mesh-docs/src/app/page.tsx b/apps/mesh-docs/src/app/page.tsx
deleted file mode 100644
index 3e9e0ca66..000000000
--- a/apps/mesh-docs/src/app/page.tsx
+++ /dev/null
@@ -1,100 +0,0 @@
-import { CodeGroup } from '@/components/Code';
-import { Prose } from '@/components/Prose';
-import { Resources } from '@/components/Resources';
-import Markdown from 'react-markdown';
-
-export default function Home() {
- return (
-
-
- Mesh Documentation
- This is the official documentation for Mesh.
-
- Mesh goes above and beyond to enhance the accessibility and
- user-friendliness of Web3 development for developers, startups, and
- enterprises. One key aspect is the provision of well-organized APIs,
- spanning from wallet integrations to transaction building and smart
- contract interactions. To further facilitate a smooth onboarding
- process, Mesh offers comprehensive documentation complete with live
- demos, enabling developers to test functionalities before diving into
- coding.
-
-
- Additionally, Mesh enhances accessibility through the provision of
- starter kits, allowing users to set up a functional workspace in less
- than a minute and subsequently concentrate on refining the business
- logic of their applications. Collaborating closely with the community,
- Mesh takes an inclusive approach by running workshops and creating
- guides, fostering a supportive environment that helps developers
- seamlessly integrate into the Cardano ecosystem.
-
-
- Getting started
-
-
- To get started with Mesh, you need to install the latest version of
- Mesh with npm:
-
-
-
- npm install @meshsdk/core @meshsdk/react
-
-
- {/* */}
-
-
- );
-}
-
-/**
- * these commment codes are wip for the search
- */
-
-// import getClassGroups from '@/data/get-class-groups';
-// import getClasses from '@/data/get-classes';
-// import { useEffect } from 'react';
-
-// function getSectionComments(item: any) {
-// return item.comment
-// ? item.comment.summary.map((item) => {
-// return item.text;
-// })
-// : [];
-// }
-
-// useEffect(() => {
-// const searchClasses = getClasses().map((meshClass: any) => {
-// console.log(11, meshClass);
-
-// const _object: any = { url: `/classes/${meshClass.name}`, sections: [] };
-
-// const _sections: any = [];
-
-// const _sectionComments = getSectionComments(meshClass);
-
-// const _section = [meshClass.name, null, _sectionComments];
-
-// _sections.push(_section);
-
-// console.log(11, _section);
-
-// getClassGroups(meshClass.name).map((group: any) => {
-// group.children.map((item: any) => {
-// console.log(22, item);
-
-// item.signatures?.map((signature: any) => {
-// const _sectionComments = getSectionComments(signature);
-// const _section = [item.name, item.name, _sectionComments];
-// _sections.push(_section);
-// console.log(33, _section);
-// });
-// });
-// });
-
-// _object.sections = _sections;
-
-// return _object;
-// });
-
-// console.log(99, JSON.stringify(searchClasses))
-// }, []);
diff --git a/apps/mesh-docs/src/app/providers.tsx b/apps/mesh-docs/src/app/providers.tsx
deleted file mode 100644
index 016cd4850..000000000
--- a/apps/mesh-docs/src/app/providers.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-'use client'
-
-import { useEffect } from 'react'
-import { ThemeProvider, useTheme } from 'next-themes'
-
-function ThemeWatcher() {
- let { resolvedTheme, setTheme } = useTheme()
-
- useEffect(() => {
- let media = window.matchMedia('(prefers-color-scheme: dark)')
-
- function onMediaChange() {
- let systemTheme = media.matches ? 'dark' : 'light'
- if (resolvedTheme === systemTheme) {
- setTheme('system')
- }
- }
-
- onMediaChange()
- media.addEventListener('change', onMediaChange)
-
- return () => {
- media.removeEventListener('change', onMediaChange)
- }
- }, [resolvedTheme, setTheme])
-
- return null
-}
-
-export function Providers({ children }: { children: React.ReactNode }) {
- return (
-
-
- {children}
-
- )
-}
diff --git a/apps/mesh-docs/src/app/types/[name]/page.tsx b/apps/mesh-docs/src/app/types/[name]/page.tsx
deleted file mode 100644
index c710d501f..000000000
--- a/apps/mesh-docs/src/app/types/[name]/page.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import { Prose } from '@/components/Prose';
-import { Content, DefinedIn, Header, TypeDeclaration } from '@/components/docs';
-import getType from '@/data/get-type';
-
-export default function Page({ params }: { params: { name: string } }) {
- const meshType = getType(params.name);
-
- return (
-
-
-
-
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-docs/src/components/Button.tsx b/apps/mesh-docs/src/components/Button.tsx
deleted file mode 100644
index 556e2f423..000000000
--- a/apps/mesh-docs/src/components/Button.tsx
+++ /dev/null
@@ -1,82 +0,0 @@
-import Link from 'next/link'
-import clsx from 'clsx'
-
-function ArrowIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
- return (
-
-
-
- )
-}
-
-const variantStyles = {
- primary:
- 'rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-emerald-400/10 dark:text-emerald-400 dark:ring-1 dark:ring-inset dark:ring-emerald-400/20 dark:hover:bg-emerald-400/10 dark:hover:text-emerald-300 dark:hover:ring-emerald-300',
- secondary:
- 'rounded-full bg-zinc-100 py-1 px-3 text-zinc-900 hover:bg-zinc-200 dark:bg-zinc-800/40 dark:text-zinc-400 dark:ring-1 dark:ring-inset dark:ring-zinc-800 dark:hover:bg-zinc-800 dark:hover:text-zinc-300',
- filled:
- 'rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-emerald-500 dark:text-white dark:hover:bg-emerald-400',
- outline:
- 'rounded-full py-1 px-3 text-zinc-700 ring-1 ring-inset ring-zinc-900/10 hover:bg-zinc-900/2.5 hover:text-zinc-900 dark:text-zinc-400 dark:ring-white/10 dark:hover:bg-white/5 dark:hover:text-white',
- text: 'text-emerald-500 hover:text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-500',
-}
-
-type ButtonProps = {
- variant?: keyof typeof variantStyles
- arrow?: 'left' | 'right'
-} & (
- | React.ComponentPropsWithoutRef
- | (React.ComponentPropsWithoutRef<'button'> & { href?: undefined })
-)
-
-export function Button({
- variant = 'primary',
- className,
- children,
- arrow,
- ...props
-}: ButtonProps) {
- className = clsx(
- 'inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition',
- variantStyles[variant],
- className,
- )
-
- let arrowIcon = (
-
- )
-
- let inner = (
- <>
- {arrow === 'left' && arrowIcon}
- {children}
- {arrow === 'right' && arrowIcon}
- >
- )
-
- if (typeof props.href === 'undefined') {
- return (
-
- {inner}
-
- )
- }
-
- return (
-
- {inner}
-
- )
-}
diff --git a/apps/mesh-docs/src/components/Footer.tsx b/apps/mesh-docs/src/components/Footer.tsx
deleted file mode 100644
index 3dc9a9b24..000000000
--- a/apps/mesh-docs/src/components/Footer.tsx
+++ /dev/null
@@ -1,145 +0,0 @@
-'use client'
-
-import Link from 'next/link'
-import { usePathname } from 'next/navigation'
-
-import { Button } from '@/components/Button'
-import { navigation } from '@/components/Navigation'
-
-function PageLink({
- label,
- page,
- previous = false,
-}: {
- label: string
- page: { href: string; title: string }
- previous?: boolean
-}) {
- return (
- <>
-
- {label}
-
-
- {page.title}
-
- >
- )
-}
-
-function PageNavigation() {
- let pathname = usePathname()
- let allPages = navigation.flatMap((group) => group.links)
- let currentPageIndex = allPages.findIndex((page) => page.href === pathname)
-
- if (currentPageIndex === -1) {
- return null
- }
-
- let previousPage = allPages[currentPageIndex - 1]
- let nextPage = allPages[currentPageIndex + 1]
-
- if (!previousPage && !nextPage) {
- return null
- }
-
- return (
-
- {previousPage && (
-
- )}
- {nextPage && (
-
- )}
-
- )
-}
-
-function XIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
- return (
-
-
-
- )
-}
-
-function GitHubIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
- return (
-
-
-
- )
-}
-
-function DiscordIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
- return (
-
-
-
- )
-}
-
-function SocialLink({
- href,
- icon: Icon,
- children,
-}: {
- href: string
- icon: React.ComponentType<{ className?: string }>
- children: React.ReactNode
-}) {
- return (
-
- {children}
-
-
- )
-}
-
-function SmallPrint() {
- return (
-
-
- © Copyright {new Date().getFullYear()}. All rights reserved.
-
-
-
- Follow us on X
-
-
- Follow us on GitHub
-
-
- Join our Discord server
-
-
-
- )
-}
-
-export function Footer() {
- return (
-
- )
-}
diff --git a/apps/mesh-docs/src/components/Header.tsx b/apps/mesh-docs/src/components/Header.tsx
deleted file mode 100644
index 12cec7fa8..000000000
--- a/apps/mesh-docs/src/components/Header.tsx
+++ /dev/null
@@ -1,101 +0,0 @@
-import { forwardRef } from 'react'
-import Link from 'next/link'
-import clsx from 'clsx'
-import { motion, useScroll, useTransform } from 'framer-motion'
-
-import { Button } from '@/components/Button'
-import { Logo } from '@/components/Logo'
-import {
- MobileNavigation,
- useIsInsideMobileNavigation,
-} from '@/components/MobileNavigation'
-import { useMobileNavigationStore } from '@/components/MobileNavigation'
-// import { MobileSearch, Search } from '@/components/Search'
-import { ThemeToggle } from '@/components/ThemeToggle'
-
-function TopLevelNavItem({
- href,
- children,
-}: {
- href: string
- children: React.ReactNode
-}) {
- return (
-
-
- {children}
-
-
- )
-}
-
-export const Header = forwardRef<
- React.ElementRef<'div'>,
- { className?: string }
->(function Header({ className }, ref) {
- let { isOpen: mobileNavIsOpen } = useMobileNavigationStore()
- let isInsideMobileNavigation = useIsInsideMobileNavigation()
-
- let { scrollY } = useScroll()
- let bgOpacityLight = useTransform(scrollY, [0, 72], [0.5, 0.9])
- let bgOpacityDark = useTransform(scrollY, [0, 72], [0.2, 0.8])
-
- return (
-
-
-
- {/* */}
-
-
-
-
-
-
-
-
-
-
-
- meshjs.dev
- {/* Documentation
- Support */}
-
-
-
-
- {/* */}
-
-
- {/*
- Sign in
-
*/}
-
-
- )
-})
diff --git a/apps/mesh-docs/src/components/Layout.tsx b/apps/mesh-docs/src/components/Layout.tsx
deleted file mode 100644
index 7fa29758f..000000000
--- a/apps/mesh-docs/src/components/Layout.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-'use client'
-
-import Link from 'next/link'
-import { usePathname } from 'next/navigation'
-import { motion } from 'framer-motion'
-
-import { Footer } from '@/components/Footer'
-import { Header } from '@/components/Header'
-import { Logo } from '@/components/Logo'
-import { Navigation } from '@/components/Navigation'
-import { type Section, SectionProvider } from '@/components/SectionProvider'
-
-export function Layout({
- children,
- allSections,
-}: {
- children: React.ReactNode
- allSections: Record>
-}) {
- let pathname = usePathname()
-
- return (
-
-
-
-
-
-
- {children}
-
-
-
-
- )
-}
diff --git a/apps/mesh-docs/src/components/Navigation.tsx b/apps/mesh-docs/src/components/Navigation.tsx
deleted file mode 100644
index afcfeb41e..000000000
--- a/apps/mesh-docs/src/components/Navigation.tsx
+++ /dev/null
@@ -1,306 +0,0 @@
-'use client';
-
-import { useRef } from 'react';
-import Link from 'next/link';
-import { usePathname } from 'next/navigation';
-import clsx from 'clsx';
-import { AnimatePresence, motion, useIsPresent } from 'framer-motion';
-
-import { useIsInsideMobileNavigation } from '@/components/MobileNavigation';
-import { useSectionStore } from '@/components/SectionProvider';
-import { Tag } from '@/components/Tag';
-import { remToPx } from '@/lib/remToPx';
-import getClasses from '@/data/get-classes';
-import getTypes from '@/data/get-types';
-import getInterfaces from '@/data/get-interfaces';
-import getFunctions from '@/data/get-functions';
-
-interface NavGroup {
- title: string;
- links: Array<{
- title: string;
- href: string;
- }>;
-}
-
-function useInitialValue(value: T, condition = true) {
- let initialValue = useRef(value).current;
- return condition ? initialValue : value;
-}
-
-function TopLevelNavItem({
- href,
- children,
-}: {
- href: string;
- children: React.ReactNode;
-}) {
- return (
-
-
- {children}
-
-
- );
-}
-
-function NavLink({
- href,
- children,
- tag,
- active = false,
- isAnchorLink = false,
-}: {
- href: string;
- children: React.ReactNode;
- tag?: string;
- active?: boolean;
- isAnchorLink?: boolean;
-}) {
- return (
-
- {children}
- {tag && (
-
- {tag}
-
- )}
-
- );
-}
-
-function VisibleSectionHighlight({
- group,
- pathname,
-}: {
- group: NavGroup;
- pathname: string;
-}) {
- let [sections, visibleSections] = useInitialValue(
- [
- useSectionStore((s) => s.sections),
- useSectionStore((s) => s.visibleSections),
- ],
- useIsInsideMobileNavigation()
- );
-
- let isPresent = useIsPresent();
- let firstVisibleSectionIndex = Math.max(
- 0,
- [{ id: '_top' }, ...sections].findIndex(
- (section) => section.id === visibleSections[0]
- )
- );
- let itemHeight = remToPx(2);
- let height = isPresent
- ? Math.max(1, visibleSections.length) * itemHeight
- : itemHeight;
- let top =
- group.links.findIndex((link) => link.href === pathname) * itemHeight +
- firstVisibleSectionIndex * itemHeight;
-
- return (
-
- );
-}
-
-function ActivePageMarker({
- group,
- pathname,
-}: {
- group: NavGroup;
- pathname: string;
-}) {
- let itemHeight = remToPx(2);
- let offset = remToPx(0.25);
- let activePageIndex = group.links.findIndex((link) => link.href === pathname);
- let top = offset + activePageIndex * itemHeight;
-
- return (
-
- );
-}
-
-function NavigationGroup({
- group,
- className,
-}: {
- group: NavGroup;
- className?: string;
-}) {
- // If this is the mobile navigation then we always render the initial
- // state, so that the state does not change during the close animation.
- // The state will still update when we re-open (re-render) the navigation.
- let isInsideMobileNavigation = useIsInsideMobileNavigation();
- let [pathname, sections] = useInitialValue(
- [usePathname(), useSectionStore((s) => s.sections)],
- isInsideMobileNavigation
- );
-
- let isActiveGroup =
- group.links.findIndex((link) => link.href === pathname) !== -1;
-
- return (
-
-
- {group.title}
-
-
-
- {isActiveGroup && (
-
- )}
-
-
-
- {isActiveGroup && (
-
- )}
-
-
- {group.links.map((link) => (
-
-
- {link.title}
-
-
- {link.href === pathname && sections.length > 0 && (
-
- {sections.map((section) => (
-
-
- {section.title}
-
-
- ))}
-
- )}
-
-
- ))}
-
-
-
- );
-}
-
-export const navigation: Array = [
- // {
- // title: 'Guides',
- // links: [
- // { title: 'Introduction', href: '/' },
- // { title: 'Quickstart', href: '/quickstart' },
- // { title: 'SDKs', href: '/sdks' },
- // { title: 'Authentication', href: '/authentication' },
- // { title: 'Pagination', href: '/pagination' },
- // { title: 'Errors', href: '/errors' },
- // { title: 'Webhooks', href: '/webhooks' },
- // ],
- // },
- // {
- // title: 'Resources',
- // links: [
- // { title: 'Contacts', href: '/contacts' },
- // { title: 'Conversations', href: '/conversations' },
- // { title: 'Messages', href: '/messages' },
- // { title: 'Groups', href: '/groups' },
- // { title: 'Attachments', href: '/attachments' },
- // ],
- // },
- {
- title: 'Classes',
- links: getClasses().map((item: any) => {
- return { title: item.name, href: `/classes/${item.name}` };
- }),
- },
- {
- title: 'Interfaces',
- links: getInterfaces().map((item: any) => {
- return { title: item.name, href: `/interfaces/${item.name}` };
- }),
- },
- {
- title: 'Types',
- links: getTypes().map((item: any) => {
- return { title: item.name, href: `/types/${item.name}` };
- }),
- },
- {
- title: 'Functions',
- links: getFunctions().map((item: any) => {
- return { title: item.name, href: `/functions/${item.name}` };
- }),
- },
-];
-
-export function Navigation(props: React.ComponentPropsWithoutRef<'nav'>) {
- return (
-
-
- {/* meshjs.dev */}
- {/* Documentation
- Support */}
- {navigation.map((group, groupIndex) => (
-
- ))}
- {/*
-
- Sign in
-
- */}
-
-
- );
-}
diff --git a/apps/mesh-docs/src/config/index.ts b/apps/mesh-docs/src/config/index.ts
deleted file mode 100644
index acc7a6d4b..000000000
--- a/apps/mesh-docs/src/config/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const githubFileUrl = `https://github.com/MeshJS/mesh/blob/main/packages/module/`;
diff --git a/apps/mesh-docs/src/data/api.json b/apps/mesh-docs/src/data/api.json
deleted file mode 100644
index 990c07e4e..000000000
--- a/apps/mesh-docs/src/data/api.json
+++ /dev/null
@@ -1,40932 +0,0 @@
-{
- "id": 0,
- "name": "@meshsdk/core",
- "variant": "project",
- "kind": 1,
- "flags": {},
- "children": [
- {
- "id": 1247,
- "name": "AppWallet",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "children": [
- {
- "id": 1251,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1252,
- "name": "new AppWallet",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 48,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1253,
- "name": "options",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1241,
- "name": "CreateAppWalletOptions",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 1247,
- "name": "AppWallet",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 1254,
- "name": "_fetcher",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 44,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1255,
- "name": "_submitter",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 45,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1256,
- "name": "_wallet",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 46,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": 1376,
- "name": "EmbeddedWallet",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1257,
- "name": "getBaseAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 77,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1258,
- "name": "getBaseAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 77,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1259,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 1260,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1306,
- "name": "getCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 274,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1307,
- "name": "getCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 274,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1261,
- "name": "getPaymentAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 86,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1262,
- "name": "getPaymentAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 86,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1263,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 1264,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1265,
- "name": "getRewardAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 95,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1266,
- "name": "getRewardAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 95,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1267,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 1268,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1269,
- "name": "getUsedAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 104,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1270,
- "name": "getUsedAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 104,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1271,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 1272,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Address"
- },
- "name": "Address",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- },
- "implementationOf": {
- "type": "reference",
- "target": 61,
- "name": "IInitiator.getUsedAddress"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 60,
- "name": "IInitiator.getUsedAddress"
- }
- },
- {
- "id": 1308,
- "name": "getUsedAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 278,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1309,
- "name": "getUsedAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 278,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1273,
- "name": "getUsedCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 113,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1274,
- "name": "getUsedCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 113,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1275,
- "name": "_limit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_PROTOCOL_PARAMETERS.maxCollateralInputs"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 63,
- "name": "IInitiator.getUsedCollateral"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 62,
- "name": "IInitiator.getUsedCollateral"
- }
- },
- {
- "id": 1276,
- "name": "getUsedUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 119,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1277,
- "name": "getUsedUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 119,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1278,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 66,
- "name": "IInitiator.getUsedUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 65,
- "name": "IInitiator.getUsedUTxOs"
- }
- },
- {
- "id": 1304,
- "name": "getUtxos",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 270,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1305,
- "name": "getUtxos",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "development: browser wallets apis"
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 270,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1279,
- "name": "signData",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 133,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1280,
- "name": "signData",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 133,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1281,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1282,
- "name": "payload",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1283,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 1284,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": 174,
- "name": "DataSignature",
- "package": "@meshsdk/core"
- },
- "implementationOf": {
- "type": "reference",
- "target": 77,
- "name": "ISigner.signData"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 76,
- "name": "ISigner.signData"
- }
- },
- {
- "id": 1285,
- "name": "signTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 154,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1286,
- "name": "signTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 154,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1287,
- "name": "unsignedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1288,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 1289,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 1290,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 81,
- "name": "ISigner.signTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 80,
- "name": "ISigner.signTx"
- }
- },
- {
- "id": 1291,
- "name": "signTxSync",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 200,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1292,
- "name": "signTxSync",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 200,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1293,
- "name": "unsignedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1294,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 1295,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- },
- {
- "id": 1296,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1297,
- "name": "signTxs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 245,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1298,
- "name": "signTxs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 245,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1299,
- "name": "unsignedTxs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 1300,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 85,
- "name": "ISigner.signTxs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 84,
- "name": "ISigner.signTxs"
- }
- },
- {
- "id": 1301,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 253,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1302,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 253,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1303,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- },
- {
- "id": 1248,
- "name": "brew",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 262,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 1249,
- "name": "brew",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 262,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 1250,
- "name": "strength",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "256"
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 1251
- ]
- },
- {
- "title": "Properties",
- "children": [
- 1254,
- 1255,
- 1256
- ]
- },
- {
- "title": "Methods",
- "children": [
- 1257,
- 1306,
- 1261,
- 1265,
- 1269,
- 1308,
- 1273,
- 1276,
- 1304,
- 1279,
- 1285,
- 1291,
- 1297,
- 1301,
- 1248
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 43,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 59,
- "name": "IInitiator",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 75,
- "name": "ISigner",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 386,
- "name": "BlockfrostProvider",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "[Blockfrost](https://blockfrost.io/) provides restful APIs which allows your app to access information stored on the blockchain.\n\nGet started:\n"
- },
- {
- "kind": "code",
- "text": "```ts\nconst blockfrostProvider = new BlockfrostProvider('');\n```"
- }
- ]
- },
- "children": [
- {
- "id": 387,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 39,
- "character": 2
- },
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 46,
- "character": 2
- },
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 48,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 388,
- "name": "new BlockfrostProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "If you are using a privately hosted Blockfrost instance, you can set the URL in the parameter."
- }
- ]
- },
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 39,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 389,
- "name": "baseUrl",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The base URL of the instance."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 386,
- "name": "BlockfrostProvider",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 390,
- "name": "new BlockfrostProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "If you are using [Blockfrost](https://blockfrost.io/) hosted instance, you can set the project ID in the parameter."
- }
- ]
- },
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 46,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 391,
- "name": "projectId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The project ID of the instance."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 392,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The version of the API. Default is 0."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 386,
- "name": "BlockfrostProvider",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 393,
- "name": "_axiosInstance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 33,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/axios@1.6.3/node_modules/axios/index.d.ts",
- "qualifiedName": "AxiosInstance"
- },
- "name": "AxiosInstance",
- "package": "axios"
- }
- },
- {
- "id": 394,
- "name": "fetchAccountInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 63,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 395,
- "name": "fetchAccountInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 63,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 396,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 102,
- "name": "AccountInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 22,
- "name": "IFetcher.fetchAccountInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 21,
- "name": "IFetcher.fetchAccountInfo"
- }
- },
- {
- "id": 404,
- "name": "fetchAddressUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 131,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 405,
- "name": "fetchAddressUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 131,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 406,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 407,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 25,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 24,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- },
- {
- "id": 408,
- "name": "fetchAssetAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 163,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 409,
- "name": "fetchAssetAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 163,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 410,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 411,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 412,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 165,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 413,
- "name": "quantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 165,
- "character": 32
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 412,
- 413
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 165,
- "character": 13
- }
- ]
- }
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 29,
- "name": "IFetcher.fetchAssetAddresses"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 28,
- "name": "IFetcher.fetchAssetAddresses"
- }
- },
- {
- "id": 414,
- "name": "fetchAssetMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 190,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 415,
- "name": "fetchAssetMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 190,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 416,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 135,
- "name": "AssetMetadata",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 35,
- "name": "IFetcher.fetchAssetMetadata"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 34,
- "name": "IFetcher.fetchAssetMetadata"
- }
- },
- {
- "id": 417,
- "name": "fetchBlockInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 208,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 418,
- "name": "fetchBlockInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 208,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 419,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 153,
- "name": "BlockInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 38,
- "name": "IFetcher.fetchBlockInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 37,
- "name": "IFetcher.fetchBlockInfo"
- }
- },
- {
- "id": 420,
- "name": "fetchCollectionAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 237,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 421,
- "name": "fetchCollectionAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 237,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 422,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 423,
- "name": "cursor",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "1"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 424,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 425,
- "name": "assets",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 240,
- "character": 15
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 426,
- "name": "next",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 240,
- "character": 32
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 425,
- 426
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 240,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 41,
- "name": "IFetcher.fetchCollectionAssets"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 40,
- "name": "IFetcher.fetchCollectionAssets"
- }
- },
- {
- "id": 427,
- "name": "fetchHandleAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 261,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 428,
- "name": "fetchHandleAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 261,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 429,
- "name": "handle",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 48,
- "name": "IFetcher.fetchHandleAddress"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 47,
- "name": "IFetcher.fetchHandleAddress"
- }
- },
- {
- "id": 452,
- "name": "fetchNativeScriptJSON",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 407,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 453,
- "name": "fetchNativeScriptJSON",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 407,
- "character": 16
- }
- ],
- "parameters": [
- {
- "id": 454,
- "name": "scriptHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 449,
- "name": "fetchPlutusScriptCBOR",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 397,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 450,
- "name": "fetchPlutusScriptCBOR",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 397,
- "character": 16
- }
- ],
- "parameters": [
- {
- "id": 451,
- "name": "scriptHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 430,
- "name": "fetchProtocolParameters",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 276,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 431,
- "name": "fetchProtocolParameters",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 276,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 432,
- "name": "epoch",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "Number.NaN"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 51,
- "name": "IFetcher.fetchProtocolParameters"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 50,
- "name": "IFetcher.fetchProtocolParameters"
- }
- },
- {
- "id": 433,
- "name": "fetchTxInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 312,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 434,
- "name": "fetchTxInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 312,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 435,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 268,
- "name": "TransactionInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 54,
- "name": "IFetcher.fetchTxInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 53,
- "name": "IFetcher.fetchTxInfo"
- }
- },
- {
- "id": 436,
- "name": "fetchUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 335,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 437,
- "name": "fetchUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 335,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 438,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 57,
- "name": "IFetcher.fetchUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 56,
- "name": "IFetcher.fetchUTxOs"
- }
- },
- {
- "id": 439,
- "name": "onTxConfirmed",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 355,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 440,
- "name": "onTxConfirmed",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 355,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 441,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 442,
- "name": "callback",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 443,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 355,
- "character": 42
- }
- ],
- "signatures": [
- {
- "id": 444,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 355,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 445,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "100"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "implementationOf": {
- "type": "reference",
- "target": 69,
- "name": "IListener.onTxConfirmed"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 68,
- "name": "IListener.onTxConfirmed"
- }
- },
- {
- "id": 397,
- "name": "resolveScriptRef",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 88,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 398,
- "name": "resolveScriptRef",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 88,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 399,
- "name": "scriptHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 446,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 380,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 447,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 380,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 448,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- },
- {
- "id": 400,
- "name": "toUTxO",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 113,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 401,
- "name": "toUTxO",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 113,
- "character": 19
- }
- ],
- "parameters": [
- {
- "id": 402,
- "name": "bfUTxO",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostUTxO"
- },
- "name": "BlockfrostUTxO",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 403,
- "name": "tx_hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 387
- ]
- },
- {
- "title": "Properties",
- "children": [
- 393
- ]
- },
- {
- "title": "Methods",
- "children": [
- 394,
- 404,
- 408,
- 414,
- 417,
- 420,
- 427,
- 452,
- 449,
- 430,
- 433,
- 436,
- 439,
- 397,
- 446,
- 400
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/blockfrost.provider.ts",
- "line": 32,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 67,
- "name": "IListener",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 1310,
- "name": "BrowserWallet",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "These wallets APIs are in accordance to CIP-30, which defines the API for dApps to communicate with the user's wallet. Additional utility functions provided for developers that are useful for building dApps.\n\n"
- },
- {
- "kind": "code",
- "text": "```javascript\n// import BrowserWallet\nimport { BrowserWallet } from '@meshsdk/core';\n\n// connect to a wallet\nconst wallet = await BrowserWallet.enable('eternl');\n\n// get assets in wallet\nconst assets = await wallet.getAssets();\n```"
- }
- ]
- },
- "children": [
- {
- "id": 1319,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 50,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1320,
- "name": "new BrowserWallet",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 50,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1321,
- "name": "_walletInstance",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "WalletInstance"
- },
- "name": "WalletInstance",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1322,
- "name": "_walletName",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 1310,
- "name": "BrowserWallet",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 1324,
- "name": "_walletInstance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 51,
- "character": 13
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "WalletInstance"
- },
- "name": "WalletInstance",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1325,
- "name": "_walletName",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 52,
- "character": 13
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1323,
- "name": "walletInstance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "WalletInstance"
- },
- "name": "WalletInstance",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1367,
- "name": "getAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 375,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1368,
- "name": "getAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the assets in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of assets"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 375,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 128,
- "name": "AssetExtended",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1326,
- "name": "getBalance",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 109,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1327,
- "name": "getBalance",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of assets in the wallet. This API will return every assets in the wallet. Each asset is an object with the following properties:\n- A unit is provided to display asset's name on the user interface.\n- A quantity is provided to display asset's quantity on the user interface."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of assets and their quantities"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 109,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1328,
- "name": "getChangeAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 119,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1329,
- "name": "getChangeAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns an address owned by the wallet that should be used as a change address to return leftover assets during transaction creation back to the connected wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "an address"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 119,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1330,
- "name": "getCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 132,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1331,
- "name": "getCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "This function shall return a list of one or more UTXOs (unspent transaction outputs) controlled by the wallet that are required to reach AT LEAST the combined ADA value target specified in amount AND the best suitable to be used as collateral inputs for transactions with plutus script inputs (pure ADA-only UTXOs).\n\nIf this cannot be attained, an error message with an explanation of the blocking problem shall be returned. NOTE: wallets are free to return UTXOs that add up to a greater total ADA value than requested in the amount parameter, but wallets must never return any result where UTXOs would sum up to a smaller total ADA value, instead in a case like that an error message must be returned."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 132,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1332,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_PROTOCOL_PARAMETERS.maxCollateralInputs"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1369,
- "name": "getLovelace",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 399,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1370,
- "name": "getLovelace",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the lovelace balance in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "lovelace balance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 399,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1333,
- "name": "getNetworkId",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 144,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1334,
- "name": "getNetworkId",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns the network ID of the currently connected account. 0 is testnet and 1 is mainnet but other networks can possibly be returned by wallets. Those other network ID values are not governed by CIP-30. This result will stay the same unless the connected account has changed."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "network ID"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 144,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "number"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1371,
- "name": "getPolicyIdAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 412,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1372,
- "name": "getPolicyIdAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the assets of a specific policy ID in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of assets"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 412,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1373,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 128,
- "name": "AssetExtended",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1374,
- "name": "getPolicyIds",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 422,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1375,
- "name": "getPolicyIds",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the policy IDs of all the assets in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of policy IDs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 422,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1335,
- "name": "getRewardAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 153,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1336,
- "name": "getRewardAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of reward addresses owned by the wallet. A reward address is a stake address that is used to receive rewards from staking, generally starts from "
- },
- {
- "kind": "code",
- "text": "`stake`"
- },
- {
- "kind": "text",
- "text": " prefix."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of reward addresses"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 153,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1337,
- "name": "getUnusedAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 163,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1338,
- "name": "getUnusedAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of unused addresses controlled by the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of unused addresses"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 163,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1359,
- "name": "getUsedAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 335,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1360,
- "name": "getUsedAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get a used address of type Address from the wallet.\n\nThis is used in transaction building."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "an Address object"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 335,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Address"
- },
- "name": "Address",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 61,
- "name": "IInitiator.getUsedAddress"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 60,
- "name": "IInitiator.getUsedAddress"
- }
- },
- {
- "id": 1339,
- "name": "getUsedAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 173,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1340,
- "name": "getUsedAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of used addresses controlled by the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of used addresses"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 173,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1361,
- "name": "getUsedCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 347,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1362,
- "name": "getUsedCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get a list of UTXOs to be used as collateral inputs for transactions with plutus script inputs.\n\nThis is used in transaction building."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 347,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1363,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_PROTOCOL_PARAMETERS.maxCollateralInputs"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 63,
- "name": "IInitiator.getUsedCollateral"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 62,
- "name": "IInitiator.getUsedCollateral"
- }
- },
- {
- "id": 1364,
- "name": "getUsedUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 362,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1365,
- "name": "getUsedUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get a list of UTXOs to be used for transaction building.\n\nThis is used in transaction building."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 362,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1366,
- "name": "amount",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- "defaultValue": "undefined"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 66,
- "name": "IInitiator.getUsedUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 65,
- "name": "IInitiator.getUsedUTxOs"
- }
- },
- {
- "id": 1341,
- "name": "getUtxos",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 184,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1342,
- "name": "getUtxos",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Return a list of all UTXOs (unspent transaction outputs) controlled by the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 184,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1343,
- "name": "amount",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- "defaultValue": "undefined"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1344,
- "name": "signData",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 198,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1345,
- "name": "signData",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "This endpoint utilizes the [CIP-8 - Message Signing](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0030) to sign arbitrary data, to verify the data was signed by the owner of the private key.\n\nHere, we get the first wallet's address with wallet.getUsedAddresses(), alternativelly you can use reward addresses (getRewardAddresses()) too. It's really up to you as the developer which address you want to use in your application."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a signature"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 198,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1346,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1347,
- "name": "payload",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 174,
- "name": "DataSignature",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 77,
- "name": "ISigner.signData"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 76,
- "name": "ISigner.signData"
- }
- },
- {
- "id": 1348,
- "name": "signTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 210,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1349,
- "name": "signTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Requests user to sign the provided transaction (tx). The wallet should ask the user for permission, and if given, try to sign the supplied body and return a signed transaction. partialSign should be true if the transaction provided requires multiple signatures."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a signed transaction in CBOR"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 210,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1350,
- "name": "unsignedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1351,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 81,
- "name": "ISigner.signTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 80,
- "name": "ISigner.signTx"
- }
- },
- {
- "id": 1352,
- "name": "signTxs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 253,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1353,
- "name": "signTxs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Experimental feature - sign multiple transactions at once (Supported wallet(s): Typhon)"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "array of signed transactions CborHex string"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 253,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1354,
- "name": "unsignedTxs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "array of unsigned transactions in CborHex string"
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 1355,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "if the transactions are signed partially"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 85,
- "name": "ISigner.signTxs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 84,
- "name": "ISigner.signTxs"
- }
- },
- {
- "id": 1356,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 324,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1357,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Submits the signed transaction to the blockchain network.\n\nAs wallets should already have this ability to submit transaction, we allow dApps to request that a transaction be sent through it. If the wallet accepts the transaction and tries to send it, it shall return the transaction ID for the dApp to track. The wallet can return error messages or failure if there was an error in sending it."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a transaction hash"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 324,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1358,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- },
- {
- "id": 1313,
- "name": "enable",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 85,
- "character": 15
- }
- ],
- "signatures": [
- {
- "id": 1314,
- "name": "enable",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "This is the entrypoint to start communication with the user's wallet. The wallet should request the user's permission to connect the web page to the user's wallet, and if permission has been granted, the wallet will be returned and exposing the full API for the dApp to use.\n\nQuery BrowserWallet.getInstalledWallets() to get a list of available wallets, then provide the wallet name for which wallet the user would like to connect with."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "WalletInstance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 85,
- "character": 15
- }
- ],
- "parameters": [
- {
- "id": 1315,
- "name": "walletName",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 1310,
- "name": "BrowserWallet",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1311,
- "name": "getInstalledWallets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 65,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 1312,
- "name": "getInstalledWallets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of wallets installed on user's device. Each wallet is an object with the following properties:\n- A name is provided to display wallet's name on the user interface.\n- A version is provided to display wallet's version on the user interface.\n- An icon is provided to display wallet's icon on the user interface."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of wallet names"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 65,
- "character": 9
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 293,
- "name": "Wallet",
- "package": "@meshsdk/core"
- }
- }
- }
- ]
- },
- {
- "id": 1316,
- "name": "resolveInstance",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true,
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 429,
- "character": 17
- }
- ],
- "signatures": [
- {
- "id": 1317,
- "name": "resolveInstance",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 429,
- "character": 17
- }
- ],
- "parameters": [
- {
- "id": 1318,
- "name": "walletName",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "WalletInstance"
- },
- "name": "WalletInstance",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- ]
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 1319
- ]
- },
- {
- "title": "Properties",
- "children": [
- 1324,
- 1325,
- 1323
- ]
- },
- {
- "title": "Methods",
- "children": [
- 1367,
- 1326,
- 1328,
- 1330,
- 1369,
- 1333,
- 1371,
- 1374,
- 1335,
- 1337,
- 1359,
- 1339,
- 1361,
- 1364,
- 1341,
- 1344,
- 1348,
- 1352,
- 1356,
- 1313,
- 1311,
- 1316
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/browser.service.ts",
- "line": 47,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 59,
- "name": "IInitiator",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 75,
- "name": "ISigner",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 1376,
- "name": "EmbeddedWallet",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "children": [
- {
- "id": 1421,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 32,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1422,
- "name": "new EmbeddedWallet",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 32,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1423,
- "name": "_networkId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1424,
- "name": "_encryptedSecret",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "tuple",
- "elements": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 1376,
- "name": "EmbeddedWallet",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 1426,
- "name": "_encryptedSecret",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 34,
- "character": 21
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "tuple",
- "elements": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ]
- }
- },
- {
- "id": 1425,
- "name": "_networkId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 33,
- "character": 21
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1454,
- "name": "accountContext",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 209,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 1455,
- "name": "accountContext",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 209,
- "character": 10
- }
- ],
- "typeParameter": [
- {
- "id": 1456,
- "name": "T",
- "variant": "typeParam",
- "kind": 131072,
- "flags": {}
- }
- ],
- "parameters": [
- {
- "id": 1457,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1458,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1459,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1460,
- "name": "callback",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1461,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 213,
- "character": 14
- }
- ],
- "signatures": [
- {
- "id": 1462,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 213,
- "character": 14
- }
- ],
- "parameters": [
- {
- "id": 1463,
- "name": "paymentKey",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "PrivateKey"
- },
- "name": "PrivateKey",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 1464,
- "name": "stakeKey",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "PrivateKey"
- },
- "name": "PrivateKey",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 1456,
- "name": "T",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 1456,
- "name": "T",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- }
- }
- ]
- },
- {
- "id": 1447,
- "name": "addPaymentKey",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 153,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1448,
- "name": "addPaymentKey",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 153,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1449,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1450,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1451,
- "name": "unsignedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1452,
- "name": "signatures",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Vkeywitnesses"
- },
- "name": "Vkeywitnesses",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 1453,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Vkeywitnesses"
- },
- "name": "Vkeywitnesses",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ]
- },
- {
- "id": 1427,
- "name": "getAccount",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 37,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1428,
- "name": "getAccount",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 37,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1429,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1430,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1431,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": 97,
- "name": "Account",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 1432,
- "name": "signData",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 74,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1433,
- "name": "signData",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 74,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1434,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1435,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1436,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1437,
- "name": "payload",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1438,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": 174,
- "name": "DataSignature",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 1439,
- "name": "signTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 112,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1440,
- "name": "signTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 112,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1441,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1442,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1443,
- "name": "utxos",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1444,
- "name": "unsignedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1445,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 1446,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Vkeywitnesses"
- },
- "name": "Vkeywitnesses",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ]
- },
- {
- "id": 1393,
- "name": "decrypt",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true,
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 230,
- "character": 17
- }
- ],
- "signatures": [
- {
- "id": 1394,
- "name": "decrypt",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 230,
- "character": 17
- }
- ],
- "parameters": [
- {
- "id": 1395,
- "name": "data",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1396,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1397,
- "name": "encrypt",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true,
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 238,
- "character": 17
- }
- ],
- "signatures": [
- {
- "id": 1398,
- "name": "encrypt",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 238,
- "character": 17
- }
- ],
- "parameters": [
- {
- "id": 1399,
- "name": "data",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1400,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1377,
- "name": "encryptMnemonic",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 167,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 1378,
- "name": "encryptMnemonic",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 167,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 1379,
- "name": "words",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 1380,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1381,
- "name": "encryptPrivateKey",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 177,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 1382,
- "name": "encryptPrivateKey",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 177,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 1383,
- "name": "bech32",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1384,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1385,
- "name": "encryptSigningKeys",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 186,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 1386,
- "name": "encryptSigningKeys",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 186,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 1387,
- "name": "cborPaymentKey",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1388,
- "name": "cborStakeKey",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1389,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "tuple",
- "elements": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 1390,
- "name": "generateMnemonic",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 204,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 1391,
- "name": "generateMnemonic",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 204,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 1392,
- "name": "strength",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "256"
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ]
- },
- {
- "id": 1401,
- "name": "resolveAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true,
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 245,
- "character": 17
- }
- ],
- "signatures": [
- {
- "id": 1402,
- "name": "resolveAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 245,
- "character": 17
- }
- ],
- "parameters": [
- {
- "id": 1403,
- "name": "networkId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1404,
- "name": "bech32",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1405,
- "name": "payment",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "PrivateKey"
- },
- "name": "PrivateKey",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 1406,
- "name": "stake",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "PrivateKey"
- },
- "name": "PrivateKey",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Address"
- },
- "name": "Address",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ]
- },
- {
- "id": 1407,
- "name": "resolveKeys",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true,
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 266,
- "character": 17
- }
- ],
- "signatures": [
- {
- "id": 1408,
- "name": "resolveKeys",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 266,
- "character": 17
- }
- ],
- "parameters": [
- {
- "id": 1409,
- "name": "accountIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1410,
- "name": "keyIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1411,
- "name": "password",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1412,
- "name": "encryptedSecret",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "tuple",
- "elements": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1413,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1414,
- "name": "paymentKey",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 271,
- "character": 7
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "PrivateKey"
- },
- "name": "PrivateKey",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 1415,
- "name": "stakeKey",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 271,
- "character": 31
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "PrivateKey"
- },
- "name": "PrivateKey",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1414,
- 1415
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 271,
- "character": 5
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 1416,
- "name": "resolveSigners",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true,
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 288,
- "character": 17
- }
- ],
- "signatures": [
- {
- "id": 1417,
- "name": "resolveSigners",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 288,
- "character": 17
- }
- ],
- "parameters": [
- {
- "id": 1418,
- "name": "cborTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1419,
- "name": "utxos",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1420,
- "name": "paymentKeyHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Set"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Set",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 1421
- ]
- },
- {
- "title": "Properties",
- "children": [
- 1426,
- 1425
- ]
- },
- {
- "title": "Methods",
- "children": [
- 1454,
- 1447,
- 1427,
- 1432,
- 1439,
- 1393,
- 1397,
- 1377,
- 1381,
- 1385,
- 1390,
- 1401,
- 1407,
- 1416
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/embedded.service.ts",
- "line": 31,
- "character": 13
- }
- ]
- },
- {
- "id": 697,
- "name": "ForgeScript",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "children": [
- {
- "id": 714,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "signatures": [
- {
- "id": 715,
- "name": "new ForgeScript",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 697,
- "name": "ForgeScript",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 711,
- "name": "fromNativeScript",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 60,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 712,
- "name": "fromNativeScript",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 60,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 713,
- "name": "script",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 708,
- "name": "withAllSignatures",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 46,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 709,
- "name": "withAllSignatures",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 46,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 710,
- "name": "addresses",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 705,
- "name": "withAnySignature",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 32,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 706,
- "name": "withAnySignature",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 32,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 707,
- "name": "addresses",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 701,
- "name": "withAtLeastNSignatures",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 16,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 702,
- "name": "withAtLeastNSignatures",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 16,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 703,
- "name": "addresses",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 704,
- "name": "minimumRequired",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 698,
- "name": "withOneSignature",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 9,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 699,
- "name": "withOneSignature",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 9,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 700,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 714
- ]
- },
- {
- "title": "Methods",
- "children": [
- 711,
- 708,
- 705,
- 701,
- 698
- ]
- }
- ],
- "sources": [
- {
- "fileName": "scripts/forge.script.ts",
- "line": 8,
- "character": 13
- }
- ]
- },
- {
- "id": 455,
- "name": "InfuraProvider",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "children": [
- {
- "id": 456,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/infura.provider.ts",
- "line": 8,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 457,
- "name": "new InfuraProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/infura.provider.ts",
- "line": 8,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 458,
- "name": "projectId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 459,
- "name": "projectSecret",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 460,
- "name": "options",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Partial"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "CreateInfuraProviderOptions"
- },
- "name": "CreateInfuraProviderOptions",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Partial",
- "package": "typescript"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 455,
- "name": "InfuraProvider",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 461,
- "name": "_axiosInstance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/infura.provider.ts",
- "line": 6,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/axios@1.6.3/node_modules/axios/index.d.ts",
- "qualifiedName": "AxiosInstance"
- },
- "name": "AxiosInstance",
- "package": "axios"
- }
- },
- {
- "id": 462,
- "name": "uploadContent",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/infura.provider.ts",
- "line": 23,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 463,
- "name": "uploadContent",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/infura.provider.ts",
- "line": 23,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 464,
- "name": "content",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts",
- "qualifiedName": "FormData"
- },
- "name": "FormData",
- "package": "typescript"
- }
- },
- {
- "id": 465,
- "name": "recursive",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 94,
- "name": "IUploader.uploadContent"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 93,
- "name": "IUploader.uploadContent"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 456
- ]
- },
- {
- "title": "Properties",
- "children": [
- 461
- ]
- },
- {
- "title": "Methods",
- "children": [
- 462
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/infura.provider.ts",
- "line": 5,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 92,
- "name": "IUploader",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 466,
- "name": "KoiosProvider",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Fetcher interface defines end points to query blockchain data."
- }
- ]
- },
- "children": [
- {
- "id": 467,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 29,
- "character": 2
- },
- {
- "fileName": "providers/koios.provider.ts",
- "line": 30,
- "character": 2
- },
- {
- "fileName": "providers/koios.provider.ts",
- "line": 36,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 468,
- "name": "new KoiosProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 29,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 469,
- "name": "baseUrl",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 466,
- "name": "KoiosProvider",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 470,
- "name": "new KoiosProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 30,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 471,
- "name": "network",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "preview"
- },
- {
- "type": "literal",
- "value": "preprod"
- },
- {
- "type": "literal",
- "value": "api"
- },
- {
- "type": "literal",
- "value": "guild"
- }
- ]
- }
- },
- {
- "id": 472,
- "name": "token",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 473,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 466,
- "name": "KoiosProvider",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 474,
- "name": "_axiosInstance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 27,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/axios@1.6.3/node_modules/axios/index.d.ts",
- "qualifiedName": "AxiosInstance"
- },
- "name": "AxiosInstance",
- "package": "axios"
- }
- },
- {
- "id": 475,
- "name": "fetchAccountInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 64,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 476,
- "name": "fetchAccountInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 64,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 477,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 102,
- "name": "AccountInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 22,
- "name": "IFetcher.fetchAccountInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 21,
- "name": "IFetcher.fetchAccountInfo"
- }
- },
- {
- "id": 478,
- "name": "fetchAddressUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 89,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 479,
- "name": "fetchAddressUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 89,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 480,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 481,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 25,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 24,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- },
- {
- "id": 482,
- "name": "fetchAssetAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 116,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 483,
- "name": "fetchAssetAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 116,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 484,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 485,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 486,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 118,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 487,
- "name": "quantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 118,
- "character": 32
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 486,
- 487
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 118,
- "character": 13
- }
- ]
- }
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 29,
- "name": "IFetcher.fetchAssetAddresses"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 28,
- "name": "IFetcher.fetchAssetAddresses"
- }
- },
- {
- "id": 488,
- "name": "fetchAssetMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 137,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 489,
- "name": "fetchAssetMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 137,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 490,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 135,
- "name": "AssetMetadata",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 35,
- "name": "IFetcher.fetchAssetMetadata"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 34,
- "name": "IFetcher.fetchAssetMetadata"
- }
- },
- {
- "id": 491,
- "name": "fetchBlockInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 155,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 492,
- "name": "fetchBlockInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 155,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 493,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 153,
- "name": "BlockInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 38,
- "name": "IFetcher.fetchBlockInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 37,
- "name": "IFetcher.fetchBlockInfo"
- }
- },
- {
- "id": 494,
- "name": "fetchCollectionAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 186,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 495,
- "name": "fetchCollectionAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 186,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 496,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 497,
- "name": "cursor",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 498,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 499,
- "name": "assets",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 189,
- "character": 15
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 500,
- "name": "next",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 189,
- "character": 32
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 499,
- 500
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 189,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 41,
- "name": "IFetcher.fetchCollectionAssets"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 40,
- "name": "IFetcher.fetchCollectionAssets"
- }
- },
- {
- "id": 501,
- "name": "fetchHandleAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 210,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 502,
- "name": "fetchHandleAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 210,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 503,
- "name": "handle",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 48,
- "name": "IFetcher.fetchHandleAddress"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 47,
- "name": "IFetcher.fetchHandleAddress"
- }
- },
- {
- "id": 504,
- "name": "fetchProtocolParameters",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 225,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 505,
- "name": "fetchProtocolParameters",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 225,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 506,
- "name": "epoch",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 51,
- "name": "IFetcher.fetchProtocolParameters"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 50,
- "name": "IFetcher.fetchProtocolParameters"
- }
- },
- {
- "id": 507,
- "name": "fetchTxInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 261,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 508,
- "name": "fetchTxInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 261,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 509,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 268,
- "name": "TransactionInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 54,
- "name": "IFetcher.fetchTxInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 53,
- "name": "IFetcher.fetchTxInfo"
- }
- },
- {
- "id": 510,
- "name": "fetchUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 286,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 511,
- "name": "fetchUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 286,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 512,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 57,
- "name": "IFetcher.fetchUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 56,
- "name": "IFetcher.fetchUTxOs"
- }
- },
- {
- "id": 513,
- "name": "onTxConfirmed",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 304,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 514,
- "name": "onTxConfirmed",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 304,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 515,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 516,
- "name": "callback",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 517,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 304,
- "character": 42
- }
- ],
- "signatures": [
- {
- "id": 518,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 304,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 519,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "100"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "implementationOf": {
- "type": "reference",
- "target": 69,
- "name": "IListener.onTxConfirmed"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 68,
- "name": "IListener.onTxConfirmed"
- }
- },
- {
- "id": 527,
- "name": "resolveScriptRef",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 373,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 528,
- "name": "resolveScriptRef",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 373,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 529,
- "name": "kScriptRef",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 520,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 329,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 521,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 329,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 522,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- },
- {
- "id": 523,
- "name": "toUTxO",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 347,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 524,
- "name": "toUTxO",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 347,
- "character": 10
- }
- ],
- "parameters": [
- {
- "id": 525,
- "name": "utxo",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- },
- {
- "id": 526,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 467
- ]
- },
- {
- "title": "Properties",
- "children": [
- 474
- ]
- },
- {
- "title": "Methods",
- "children": [
- 475,
- 478,
- 482,
- 488,
- 491,
- 494,
- 501,
- 504,
- 507,
- 510,
- 513,
- 527,
- 520,
- 523
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/koios.provider.ts",
- "line": 26,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 67,
- "name": "IListener",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 563,
- "name": "MaestroProvider",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Fetcher interface defines end points to query blockchain data."
- }
- ]
- },
- "children": [
- {
- "id": 564,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 43,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 565,
- "name": "new MaestroProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 43,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 566,
- "name": "__namedParameters",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 559,
- "name": "MaestroConfig",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 563,
- "name": "MaestroProvider",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 568,
- "name": "_amountsAsStrings",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 34,
- "character": 19
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 569,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 570,
- "name": "headers",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 36,
- "character": 6
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 571,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 572,
- "name": "amounts-as-strings",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 37,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "\"true\""
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 572
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 36,
- "character": 15
- }
- ]
- }
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 570
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 35,
- "character": 4
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 567,
- "name": "_axiosInstance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 33,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/axios@1.6.3/node_modules/axios/index.d.ts",
- "qualifiedName": "AxiosInstance"
- },
- "name": "AxiosInstance",
- "package": "axios"
- }
- },
- {
- "id": 573,
- "name": "submitUrl",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 41,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 574,
- "name": "evaluateTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 51,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 575,
- "name": "evaluateTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 51,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 576,
- "name": "cbor",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Omit"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 109,
- "name": "Action",
- "package": "@meshsdk/core"
- },
- {
- "type": "literal",
- "value": "data"
- }
- ],
- "name": "Omit",
- "package": "typescript"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 18,
- "name": "IEvaluator.evaluateTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 17,
- "name": "IEvaluator.evaluateTx"
- }
- },
- {
- "id": 577,
- "name": "fetchAccountInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 79,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 578,
- "name": "fetchAccountInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 79,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 579,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 102,
- "name": "AccountInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 22,
- "name": "IFetcher.fetchAccountInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 21,
- "name": "IFetcher.fetchAccountInfo"
- }
- },
- {
- "id": 580,
- "name": "fetchAddressUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 106,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 581,
- "name": "fetchAddressUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 106,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 582,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 583,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 25,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 24,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- },
- {
- "id": 584,
- "name": "fetchAssetAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 144,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 585,
- "name": "fetchAssetAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 144,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 586,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 587,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 588,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 146,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 589,
- "name": "quantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 146,
- "character": 32
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 588,
- 589
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 146,
- "character": 13
- }
- ]
- }
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 29,
- "name": "IFetcher.fetchAssetAddresses"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 28,
- "name": "IFetcher.fetchAssetAddresses"
- }
- },
- {
- "id": 590,
- "name": "fetchAssetMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 184,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 591,
- "name": "fetchAssetMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 184,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 592,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 135,
- "name": "AssetMetadata",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 35,
- "name": "IFetcher.fetchAssetMetadata"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 34,
- "name": "IFetcher.fetchAssetMetadata"
- }
- },
- {
- "id": 593,
- "name": "fetchBlockInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 205,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 594,
- "name": "fetchBlockInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 205,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 595,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 153,
- "name": "BlockInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 38,
- "name": "IFetcher.fetchBlockInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 37,
- "name": "IFetcher.fetchBlockInfo"
- }
- },
- {
- "id": 596,
- "name": "fetchCollectionAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 238,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 597,
- "name": "fetchCollectionAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 238,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 598,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 599,
- "name": "cursor",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 600,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 601,
- "name": "assets",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 241,
- "character": 15
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 602,
- "name": "next",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 241,
- "character": 32
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 601,
- 602
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 241,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 41,
- "name": "IFetcher.fetchCollectionAssets"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 40,
- "name": "IFetcher.fetchCollectionAssets"
- }
- },
- {
- "id": 603,
- "name": "fetchHandleAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 265,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 604,
- "name": "fetchHandleAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 265,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 605,
- "name": "handle",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 48,
- "name": "IFetcher.fetchHandleAddress"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 47,
- "name": "IFetcher.fetchHandleAddress"
- }
- },
- {
- "id": 606,
- "name": "fetchProtocolParameters",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 281,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 607,
- "name": "fetchProtocolParameters",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 281,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 608,
- "name": "epoch",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "Number.NaN"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 51,
- "name": "IFetcher.fetchProtocolParameters"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 50,
- "name": "IFetcher.fetchProtocolParameters"
- }
- },
- {
- "id": 609,
- "name": "fetchTxInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 344,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 610,
- "name": "fetchTxInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 344,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 611,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 268,
- "name": "TransactionInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 54,
- "name": "IFetcher.fetchTxInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 53,
- "name": "IFetcher.fetchTxInfo"
- }
- },
- {
- "id": 612,
- "name": "fetchUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 370,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 613,
- "name": "fetchUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 370,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 614,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 57,
- "name": "IFetcher.fetchUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 56,
- "name": "IFetcher.fetchUTxOs"
- }
- },
- {
- "id": 615,
- "name": "onTxConfirmed",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 386,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 616,
- "name": "onTxConfirmed",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 386,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 617,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 618,
- "name": "callback",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 619,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 386,
- "character": 42
- }
- ],
- "signatures": [
- {
- "id": 620,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 386,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 621,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "100"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 628,
- "name": "resolveScript",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 446,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 629,
- "name": "resolveScript",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 446,
- "character": 26
- }
- ],
- "parameters": [
- {
- "id": 630,
- "name": "utxo",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroUTxO"
- },
- "name": "MaestroUTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 622,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 411,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 623,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 411,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 624,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- },
- {
- "id": 625,
- "name": "toUTxO",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 428,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 626,
- "name": "toUTxO",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 428,
- "character": 19
- }
- ],
- "parameters": [
- {
- "id": 627,
- "name": "utxo",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroUTxO"
- },
- "name": "MaestroUTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 564
- ]
- },
- {
- "title": "Properties",
- "children": [
- 568,
- 567,
- 573
- ]
- },
- {
- "title": "Methods",
- "children": [
- 574,
- 577,
- 580,
- 584,
- 590,
- 593,
- 596,
- 603,
- 606,
- 609,
- 612,
- 615,
- 628,
- 622,
- 625
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 32,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 16,
- "name": "IEvaluator",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 865,
- "name": "MeshTxBuilder",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "MeshTxBuilder is a lower level api for building transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@param",
- "name": "fetcher",
- "content": [
- {
- "kind": "text",
- "text": "an optional parameter for fetching utxo"
- }
- ]
- },
- {
- "tag": "@param",
- "name": "submitter",
- "content": [
- {
- "kind": "text",
- "text": "an optional parameter for submitting transaction"
- }
- ]
- },
- {
- "tag": "@param",
- "name": "evaluator",
- "content": [
- {
- "kind": "text",
- "text": "an optional parameter for evaluating transaction"
- }
- ]
- },
- {
- "tag": "@param",
- "name": "isHydra",
- "content": [
- {
- "kind": "text",
- "text": "an optional parameter for using hydra transaction building for configuring 0 fee in protocol parameters"
- }
- ]
- }
- ]
- },
- "children": [
- {
- "id": 866,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 31,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 867,
- "name": "new MeshTxBuilder",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 31,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 868,
- "name": "__namedParameters",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilderOptions"
- },
- "name": "MeshTxBuilderOptions",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "overwrites": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.constructor"
- }
- },
- {
- "id": 871,
- "name": "_evaluator",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 27,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": 16,
- "name": "IEvaluator",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 869,
- "name": "_fetcher",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 25,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 870,
- "name": "_submitter",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 26,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 908,
- "name": "collateralQueueItem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "target": 1101,
- "name": "PubKeyTxIn",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.collateralQueueItem"
- }
- },
- {
- "id": 904,
- "name": "isHydra",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 54,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false",
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.isHydra"
- }
- },
- {
- "id": 905,
- "name": "meshTxBuilderBody",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 56,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1085,
- "name": "MeshTxBuilderBody",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.meshTxBuilderBody"
- }
- },
- {
- "id": 906,
- "name": "mintItem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 58,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "target": 1171,
- "name": "MintItem",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintItem"
- }
- },
- {
- "id": 872,
- "name": "queriedTxHashes",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 28,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Set"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Set",
- "package": "typescript"
- },
- "defaultValue": "..."
- },
- {
- "id": 873,
- "name": "queriedUTxOs",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 29,
- "character": 10
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 874,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 29,
- "character": 24
- }
- ],
- "indexSignature": {
- "id": 875,
- "name": "__index",
- "variant": "signature",
- "kind": 8192,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 29,
- "character": 26
- }
- ],
- "parameters": [
- {
- "id": 876,
- "name": "x",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- }
- }
- },
- "defaultValue": "{}"
- },
- {
- "id": 909,
- "name": "refScriptTxInQueueItem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 64,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "target": 1158,
- "name": "RefTxIn",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.refScriptTxInQueueItem"
- }
- },
- {
- "id": 902,
- "name": "txBuilder",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 48,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionBuilder"
- },
- "name": "TransactionBuilder",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- },
- "defaultValue": "...",
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txBuilder"
- }
- },
- {
- "id": 903,
- "name": "txEvaluationMultiplier",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "1.1",
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txEvaluationMultiplier"
- }
- },
- {
- "id": 901,
- "name": "txHex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 47,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "''",
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txHex"
- }
- },
- {
- "id": 907,
- "name": "txInQueueItem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isProtected": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 60,
- "character": 12
- }
- ],
- "type": {
- "type": "reference",
- "target": 1100,
- "name": "TxIn",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInQueueItem"
- }
- },
- {
- "id": 1070,
- "name": "addAllCertificates",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1536,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1071,
- "name": "addAllCertificates",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1536,
- "character": 33
- }
- ],
- "parameters": [
- {
- "id": 1072,
- "name": "allCertificates",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1209,
- "name": "Certificate",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.addAllCertificates"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.addAllCertificates"
- }
- },
- {
- "id": 1065,
- "name": "addAllMints",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1341,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1066,
- "name": "addAllMints",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1341,
- "character": 26
- }
- ],
- "parameters": [
- {
- "id": 1067,
- "name": "mints",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1171,
- "name": "MintItem",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.addAllMints"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.addAllMints"
- }
- },
- {
- "id": 1073,
- "name": "addCostModels",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1544,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1074,
- "name": "addCostModels",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1544,
- "character": 28
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.addCostModels"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.addCostModels"
- }
- },
- {
- "id": 1082,
- "name": "castDataToPlutusData",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1635,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1083,
- "name": "castDataToPlutusData",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1635,
- "character": 35
- }
- ],
- "parameters": [
- {
- "id": 1084,
- "name": "__namedParameters",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1191,
- "name": "BuilderData",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "PlutusData"
- },
- "name": "PlutusData",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.castDataToPlutusData"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.castDataToPlutusData"
- }
- },
- {
- "id": 1079,
- "name": "castRawDataToJsonString",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1627,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1080,
- "name": "castRawDataToJsonString",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1627,
- "character": 38
- }
- ],
- "parameters": [
- {
- "id": 1081,
- "name": "rawData",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "object"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "any"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.castRawDataToJsonString"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.castRawDataToJsonString"
- }
- },
- {
- "id": 1039,
- "name": "changeAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 918,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1040,
- "name": "changeAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Configure the address to accept change UTxO"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 918,
- "character": 18
- }
- ],
- "parameters": [
- {
- "id": 1041,
- "name": "addr",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The address to accept change UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.changeAddress"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.changeAddress"
- }
- },
- {
- "id": 877,
- "name": "complete",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 49,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 878,
- "name": "complete",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "It builds the transaction and query the blockchain for missing information"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The signed transaction in hex ready to submit / signed by client"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 49,
- "character": 13
- }
- ],
- "parameters": [
- {
- "id": 879,
- "name": "customizedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The optional customized transaction body"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 1085,
- "name": "MeshTxBuilderBody",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 917,
- "name": "completeSigning",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 132,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 918,
- "name": "completeSigning",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Complete the signing process"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The signed transaction in hex"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 132,
- "character": 20
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.completeSigning"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.completeSigning"
- }
- },
- {
- "id": 914,
- "name": "completeSync",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 119,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 915,
- "name": "completeSync",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "It builds the transaction without dependencies"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The signed transaction in hex ready to submit / signed by client"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 119,
- "character": 17
- }
- ],
- "parameters": [
- {
- "id": 916,
- "name": "customizedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The optional customized transaction body"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 1085,
- "name": "MeshTxBuilderBody",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.completeSync"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.completeSync"
- }
- },
- {
- "id": 889,
- "name": "completeTxInformation",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 129,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 890,
- "name": "completeTxInformation",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 129,
- "character": 34
- }
- ],
- "parameters": [
- {
- "id": 891,
- "name": "input",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1100,
- "name": "TxIn",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 1028,
- "name": "delegateStakeCertificate",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 876,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1029,
- "name": "delegateStakeCertificate",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a stake delegation certificate, and adds it to the transaction\nThis will delegate stake from the corresponding stake address to the pool"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 876,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 1030,
- "name": "stakeKeyHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The keyHash of the stake key"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1031,
- "name": "poolId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "poolId can be in either bech32 or hex form"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.delegateStakeCertificate"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.delegateStakeCertificate"
- }
- },
- {
- "id": 1032,
- "name": "deregisterStakeCertificate",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 890,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1033,
- "name": "deregisterStakeCertificate",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a stake deregister certificate, and adds it to the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 890,
- "character": 31
- }
- ],
- "parameters": [
- {
- "id": 1034,
- "name": "stakeKeyHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The keyHash of the stake key"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.deregisterStakeCertificate"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.deregisterStakeCertificate"
- }
- },
- {
- "id": 912,
- "name": "emptyTxBuilderBody",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 90,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 913,
- "name": "emptyTxBuilderBody",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Make an empty transaction body for building transaction in object"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "An empty transaction body"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 90,
- "character": 23
- }
- ],
- "type": {
- "type": "reference",
- "target": 1085,
- "name": "MeshTxBuilderBody",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.emptyTxBuilderBody"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.emptyTxBuilderBody"
- }
- },
- {
- "id": 883,
- "name": "getUTxOInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 96,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 884,
- "name": "getUTxOInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get the UTxO information from the blockchain"
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 96,
- "character": 24
- }
- ],
- "parameters": [
- {
- "id": 885,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1042,
- "name": "invalidBefore",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 928,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1043,
- "name": "invalidBefore",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the transaction valid interval to be valid only after the slot"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 928,
- "character": 18
- }
- ],
- "parameters": [
- {
- "id": 1044,
- "name": "slot",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction is valid only after this slot"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.invalidBefore"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.invalidBefore"
- }
- },
- {
- "id": 1045,
- "name": "invalidHereafter",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 938,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1046,
- "name": "invalidHereafter",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the transaction valid interval to be valid only before the slot"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 938,
- "character": 21
- }
- ],
- "parameters": [
- {
- "id": 1047,
- "name": "slot",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction is valid only before this slot"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.invalidHereafter"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.invalidHereafter"
- }
- },
- {
- "id": 892,
- "name": "isInputComplete",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 171,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 893,
- "name": "isInputComplete",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 171,
- "character": 28
- }
- ],
- "parameters": [
- {
- "id": 894,
- "name": "txIn",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1100,
- "name": "TxIn",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 895,
- "name": "isInputInfoComplete",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 181,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 896,
- "name": "isInputInfoComplete",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 181,
- "character": 32
- }
- ],
- "parameters": [
- {
- "id": 897,
- "name": "txIn",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1100,
- "name": "TxIn",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 898,
- "name": "isRefScriptInfoComplete",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 190,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 899,
- "name": "isRefScriptInfoComplete",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 190,
- "character": 36
- }
- ],
- "parameters": [
- {
- "id": 900,
- "name": "scriptTxIn",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1129,
- "name": "ScriptTxIn",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 1048,
- "name": "metadataValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 949,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1049,
- "name": "metadataValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Add metadata to the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 949,
- "character": 18
- }
- ],
- "typeParameter": [
- {
- "id": 1050,
- "name": "T",
- "variant": "typeParam",
- "kind": 131072,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- }
- ],
- "parameters": [
- {
- "id": 1051,
- "name": "tag",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The tag of the metadata"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1052,
- "name": "metadata",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The metadata in object format"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 1050,
- "name": "T",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.metadataValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.metadataValue"
- }
- },
- {
- "id": 983,
- "name": "mint",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 684,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 984,
- "name": "mint",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the minting value of transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 684,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 985,
- "name": "quantity",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The quantity of asset to be minted"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 986,
- "name": "policy",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The policy id of the asset to be minted"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 987,
- "name": "name",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The hex of token name of the asset to be minted"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mint"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mint"
- }
- },
- {
- "id": 981,
- "name": "mintPlutusScriptV2",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 672,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 982,
- "name": "mintPlutusScriptV2",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the instruction that it is currently using V2 Plutus minting scripts"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 672,
- "character": 23
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintPlutusScriptV2"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintPlutusScriptV2"
- }
- },
- {
- "id": 1005,
- "name": "mintRedeemerValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 795,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1006,
- "name": "mintRedeemerValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the redeemer for the reference input to be spent in same transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 795,
- "character": 22
- }
- ],
- "parameters": [
- {
- "id": 1007,
- "name": "redeemer",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer in Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1008,
- "name": "exUnits",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The execution units budget for the redeemer"
- }
- ]
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1009,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1010,
- "name": "mem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1011,
- "name": "steps",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1010,
- 1011
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 797,
- "character": 14
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 1012,
- "name": "type",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer data type, either Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mesh"
- },
- {
- "type": "literal",
- "value": "JSON"
- },
- {
- "type": "literal",
- "value": "CBOR"
- }
- ]
- },
- "defaultValue": "'Mesh'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintRedeemerValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintRedeemerValue"
- }
- },
- {
- "id": 997,
- "name": "mintReferenceTxInRedeemerValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 750,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 998,
- "name": "mintReferenceTxInRedeemerValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the redeemer for minting"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 750,
- "character": 35
- }
- ],
- "parameters": [
- {
- "id": 999,
- "name": "redeemer",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer in Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1000,
- "name": "exUnits",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The execution units budget for the redeemer"
- }
- ]
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1001,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1002,
- "name": "mem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1003,
- "name": "steps",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1002,
- 1003
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 752,
- "character": 14
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 1004,
- "name": "type",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer data type, either Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mesh"
- },
- {
- "type": "literal",
- "value": "JSON"
- },
- {
- "type": "literal",
- "value": "CBOR"
- }
- ]
- },
- "defaultValue": "'Mesh'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintReferenceTxInRedeemerValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintReferenceTxInRedeemerValue"
- }
- },
- {
- "id": 992,
- "name": "mintTxInReference",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 720,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 993,
- "name": "mintTxInReference",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Use reference script for minting"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 720,
- "character": 22
- }
- ],
- "parameters": [
- {
- "id": 994,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction hash of the UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 995,
- "name": "txIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction index of the UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 996,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "V1"
- },
- {
- "type": "literal",
- "value": "V2"
- }
- ]
- },
- "defaultValue": "'V2'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintTxInReference"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintTxInReference"
- }
- },
- {
- "id": 988,
- "name": "mintingScript",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 704,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 989,
- "name": "mintingScript",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the minting script of current mint"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 704,
- "character": 18
- }
- ],
- "parameters": [
- {
- "id": 990,
- "name": "scriptCBOR",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The CBOR hex of the minting policy script"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 991,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Optional - The Plutus script version"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "V1"
- },
- {
- "type": "literal",
- "value": "V2"
- }
- ]
- },
- "defaultValue": "'V2'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintingScript"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.mintingScript"
- }
- },
- {
- "id": 1053,
- "name": "protocolParams",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 959,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1054,
- "name": "protocolParams",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the protocol parameters to be used for the transaction other than the default one"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 959,
- "character": 19
- }
- ],
- "parameters": [
- {
- "id": 1055,
- "name": "params",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "(Part of) the protocol parameters to be used for the transaction"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Partial"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Partial",
- "package": "typescript"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.protocolParams"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.protocolParams"
- }
- },
- {
- "id": 886,
- "name": "queryAllTxInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 105,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 887,
- "name": "queryAllTxInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 105,
- "character": 27
- }
- ],
- "parameters": [
- {
- "id": 888,
- "name": "incompleteTxIns",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1100,
- "name": "TxIn",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1068,
- "name": "queueAllLastItem",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1519,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1069,
- "name": "queueAllLastItem",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1519,
- "character": 31
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.queueAllLastItem"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.queueAllLastItem"
- }
- },
- {
- "id": 977,
- "name": "readOnlyTxInReference",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 663,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 978,
- "name": "readOnlyTxInReference",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Specify a read only reference input. This reference input is not witnessing anything it is simply provided in the plutus script context."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 663,
- "character": 26
- }
- ],
- "parameters": [
- {
- "id": 979,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction hash of the reference UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 980,
- "name": "txIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction index of the reference UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.readOnlyTxInReference"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.readOnlyTxInReference"
- }
- },
- {
- "id": 1022,
- "name": "registerPoolCertificate",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 848,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1023,
- "name": "registerPoolCertificate",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a pool registration certificate, and adds it to the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 848,
- "character": 28
- }
- ],
- "parameters": [
- {
- "id": 1024,
- "name": "poolParams",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Parameters for pool registration"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 209,
- "name": "PoolParams",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.registerPoolCertificate"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.registerPoolCertificate"
- }
- },
- {
- "id": 1025,
- "name": "registerStakeCertificate",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 861,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1026,
- "name": "registerStakeCertificate",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a stake registration certificate, and adds it to the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 861,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 1027,
- "name": "stakeKeyHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The keyHash of the stake key"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.registerStakeCertificate"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.registerStakeCertificate"
- }
- },
- {
- "id": 1063,
- "name": "removeDuplicateInputs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1117,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1064,
- "name": "removeDuplicateInputs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1117,
- "character": 36
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.removeDuplicateInputs"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.removeDuplicateInputs"
- }
- },
- {
- "id": 1013,
- "name": "requiredSignerHash",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 809,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1014,
- "name": "requiredSignerHash",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the required signer of the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 809,
- "character": 23
- }
- ],
- "parameters": [
- {
- "id": 1015,
- "name": "pubKeyHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The PubKeyHash of the required signer"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.requiredSignerHash"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.requiredSignerHash"
- }
- },
- {
- "id": 910,
- "name": "reset",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 70,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 911,
- "name": "reset",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Reset everything in the MeshTxBuilder instance"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 70,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.reset"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.reset"
- }
- },
- {
- "id": 1035,
- "name": "retirePoolCertificate",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 904,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1036,
- "name": "retirePoolCertificate",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Creates a pool retire certificate, and adds it to the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 904,
- "character": 26
- }
- ],
- "parameters": [
- {
- "id": 1037,
- "name": "poolId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "poolId can be in either bech32 or hex form"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1038,
- "name": "epoch",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The intended epoch to retire the pool"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.retirePoolCertificate"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.retirePoolCertificate"
- }
- },
- {
- "id": 1059,
- "name": "selectUtxosFrom",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 981,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1060,
- "name": "selectUtxosFrom",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "EXPERIMENTAL - Selects utxos to fill output value and puts them into inputs"
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 981,
- "character": 20
- }
- ],
- "parameters": [
- {
- "id": 1061,
- "name": "extraInputs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The inputs already placed into the object will remain, these extra inputs will be used to fill the remaining value needed"
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1062,
- "name": "threshold",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Extra value needed to be selected for, usually for paying fees and min UTxO value of change output"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "5000000"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.selectUtxosFrom"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.selectUtxosFrom"
- }
- },
- {
- "id": 1056,
- "name": "signingKey",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 971,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1057,
- "name": "signingKey",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sign the transaction with the private key"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": []
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 971,
- "character": 15
- }
- ],
- "parameters": [
- {
- "id": 1058,
- "name": "skeyHex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The private key in cborHex (with or without 5820 prefix, i.e. the format when generated from cardano-cli)"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.signingKey"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.signingKey"
- }
- },
- {
- "id": 959,
- "name": "spendingPlutusScriptV2",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 587,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 960,
- "name": "spendingPlutusScriptV2",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the instruction that it is currently using V2 Plutus spending scripts"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 587,
- "character": 27
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingPlutusScriptV2"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingPlutusScriptV2"
- }
- },
- {
- "id": 967,
- "name": "spendingReferenceTxInInlineDatumPresent",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 636,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 968,
- "name": "spendingReferenceTxInInlineDatumPresent",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "[Alias of txInInlineDatumPresent] Set the instruction that the reference input has inline datum"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 636,
- "character": 44
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingReferenceTxInInlineDatumPresent"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingReferenceTxInInlineDatumPresent"
- }
- },
- {
- "id": 969,
- "name": "spendingReferenceTxInRedeemerValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 648,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 970,
- "name": "spendingReferenceTxInRedeemerValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "[Alias of txInRedeemerValue] Set the redeemer for the reference input to be spent in same transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 648,
- "character": 39
- }
- ],
- "parameters": [
- {
- "id": 971,
- "name": "redeemer",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer in Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 972,
- "name": "exUnits",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The execution units budget for the redeemer"
- }
- ]
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 973,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 974,
- "name": "mem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 975,
- "name": "steps",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 974,
- 975
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 650,
- "character": 14
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 976,
- "name": "type",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer data type, either Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mesh"
- },
- {
- "type": "literal",
- "value": "JSON"
- },
- {
- "type": "literal",
- "value": "CBOR"
- }
- ]
- },
- "defaultValue": "'Mesh'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingReferenceTxInRedeemerValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingReferenceTxInRedeemerValue"
- }
- },
- {
- "id": 961,
- "name": "spendingTxInReference",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 603,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 962,
- "name": "spendingTxInReference",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the reference input where it would also be spent in the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 603,
- "character": 26
- }
- ],
- "parameters": [
- {
- "id": 963,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction hash of the reference UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 964,
- "name": "txIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction index of the reference UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 965,
- "name": "spendingScriptHash",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The script hash of the spending script"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 966,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "V1"
- },
- {
- "type": "literal",
- "value": "V2"
- }
- ]
- },
- "defaultValue": "'V2'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingTxInReference"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.spendingTxInReference"
- }
- },
- {
- "id": 880,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 87,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 881,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Submit transactions to the blockchain using the fetcher instance"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": []
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 87,
- "character": 13
- }
- ],
- "parameters": [
- {
- "id": 882,
- "name": "txHex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The signed transaction in hex"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 919,
- "name": "txIn",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 269,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 920,
- "name": "txIn",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the input for transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 269,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 921,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction hash of the input UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 922,
- "name": "txIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction index of the input UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 923,
- "name": "amount",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The asset amount of index of the input UTxO"
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 924,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The address of the input UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txIn"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txIn"
- }
- },
- {
- "id": 1016,
- "name": "txInCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 822,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1017,
- "name": "txInCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the collateral UTxO for the transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 822,
- "character": 19
- }
- ],
- "parameters": [
- {
- "id": 1018,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction hash of the collateral UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1019,
- "name": "txIndex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The transaction index of the collateral UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1020,
- "name": "amount",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The asset amount of index of the collateral UTxO"
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1021,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The address of the collateral UTxO"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInCollateral"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInCollateral"
- }
- },
- {
- "id": 929,
- "name": "txInDatumValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 343,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 930,
- "name": "txInDatumValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the input datum for transaction input"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 343,
- "character": 19
- }
- ],
- "parameters": [
- {
- "id": 931,
- "name": "datum",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The datum in Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 932,
- "name": "type",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The datum type, either Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mesh"
- },
- {
- "type": "literal",
- "value": "JSON"
- },
- {
- "type": "literal",
- "value": "CBOR"
- }
- ]
- },
- "defaultValue": "'Mesh'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInDatumValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInDatumValue"
- }
- },
- {
- "id": 933,
- "name": "txInInlineDatumPresent",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 383,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 934,
- "name": "txInInlineDatumPresent",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Tell the transaction builder that the input UTxO has inlined datum"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 383,
- "character": 27
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInInlineDatumPresent"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInInlineDatumPresent"
- }
- },
- {
- "id": 935,
- "name": "txInRedeemerValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 439,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 936,
- "name": "txInRedeemerValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the redeemer for the reference input to be spent in same transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 439,
- "character": 22
- }
- ],
- "parameters": [
- {
- "id": 937,
- "name": "redeemer",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer in Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 938,
- "name": "exUnits",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The execution units budget for the redeemer"
- }
- ]
- },
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 939,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 940,
- "name": "mem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 941,
- "name": "steps",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 940,
- 941
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 441,
- "character": 14
- }
- ]
- }
- },
- "defaultValue": "..."
- },
- {
- "id": 942,
- "name": "type",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The redeemer data type, either Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mesh"
- },
- {
- "type": "literal",
- "value": "JSON"
- },
- {
- "type": "literal",
- "value": "CBOR"
- }
- ]
- },
- "defaultValue": "'Mesh'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInRedeemerValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInRedeemerValue"
- }
- },
- {
- "id": 925,
- "name": "txInScript",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 310,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 926,
- "name": "txInScript",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the script for transaction input"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 310,
- "character": 15
- }
- ],
- "parameters": [
- {
- "id": 927,
- "name": "scriptCbor",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The CborHex of the script"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 928,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Optional - The Plutus script version"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "V1"
- },
- {
- "type": "literal",
- "value": "V2"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInScript"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txInScript"
- }
- },
- {
- "id": 943,
- "name": "txOut",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 483,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 944,
- "name": "txOut",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the output for transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 483,
- "character": 10
- }
- ],
- "parameters": [
- {
- "id": 945,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The recipient of the output"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 946,
- "name": "amount",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The amount of other native assets attached with UTxO"
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOut"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOut"
- }
- },
- {
- "id": 947,
- "name": "txOutDatumHashValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 501,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 948,
- "name": "txOutDatumHashValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the output datum hash for transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 501,
- "character": 24
- }
- ],
- "parameters": [
- {
- "id": 949,
- "name": "datum",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The datum in Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 950,
- "name": "type",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The datum type, either Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mesh"
- },
- {
- "type": "literal",
- "value": "JSON"
- },
- {
- "type": "literal",
- "value": "CBOR"
- }
- ]
- },
- "defaultValue": "'Mesh'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOutDatumHashValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOutDatumHashValue"
- }
- },
- {
- "id": 951,
- "name": "txOutInlineDatumValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 537,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 952,
- "name": "txOutInlineDatumValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the output inline datum for transaction"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 537,
- "character": 26
- }
- ],
- "parameters": [
- {
- "id": 953,
- "name": "datum",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The datum in Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 954,
- "name": "type",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The datum type, either Mesh Data type, JSON in raw constructor like format, or CBOR hex string"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mesh"
- },
- {
- "type": "literal",
- "value": "JSON"
- },
- {
- "type": "literal",
- "value": "CBOR"
- }
- ]
- },
- "defaultValue": "'Mesh'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOutInlineDatumValue"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOutInlineDatumValue"
- }
- },
- {
- "id": 955,
- "name": "txOutReferenceScript",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 573,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 956,
- "name": "txOutReferenceScript",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the reference script to be attached with the output"
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The MeshTxBuilder instance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 573,
- "character": 25
- }
- ],
- "parameters": [
- {
- "id": 957,
- "name": "scriptCbor",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The CBOR hex of the script to be attached to UTxO as reference script"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 958,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Optional - The Plutus script version"
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "V1"
- },
- {
- "type": "literal",
- "value": "V2"
- }
- ]
- },
- "defaultValue": "'V2'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 865,
- "name": "MeshTxBuilder",
- "package": "@meshsdk/core"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOutReferenceScript"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.txOutReferenceScript"
- }
- },
- {
- "id": 1075,
- "name": "updateRedeemer",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isProtected": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1587,
- "character": 12
- }
- ],
- "signatures": [
- {
- "id": 1076,
- "name": "updateRedeemer",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "line": 1587,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 1077,
- "name": "meshTxBuilderBody",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1085,
- "name": "MeshTxBuilderBody",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1078,
- "name": "txEvaluation",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Omit"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 109,
- "name": "Action",
- "package": "@meshsdk/core"
- },
- {
- "type": "literal",
- "value": "data"
- }
- ],
- "name": "Omit",
- "package": "typescript"
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.updateRedeemer"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "target": -1,
- "name": "MeshTxBuilderCore.updateRedeemer"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 866
- ]
- },
- {
- "title": "Properties",
- "children": [
- 871,
- 869,
- 870,
- 908,
- 904,
- 905,
- 906,
- 872,
- 873,
- 909,
- 902,
- 903,
- 901,
- 907
- ]
- },
- {
- "title": "Methods",
- "children": [
- 1070,
- 1065,
- 1073,
- 1082,
- 1079,
- 1039,
- 877,
- 917,
- 914,
- 889,
- 1028,
- 1032,
- 912,
- 883,
- 1042,
- 1045,
- 892,
- 895,
- 898,
- 1048,
- 983,
- 981,
- 1005,
- 997,
- 992,
- 988,
- 1053,
- 886,
- 1068,
- 977,
- 1022,
- 1025,
- 1063,
- 1013,
- 910,
- 1035,
- 1059,
- 1056,
- 959,
- 967,
- 969,
- 961,
- 880,
- 919,
- 1016,
- 929,
- 933,
- 935,
- 925,
- 943,
- 947,
- 951,
- 955,
- 1075
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "line": 24,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore"
- },
- "name": "MeshTxBuilderCore",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 1481,
- "name": "MeshWallet",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Mesh Wallet provides a set of APIs to interact with the blockchain. This wallet is compatible with Mesh transaction builders.\n\nIt is a single address wallet, a wrapper around the AppWallet class.\n\n"
- },
- {
- "kind": "code",
- "text": "```javascript\nimport { MeshWallet, BlockfrostProvider } from '@meshsdk/core';\n\nconst blockchainProvider = new BlockfrostProvider('');\n\nconst wallet = new MeshWallet({\n networkId: 0,\n fetcher: blockchainProvider,\n submitter: blockchainProvider,\n key: {\n type: 'mnemonic',\n words: [\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\",\"solution\"],\n },\n});\n```"
- }
- ]
- },
- "children": [
- {
- "id": 1486,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 70,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1487,
- "name": "new MeshWallet",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 70,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1488,
- "name": "options",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 1465,
- "name": "CreateMeshWalletOptions",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 1481,
- "name": "MeshWallet",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 1490,
- "name": "_network",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 68,
- "character": 19
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1489,
- "name": "_wallet",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 67,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": 1247,
- "name": "AppWallet",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1536,
- "name": "createCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 393,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1537,
- "name": "createCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to create a collateral input for a transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a transaction hash"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 393,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1527,
- "name": "getAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 334,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1528,
- "name": "getAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the assets in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of assets"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 334,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 128,
- "name": "AssetExtended",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1491,
- "name": "getBalance",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 117,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1492,
- "name": "getBalance",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of assets in the wallet. This API will return every assets in the wallet. Each asset is an object with the following properties:\n- A unit is provided to display asset's name on the user interface.\n- A quantity is provided to display asset's quantity on the user interface."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of assets and their quantities"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 117,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1493,
- "name": "getChangeAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 147,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1494,
- "name": "getChangeAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns an address owned by the wallet that should be used as a change address to return leftover assets during transaction creation back to the connected wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "an address"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 147,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 1495,
- "name": "getCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 159,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1496,
- "name": "getCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "This function shall return a list of one or more UTXOs (unspent transaction outputs) controlled by the wallet that are required to reach AT LEAST the combined ADA value target specified in amount AND the best suitable to be used as collateral inputs for transactions with plutus script inputs (pure ADA-only UTXOs).\n\nIf this cannot be attained, an error message with an explanation of the blocking problem shall be returned. NOTE: wallets are free to return UTXOs that add up to a greater total ADA value than requested in the amount parameter, but wallets must never return any result where UTXOs would sum up to a smaller total ADA value, instead in a case like that an error message must be returned."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 159,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1529,
- "name": "getLovelace",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 358,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1530,
- "name": "getLovelace",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the lovelace balance in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "lovelace balance"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 358,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1497,
- "name": "getNetworkId",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 193,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1498,
- "name": "getNetworkId",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns the network ID of the currently connected account. 0 is testnet and 1 is mainnet but other networks can possibly be returned by wallets. Those other network ID values are not governed by CIP-30. This result will stay the same unless the connected account has changed."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "network ID"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 193,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ]
- },
- {
- "id": 1531,
- "name": "getPolicyIdAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 371,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1532,
- "name": "getPolicyIdAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the assets of a specific policy ID in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of assets"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 371,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1533,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 128,
- "name": "AssetExtended",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1534,
- "name": "getPolicyIds",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 381,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1535,
- "name": "getPolicyIds",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "A helper function to get the policy IDs of all the assets in the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of policy IDs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 381,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1499,
- "name": "getRewardAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 202,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1500,
- "name": "getRewardAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of reward addresses owned by the wallet. A reward address is a stake address that is used to receive rewards from staking, generally starts from "
- },
- {
- "kind": "code",
- "text": "`stake`"
- },
- {
- "kind": "text",
- "text": " prefix."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of reward addresses"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 202,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1501,
- "name": "getUnusedAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 211,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1502,
- "name": "getUnusedAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of unused addresses controlled by the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of unused addresses"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 211,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ]
- },
- {
- "id": 1521,
- "name": "getUsedAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 297,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1522,
- "name": "getUsedAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get a used address of type Address from the wallet.\n\nThis is used in transaction building."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "an Address object"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 297,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Address"
- },
- "name": "Address",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- },
- "implementationOf": {
- "type": "reference",
- "target": 61,
- "name": "IInitiator.getUsedAddress"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 60,
- "name": "IInitiator.getUsedAddress"
- }
- },
- {
- "id": 1503,
- "name": "getUsedAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 221,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1504,
- "name": "getUsedAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Returns a list of used addresses controlled by the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of used addresses"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 221,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1523,
- "name": "getUsedCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 308,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1524,
- "name": "getUsedCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get a list of UTXOs to be used as collateral inputs for transactions with plutus script inputs.\n\nThis is used in transaction building."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 308,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 63,
- "name": "IInitiator.getUsedCollateral"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 62,
- "name": "IInitiator.getUsedCollateral"
- }
- },
- {
- "id": 1525,
- "name": "getUsedUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 325,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1526,
- "name": "getUsedUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Get a list of UTXOs to be used for transaction building.\n\nThis is used in transaction building."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 325,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 66,
- "name": "IInitiator.getUsedUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 65,
- "name": "IInitiator.getUsedUTxOs"
- }
- },
- {
- "id": 1505,
- "name": "getUtxos",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 231,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1506,
- "name": "getUtxos",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Return a list of all UTXOs (unspent transaction outputs) controlled by the wallet."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a list of UTXOs"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 231,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 1507,
- "name": "signData",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 245,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 1508,
- "name": "signData",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "This endpoint utilizes the [CIP-8 - Message Signing](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0030) to sign arbitrary data, to verify the data was signed by the owner of the private key.\n\nHere, we get the first wallet's address with wallet.getUsedAddresses(), alternativelly you can use reward addresses (getRewardAddresses()) too. It's really up to you as the developer which address you want to use in your application."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a signature"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 245,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 1509,
- "name": "payload",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 174,
- "name": "DataSignature",
- "package": "@meshsdk/core"
- },
- "implementationOf": {
- "type": "reference",
- "target": 77,
- "name": "ISigner.signData"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 76,
- "name": "ISigner.signData"
- }
- },
- {
- "id": 1510,
- "name": "signTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 256,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1511,
- "name": "signTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Requests user to sign the provided transaction (tx). The wallet should ask the user for permission, and if given, try to sign the supplied body and return a signed transaction. partialSign should be true if the transaction provided requires multiple signatures."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a signed transaction in CBOR"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 256,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1512,
- "name": "unsignedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1513,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 81,
- "name": "ISigner.signTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 80,
- "name": "ISigner.signTx"
- }
- },
- {
- "id": 1514,
- "name": "signTxs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 267,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1515,
- "name": "signTxs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Experimental feature - sign multiple transactions at once."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "array of signed transactions CborHex string"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 267,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1516,
- "name": "unsignedTxs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "array of unsigned transactions in CborHex string"
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 1517,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "if the transactions are signed partially"
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 85,
- "name": "ISigner.signTxs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 84,
- "name": "ISigner.signTxs"
- }
- },
- {
- "id": 1518,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 286,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 1519,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Submits the signed transaction to the blockchain network.\n\nAs wallets should already have this ability to submit transaction, we allow dApps to request that a transaction be sent through it. If the wallet accepts the transaction and tries to send it, it shall return the transaction ID for the dApp to track. The wallet can return error messages or failure if there was an error in sending it."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "a transaction hash"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 286,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 1520,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- },
- {
- "id": 1482,
- "name": "brew",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 404,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 1483,
- "name": "brew",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 404,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 1484,
- "name": "privateKey",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 1485,
- "name": "strength",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "256"
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 1486
- ]
- },
- {
- "title": "Properties",
- "children": [
- 1490,
- 1489
- ]
- },
- {
- "title": "Methods",
- "children": [
- 1536,
- 1527,
- 1491,
- 1493,
- 1495,
- 1529,
- 1497,
- 1531,
- 1534,
- 1499,
- 1501,
- 1521,
- 1503,
- 1523,
- 1525,
- 1505,
- 1507,
- 1510,
- 1514,
- 1518,
- 1482
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 66,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 59,
- "name": "IInitiator",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 75,
- "name": "ISigner",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 530,
- "name": "OgmiosProvider",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "children": [
- {
- "id": 531,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 8,
- "character": 2
- },
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 9,
- "character": 2
- },
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 11,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 532,
- "name": "new OgmiosProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 8,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 533,
- "name": "baseUrl",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 530,
- "name": "OgmiosProvider",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 534,
- "name": "new OgmiosProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 9,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 535,
- "name": "network",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "testnet"
- },
- {
- "type": "literal",
- "value": "preview"
- },
- {
- "type": "literal",
- "value": "preprod"
- },
- {
- "type": "literal",
- "value": "mainnet"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 530,
- "name": "OgmiosProvider",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 536,
- "name": "_baseUrl",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 6,
- "character": 19
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 537,
- "name": "evaluateTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 17,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 538,
- "name": "evaluateTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 17,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 539,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Omit"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 109,
- "name": "Action",
- "package": "@meshsdk/core"
- },
- {
- "type": "literal",
- "value": "data"
- }
- ],
- "name": "Omit",
- "package": "typescript"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 18,
- "name": "IEvaluator.evaluateTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 17,
- "name": "IEvaluator.evaluateTx"
- }
- },
- {
- "id": 540,
- "name": "onNextTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 54,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 541,
- "name": "onNextTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 54,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 542,
- "name": "callback",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 543,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 54,
- "character": 27
- }
- ],
- "signatures": [
- {
- "id": 544,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 54,
- "character": 27
- }
- ],
- "parameters": [
- {
- "id": 545,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 546,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 54,
- "character": 59
- }
- ],
- "signatures": [
- {
- "id": 547,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 54,
- "character": 59
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 551,
- "name": "open",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 102,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 552,
- "name": "open",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 102,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts",
- "qualifiedName": "WebSocket"
- },
- "name": "WebSocket",
- "package": "typescript"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 553,
- "name": "send",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 112,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 554,
- "name": "send",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 112,
- "character": 10
- }
- ],
- "parameters": [
- {
- "id": 555,
- "name": "client",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts",
- "qualifiedName": "WebSocket"
- },
- "name": "WebSocket",
- "package": "typescript"
- }
- },
- {
- "id": 556,
- "name": "methodname",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 557,
- "name": "args",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 548,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 76,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 549,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 76,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 550,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 531
- ]
- },
- {
- "title": "Properties",
- "children": [
- 536
- ]
- },
- {
- "title": "Methods",
- "children": [
- 537,
- 540,
- 551,
- 553,
- 548
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/ogmios.provider.ts",
- "line": 5,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 16,
- "name": "IEvaluator",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 716,
- "name": "Transaction",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "children": [
- {
- "id": 737,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 84,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 738,
- "name": "new Transaction",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 84,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 739,
- "name": "options",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Partial"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "CreateTxOptions"
- },
- "name": "CreateTxOptions",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Partial",
- "package": "typescript"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 740,
- "name": "_changeAddress",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 69,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Address"
- },
- "name": "Address",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 745,
- "name": "_era",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 75,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": 178,
- "name": "Era",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 746,
- "name": "_initiator",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isOptional": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 76,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": 59,
- "name": "IInitiator",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 747,
- "name": "_mintBuilder",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 77,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "MintBuilder"
- },
- "name": "MintBuilder",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 748,
- "name": "_protocolParameters",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 78,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 742,
- "name": "_recipients",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 71,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Map"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 246,
- "name": "Recipient",
- "package": "@meshsdk/core"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Map",
- "package": "typescript"
- },
- "defaultValue": "..."
- },
- {
- "id": 743,
- "name": "_totalBurns",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 72,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Map"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Map",
- "package": "typescript"
- },
- "defaultValue": "..."
- },
- {
- "id": 744,
- "name": "_totalMints",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 73,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Map"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "target": 179,
- "name": "Mint",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Map",
- "package": "typescript"
- },
- "defaultValue": "..."
- },
- {
- "id": 749,
- "name": "_txBuilder",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 79,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionBuilder"
- },
- "name": "TransactionBuilder",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 750,
- "name": "_txCertificates",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 80,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Certificates"
- },
- "name": "Certificates",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 751,
- "name": "_txInputsBuilder",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 81,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TxInputsBuilder"
- },
- "name": "TxInputsBuilder",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 741,
- "name": "_txOutputs",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 70,
- "character": 10
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Map"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Map",
- "package": "typescript"
- },
- "defaultValue": "..."
- },
- {
- "id": 752,
- "name": "_txWithdrawals",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 82,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Withdrawals"
- },
- "name": "Withdrawals",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- },
- {
- "id": 753,
- "name": "size",
- "variant": "declaration",
- "kind": 262144,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 185,
- "character": 6
- }
- ],
- "getSignature": {
- "id": 754,
- "name": "size",
- "variant": "signature",
- "kind": 524288,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 185,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- },
- {
- "id": 842,
- "name": "addBurnInputsIfNeeded",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 682,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 843,
- "name": "addBurnInputsIfNeeded",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 682,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 844,
- "name": "addChangeAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 704,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 845,
- "name": "addChangeAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 704,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 846,
- "name": "addCollateralIfNeeded",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 713,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 847,
- "name": "addCollateralIfNeeded",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 713,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 857,
- "name": "addMintOutputs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 861,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 858,
- "name": "addMintOutputs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 861,
- "character": 10
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 848,
- "name": "addRequiredSignersIfNeeded",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 720,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 849,
- "name": "addRequiredSignersIfNeeded",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 720,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 850,
- "name": "addTxInputsAsNeeded",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 728,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 851,
- "name": "addTxInputsAsNeeded",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 728,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 755,
- "name": "build",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 189,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 756,
- "name": "build",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 189,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 757,
- "name": "burnAsset",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 211,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 758,
- "name": "burnAsset",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 211,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 759,
- "name": "forgeScript",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- ]
- }
- },
- {
- "id": 760,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 761,
- "name": "redeemer",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Partial"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 109,
- "name": "Action",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Partial",
- "package": "typescript"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 762,
- "name": "delegateStake",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 233,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 763,
- "name": "delegateStake",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 233,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 764,
- "name": "rewardAddress",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 765,
- "name": "poolId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 766,
- "name": "deregisterStake",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 248,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 767,
- "name": "deregisterStake",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 248,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 768,
- "name": "rewardAddress",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 854,
- "name": "filterAvailableUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 847,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 855,
- "name": "filterAvailableUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 847,
- "character": 16
- }
- ],
- "parameters": [
- {
- "id": 856,
- "name": "selectedUTxOs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- },
- "defaultValue": "[]"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 852,
- "name": "forgeAssetsIfNeeded",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 778,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 853,
- "name": "forgeAssetsIfNeeded",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 778,
- "character": 16
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "void"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 769,
- "name": "mintAsset",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 263,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 770,
- "name": "mintAsset",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 263,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 771,
- "name": "forgeScript",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- ]
- }
- },
- {
- "id": 772,
- "name": "mint",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 179,
- "name": "Mint",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 773,
- "name": "redeemer",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Partial"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 109,
- "name": "Action",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Partial",
- "package": "typescript"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 859,
- "name": "notVisited",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 882,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 860,
- "name": "notVisited",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 882,
- "character": 10
- }
- ],
- "parameters": [
- {
- "id": 861,
- "name": "checkpoint",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 774,
- "name": "redeemValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 339,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 775,
- "name": "redeemValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 339,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 776,
- "name": "options",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 777,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 780,
- "name": "datum",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 342,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- ]
- }
- },
- {
- "id": 781,
- "name": "redeemer",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 343,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "target": 109,
- "name": "Action",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 779,
- "name": "script",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 341,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- ]
- }
- },
- {
- "id": 778,
- "name": "value",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 340,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 780,
- 781,
- 779,
- 778
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 339,
- "character": 23
- }
- ]
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 785,
- "name": "registerPool",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 392,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 786,
- "name": "registerPool",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 392,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 787,
- "name": "params",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 209,
- "name": "PoolParams",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 782,
- "name": "registerStake",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 378,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 783,
- "name": "registerStake",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 378,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 784,
- "name": "rewardAddress",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 788,
- "name": "retirePool",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 402,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 789,
- "name": "retirePool",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 402,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 790,
- "name": "poolId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 791,
- "name": "epochNo",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 792,
- "name": "sendAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 421,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 793,
- "name": "sendAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Adds an output to the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The transaction builder."
- }
- ]
- },
- {
- "tag": "@see",
- "content": [
- {
- "kind": "inline-tag",
- "tag": "@link",
- "text": "https://meshjs.dev/apis/transaction#sendAssets",
- "target": "https://meshjs.dev/apis/transaction#sendAssets"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 421,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 794,
- "name": "recipient",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The recipient of the output."
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 246,
- "name": "Recipient",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 795,
- "name": "assets",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The assets to send."
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 796,
- "name": "sendLovelace",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 457,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 797,
- "name": "sendLovelace",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Adds a transaction output to the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- },
- {
- "tag": "@see",
- "content": [
- {
- "kind": "inline-tag",
- "tag": "@link",
- "text": "https://meshjs.dev/apis/transaction#sendAda",
- "target": "https://meshjs.dev/apis/transaction#sendAda"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 457,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 798,
- "name": "recipient",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The recipient of the transaction."
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 246,
- "name": "Recipient",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 799,
- "name": "lovelace",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The amount of lovelace to send."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 800,
- "name": "sendToken",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 483,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 801,
- "name": "sendToken",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Adds stable coins transaction output to the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- },
- {
- "tag": "@see",
- "content": [
- {
- "kind": "inline-tag",
- "tag": "@link",
- "text": "https://meshjs.dev/apis/transaction#sendToken",
- "target": "https://meshjs.dev/apis/transaction#sendToken"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 483,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 802,
- "name": "recipient",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The recipient of the transaction."
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 246,
- "name": "Recipient",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 803,
- "name": "ticker",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The ticker of the token to send."
- }
- ]
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "LQ"
- },
- {
- "type": "literal",
- "value": "MIN"
- },
- {
- "type": "literal",
- "value": "NTX"
- },
- {
- "type": "literal",
- "value": "iBTC"
- },
- {
- "type": "literal",
- "value": "iETH"
- },
- {
- "type": "literal",
- "value": "iUSD"
- },
- {
- "type": "literal",
- "value": "MILK"
- },
- {
- "type": "literal",
- "value": "AGIX"
- },
- {
- "type": "literal",
- "value": "MELD"
- },
- {
- "type": "literal",
- "value": "INDY"
- },
- {
- "type": "literal",
- "value": "CLAY"
- },
- {
- "type": "literal",
- "value": "MCOS"
- },
- {
- "type": "literal",
- "value": "DING"
- },
- {
- "type": "literal",
- "value": "GERO"
- },
- {
- "type": "literal",
- "value": "NMKR"
- },
- {
- "type": "literal",
- "value": "PAVIA"
- },
- {
- "type": "literal",
- "value": "HOSKY"
- },
- {
- "type": "literal",
- "value": "YUMMI"
- },
- {
- "type": "literal",
- "value": "C3"
- },
- {
- "type": "literal",
- "value": "GIMBAL"
- },
- {
- "type": "literal",
- "value": "SUNDAE"
- },
- {
- "type": "literal",
- "value": "GREENS"
- },
- {
- "type": "literal",
- "value": "GENS"
- },
- {
- "type": "literal",
- "value": "SOCIETY"
- },
- {
- "type": "literal",
- "value": "DJED"
- },
- {
- "type": "literal",
- "value": "SHEN"
- },
- {
- "type": "literal",
- "value": "WMT"
- },
- {
- "type": "literal",
- "value": "COPI"
- }
- ]
- }
- },
- {
- "id": 804,
- "name": "amount",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The amount of the token to send."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 805,
- "name": "sendValue",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 502,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 806,
- "name": "sendValue",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Adds an output to the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 502,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 807,
- "name": "recipient",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The recipient of the output."
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 246,
- "name": "Recipient",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 808,
- "name": "value",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The UTxO value of the output."
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 809,
- "name": "setChangeAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 523,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 810,
- "name": "setChangeAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the change address for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 523,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 811,
- "name": "changeAddress",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The change address."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 812,
- "name": "setCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 536,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 813,
- "name": "setCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the collateral for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 536,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 814,
- "name": "collateral",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the UTxO for collateral."
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 815,
- "name": "setMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 552,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 816,
- "name": "setMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Add a JSON metadata entry to the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- },
- {
- "tag": "@see",
- "content": [
- {
- "kind": "inline-tag",
- "tag": "@link",
- "text": "https://meshjs.dev/apis/transaction#setMetadata",
- "target": "https://meshjs.dev/apis/transaction#setMetadata"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 552,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 817,
- "name": "key",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The key to use for the metadata entry."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 818,
- "name": "value",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The value to use for the metadata entry."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 822,
- "name": "setNativeScriptInput",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 595,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 823,
- "name": "setNativeScriptInput",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the native script for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 595,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 824,
- "name": "script",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The native script to spend from."
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 825,
- "name": "utxo",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The UTxO attached to the script."
- }
- ]
- },
- "type": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 819,
- "name": "setRequiredSigners",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 569,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 820,
- "name": "setRequiredSigners",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the required signers for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 569,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 821,
- "name": "addresses",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The addresses of the required signers."
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 829,
- "name": "setTimeToExpire",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 629,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 830,
- "name": "setTimeToExpire",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the time to live for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- },
- {
- "tag": "@see",
- "content": [
- {
- "kind": "inline-tag",
- "tag": "@link",
- "text": "https://meshjs.dev/apis/transaction#setTimeLimit",
- "target": "https://meshjs.dev/apis/transaction#setTimeLimit"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 629,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 831,
- "name": "slot",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The slot number to expire the transaction at."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 826,
- "name": "setTimeToStart",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 614,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 827,
- "name": "setTimeToStart",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the start slot for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The Transaction object."
- }
- ]
- },
- {
- "tag": "@see",
- "content": [
- {
- "kind": "inline-tag",
- "tag": "@link",
- "text": "https://meshjs.dev/apis/transaction#setTimeLimit",
- "target": "https://meshjs.dev/apis/transaction#setTimeLimit"
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 614,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 828,
- "name": "slot",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The start slot for the transaction."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 832,
- "name": "setTxInputs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 642,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 833,
- "name": "setTxInputs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the inputs for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The transaction."
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 642,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 834,
- "name": "inputs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The inputs to set."
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 862,
- "name": "setTxOutput",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 889,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 863,
- "name": "setTxOutput",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 889,
- "character": 10
- }
- ],
- "parameters": [
- {
- "id": 864,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- },
- {
- "id": 835,
- "name": "setTxRefInputs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 662,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 836,
- "name": "setTxRefInputs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Sets the reference inputs for the transaction."
- }
- ],
- "blockTags": [
- {
- "tag": "@returns",
- "content": [
- {
- "kind": "text",
- "text": "The transaction."
- }
- ]
- }
- ]
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 662,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 837,
- "name": "inputs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The reference inputs to set."
- }
- ]
- },
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 838,
- "name": "withdrawRewards",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 672,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 839,
- "name": "withdrawRewards",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 672,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 840,
- "name": "rewardAddress",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 841,
- "name": "lovelace",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 716,
- "name": "Transaction",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 717,
- "name": "attachMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 96,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 718,
- "name": "attachMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 96,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 719,
- "name": "cborTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 720,
- "name": "cborTxMetadata",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 721,
- "name": "era",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 178,
- "name": "Era",
- "package": "@meshsdk/core"
- },
- "defaultValue": "'BABBAGE'"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 722,
- "name": "deattachMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 122,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 723,
- "name": "deattachMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 122,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 724,
- "name": "cborTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 725,
- "name": "maskMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 128,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 726,
- "name": "maskMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 128,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 727,
- "name": "cborTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 728,
- "name": "era",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 178,
- "name": "Era",
- "package": "@meshsdk/core"
- },
- "defaultValue": "'BABBAGE'"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 729,
- "name": "readMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 163,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 730,
- "name": "readMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 163,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 731,
- "name": "cborTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 732,
- "name": "writeMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isStatic": true
- },
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 168,
- "character": 9
- }
- ],
- "signatures": [
- {
- "id": 733,
- "name": "writeMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 168,
- "character": 9
- }
- ],
- "parameters": [
- {
- "id": 734,
- "name": "cborTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 735,
- "name": "cborTxMetadata",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 736,
- "name": "era",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 178,
- "name": "Era",
- "package": "@meshsdk/core"
- },
- "defaultValue": "'BABBAGE'"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 737
- ]
- },
- {
- "title": "Properties",
- "children": [
- 740,
- 745,
- 746,
- 747,
- 748,
- 742,
- 743,
- 744,
- 749,
- 750,
- 751,
- 741,
- 752
- ]
- },
- {
- "title": "Accessors",
- "children": [
- 753
- ]
- },
- {
- "title": "Methods",
- "children": [
- 842,
- 844,
- 846,
- 857,
- 848,
- 850,
- 755,
- 757,
- 762,
- 766,
- 854,
- 852,
- 769,
- 859,
- 774,
- 785,
- 782,
- 788,
- 792,
- 796,
- 800,
- 805,
- 809,
- 812,
- 815,
- 822,
- 819,
- 829,
- 826,
- 832,
- 862,
- 835,
- 838,
- 717,
- 722,
- 725,
- 729,
- 732
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/transaction.service.ts",
- "line": 68,
- "character": 13
- }
- ]
- },
- {
- "id": 631,
- "name": "YaciProvider",
- "variant": "declaration",
- "kind": 128,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Fetcher interface defines end points to query blockchain data."
- }
- ]
- },
- "children": [
- {
- "id": 632,
- "name": "constructor",
- "variant": "declaration",
- "kind": 512,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 31,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 633,
- "name": "new YaciProvider",
- "variant": "signature",
- "kind": 16384,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Set the URL of the instance."
- }
- ]
- },
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 31,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 634,
- "name": "baseUrl",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "The base URL of the instance."
- }
- ]
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'http://localhost:8080/api/v1'"
- }
- ],
- "type": {
- "type": "reference",
- "target": 631,
- "name": "YaciProvider",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 635,
- "name": "_axiosInstance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isPrivate": true,
- "isReadonly": true
- },
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 25,
- "character": 19
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/axios@1.6.3/node_modules/axios/index.d.ts",
- "qualifiedName": "AxiosInstance"
- },
- "name": "AxiosInstance",
- "package": "axios"
- }
- },
- {
- "id": 636,
- "name": "fetchAccountInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 37,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 637,
- "name": "fetchAccountInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 37,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 638,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 102,
- "name": "AccountInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 22,
- "name": "IFetcher.fetchAccountInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 21,
- "name": "IFetcher.fetchAccountInfo"
- }
- },
- {
- "id": 646,
- "name": "fetchAddressUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 108,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 647,
- "name": "fetchAddressUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 108,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 648,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 649,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 25,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 24,
- "name": "IFetcher.fetchAddressUTxOs"
- }
- },
- {
- "id": 650,
- "name": "fetchAssetAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 140,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 651,
- "name": "fetchAssetAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 140,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 652,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 653,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 654,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 142,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 655,
- "name": "quantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 142,
- "character": 32
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 654,
- 655
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 142,
- "character": 13
- }
- ]
- }
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 29,
- "name": "IFetcher.fetchAssetAddresses"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 28,
- "name": "IFetcher.fetchAssetAddresses"
- }
- },
- {
- "id": 656,
- "name": "fetchAssetMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 167,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 657,
- "name": "fetchAssetMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 167,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 658,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 135,
- "name": "AssetMetadata",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 35,
- "name": "IFetcher.fetchAssetMetadata"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 34,
- "name": "IFetcher.fetchAssetMetadata"
- }
- },
- {
- "id": 659,
- "name": "fetchBlockInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 185,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 660,
- "name": "fetchBlockInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 185,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 661,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 153,
- "name": "BlockInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 38,
- "name": "IFetcher.fetchBlockInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 37,
- "name": "IFetcher.fetchBlockInfo"
- }
- },
- {
- "id": 662,
- "name": "fetchCollectionAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 214,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 663,
- "name": "fetchCollectionAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 214,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 664,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 665,
- "name": "cursor",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "1"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 666,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 667,
- "name": "assets",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 217,
- "character": 15
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 668,
- "name": "next",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 217,
- "character": 32
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 667,
- 668
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 217,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 41,
- "name": "IFetcher.fetchCollectionAssets"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 40,
- "name": "IFetcher.fetchCollectionAssets"
- }
- },
- {
- "id": 669,
- "name": "fetchHandleAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 238,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 670,
- "name": "fetchHandleAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 238,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 671,
- "name": "handle",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 48,
- "name": "IFetcher.fetchHandleAddress"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 47,
- "name": "IFetcher.fetchHandleAddress"
- }
- },
- {
- "id": 694,
- "name": "fetchNativeScriptJSON",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 390,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 695,
- "name": "fetchNativeScriptJSON",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 390,
- "character": 16
- }
- ],
- "parameters": [
- {
- "id": 696,
- "name": "scriptHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 691,
- "name": "fetchPlutusScriptCBOR",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 380,
- "character": 16
- }
- ],
- "signatures": [
- {
- "id": 692,
- "name": "fetchPlutusScriptCBOR",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 380,
- "character": 16
- }
- ],
- "parameters": [
- {
- "id": 693,
- "name": "scriptHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 672,
- "name": "fetchProtocolParameters",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 253,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 673,
- "name": "fetchProtocolParameters",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 253,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 674,
- "name": "epoch",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "Number.NaN"
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 51,
- "name": "IFetcher.fetchProtocolParameters"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 50,
- "name": "IFetcher.fetchProtocolParameters"
- }
- },
- {
- "id": 675,
- "name": "fetchTxInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 289,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 676,
- "name": "fetchTxInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 289,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 677,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 268,
- "name": "TransactionInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 54,
- "name": "IFetcher.fetchTxInfo"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 53,
- "name": "IFetcher.fetchTxInfo"
- }
- },
- {
- "id": 678,
- "name": "fetchUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 312,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 679,
- "name": "fetchUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 312,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 680,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 57,
- "name": "IFetcher.fetchUTxOs"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 56,
- "name": "IFetcher.fetchUTxOs"
- }
- },
- {
- "id": 681,
- "name": "onTxConfirmed",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 332,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 682,
- "name": "onTxConfirmed",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 332,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 683,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 684,
- "name": "callback",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 685,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 332,
- "character": 42
- }
- ],
- "signatures": [
- {
- "id": 686,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 332,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 687,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "100"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- },
- "implementationOf": {
- "type": "reference",
- "target": 69,
- "name": "IListener.onTxConfirmed"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 68,
- "name": "IListener.onTxConfirmed"
- }
- },
- {
- "id": 639,
- "name": "resolveScriptRef",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 62,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 640,
- "name": "resolveScriptRef",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 62,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 641,
- "name": "scriptHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "any"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 688,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 358,
- "character": 8
- }
- ],
- "signatures": [
- {
- "id": 689,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 358,
- "character": 8
- }
- ],
- "parameters": [
- {
- "id": 690,
- "name": "txHex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- },
- "implementationOf": {
- "type": "reference",
- "target": 90,
- "name": "ISubmitter.submitTx"
- }
- }
- ],
- "implementationOf": {
- "type": "reference",
- "target": 89,
- "name": "ISubmitter.submitTx"
- }
- },
- {
- "id": 642,
- "name": "toUTxO",
- "variant": "declaration",
- "kind": 2048,
- "flags": {
- "isPrivate": true
- },
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 87,
- "character": 10
- }
- ],
- "signatures": [
- {
- "id": 643,
- "name": "toUTxO",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 87,
- "character": 19
- }
- ],
- "parameters": [
- {
- "id": 644,
- "name": "bfUTxO",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "BlockfrostUTxO"
- },
- "name": "BlockfrostUTxO",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 645,
- "name": "tx_hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "children": [
- 632
- ]
- },
- {
- "title": "Properties",
- "children": [
- 635
- ]
- },
- {
- "title": "Methods",
- "children": [
- 636,
- 646,
- 650,
- 656,
- 659,
- 662,
- 669,
- 694,
- 691,
- 672,
- 675,
- 678,
- 681,
- 639,
- 688,
- 642
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/yaci.provider.ts",
- "line": 24,
- "character": 13
- }
- ],
- "implementedTypes": [
- {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 67,
- "name": "IListener",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- ]
- },
- {
- "id": 16,
- "name": "IEvaluator",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "children": [
- {
- "id": 17,
- "name": "evaluateTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/evaluator.ts",
- "line": 4,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 18,
- "name": "evaluateTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/evaluator.ts",
- "line": 4,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 19,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Omit"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 109,
- "name": "Action",
- "package": "@meshsdk/core"
- },
- {
- "type": "literal",
- "value": "data"
- }
- ],
- "name": "Omit",
- "package": "typescript"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "children": [
- 17
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/evaluator.ts",
- "line": 3,
- "character": 17
- }
- ],
- "implementedBy": [
- {
- "type": "reference",
- "target": 563,
- "name": "MaestroProvider"
- },
- {
- "type": "reference",
- "target": 530,
- "name": "OgmiosProvider"
- }
- ]
- },
- {
- "id": 20,
- "name": "IFetcher",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "comment": {
- "summary": [
- {
- "kind": "text",
- "text": "Fetcher interface defines end points to query blockchain data."
- }
- ]
- },
- "children": [
- {
- "id": 21,
- "name": "fetchAccountInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 15,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 22,
- "name": "fetchAccountInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 15,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 23,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 102,
- "name": "AccountInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 24,
- "name": "fetchAddressUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 16,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 25,
- "name": "fetchAddressUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 16,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 26,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 27,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 28,
- "name": "fetchAssetAddresses",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 17,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 29,
- "name": "fetchAssetAddresses",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 17,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 30,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reflection",
- "declaration": {
- "id": 31,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 32,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 19,
- "character": 15
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 33,
- "name": "quantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 19,
- "character": 32
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 32,
- 33
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 19,
- "character": 13
- }
- ]
- }
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 34,
- "name": "fetchAssetMetadata",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 20,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 35,
- "name": "fetchAssetMetadata",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 20,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 36,
- "name": "asset",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 135,
- "name": "AssetMetadata",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 37,
- "name": "fetchBlockInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 21,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 38,
- "name": "fetchBlockInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 21,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 39,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 153,
- "name": "BlockInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 40,
- "name": "fetchCollectionAssets",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 22,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 41,
- "name": "fetchCollectionAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 22,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 42,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 43,
- "name": "cursor",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reflection",
- "declaration": {
- "id": 44,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 45,
- "name": "assets",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 25,
- "character": 15
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 46,
- "name": "next",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 25,
- "character": 32
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": null
- },
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 45,
- 46
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 25,
- "character": 13
- }
- ]
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 47,
- "name": "fetchHandleAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 26,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 48,
- "name": "fetchHandleAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 26,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 49,
- "name": "handle",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 50,
- "name": "fetchProtocolParameters",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 27,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 51,
- "name": "fetchProtocolParameters",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 27,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 52,
- "name": "epoch",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 53,
- "name": "fetchTxInfo",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 28,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 54,
- "name": "fetchTxInfo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 28,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 55,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 268,
- "name": "TransactionInfo",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- },
- {
- "id": 56,
- "name": "fetchUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 29,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 57,
- "name": "fetchUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 29,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 58,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "children": [
- 21,
- 24,
- 28,
- 34,
- 37,
- 40,
- 47,
- 50,
- 53,
- 56
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/fetcher.ts",
- "line": 14,
- "character": 17
- }
- ],
- "implementedBy": [
- {
- "type": "reference",
- "target": 386,
- "name": "BlockfrostProvider"
- },
- {
- "type": "reference",
- "target": 466,
- "name": "KoiosProvider"
- },
- {
- "type": "reference",
- "target": 563,
- "name": "MaestroProvider"
- },
- {
- "type": "reference",
- "target": 631,
- "name": "YaciProvider"
- }
- ]
- },
- {
- "id": 59,
- "name": "IInitiator",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "children": [
- {
- "id": 60,
- "name": "getUsedAddress",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/initiator.ts",
- "line": 4,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 61,
- "name": "getUsedAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/initiator.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "SometimesPromise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "Address"
- },
- "name": "Address",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- ],
- "name": "SometimesPromise",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 62,
- "name": "getUsedCollateral",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/initiator.ts",
- "line": 5,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 63,
- "name": "getUsedCollateral",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/initiator.ts",
- "line": 5,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 64,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "SometimesPromise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "SometimesPromise",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 65,
- "name": "getUsedUTxOs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/initiator.ts",
- "line": 8,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 66,
- "name": "getUsedUTxOs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/initiator.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "SometimesPromise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionUnspentOutput"
- },
- "name": "TransactionUnspentOutput",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ],
- "name": "SometimesPromise",
- "package": "@meshsdk/core"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "children": [
- 60,
- 62,
- 65
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/initiator.ts",
- "line": 3,
- "character": 17
- }
- ],
- "implementedBy": [
- {
- "type": "reference",
- "target": 1247,
- "name": "AppWallet"
- },
- {
- "type": "reference",
- "target": 1310,
- "name": "BrowserWallet"
- },
- {
- "type": "reference",
- "target": 1481,
- "name": "MeshWallet"
- }
- ]
- },
- {
- "id": 67,
- "name": "IListener",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "children": [
- {
- "id": 68,
- "name": "onTxConfirmed",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/listener.ts",
- "line": 2,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 69,
- "name": "onTxConfirmed",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/listener.ts",
- "line": 2,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 70,
- "name": "txHash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 71,
- "name": "callback",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 72,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/listener.ts",
- "line": 2,
- "character": 42
- }
- ],
- "signatures": [
- {
- "id": 73,
- "name": "__type",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/listener.ts",
- "line": 2,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- }
- },
- {
- "id": 74,
- "name": "limit",
- "variant": "param",
- "kind": 32768,
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "void"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "children": [
- 68
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/listener.ts",
- "line": 1,
- "character": 17
- }
- ],
- "implementedBy": [
- {
- "type": "reference",
- "target": 386,
- "name": "BlockfrostProvider"
- },
- {
- "type": "reference",
- "target": 466,
- "name": "KoiosProvider"
- },
- {
- "type": "reference",
- "target": 631,
- "name": "YaciProvider"
- }
- ]
- },
- {
- "id": 75,
- "name": "ISigner",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "children": [
- {
- "id": 76,
- "name": "signData",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/signer.ts",
- "line": 4,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 77,
- "name": "signData",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/signer.ts",
- "line": 4,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 78,
- "name": "address",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 79,
- "name": "payload",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "SometimesPromise"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 174,
- "name": "DataSignature",
- "package": "@meshsdk/core"
- }
- ],
- "name": "SometimesPromise",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 80,
- "name": "signTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/signer.ts",
- "line": 5,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 81,
- "name": "signTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/signer.ts",
- "line": 5,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 82,
- "name": "unsignedTx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 83,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "SometimesPromise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "SometimesPromise",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 84,
- "name": "signTxs",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/signer.ts",
- "line": 6,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 85,
- "name": "signTxs",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/signer.ts",
- "line": 6,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 86,
- "name": "unsignedTxs",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 87,
- "name": "partialSign",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "SometimesPromise"
- },
- "typeArguments": [
- {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "name": "SometimesPromise",
- "package": "@meshsdk/core"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "children": [
- 76,
- 80,
- 84
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/signer.ts",
- "line": 3,
- "character": 17
- }
- ],
- "implementedBy": [
- {
- "type": "reference",
- "target": 1247,
- "name": "AppWallet"
- },
- {
- "type": "reference",
- "target": 1310,
- "name": "BrowserWallet"
- },
- {
- "type": "reference",
- "target": 1481,
- "name": "MeshWallet"
- }
- ]
- },
- {
- "id": 88,
- "name": "ISubmitter",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "children": [
- {
- "id": 89,
- "name": "submitTx",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/submitter.ts",
- "line": 2,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 90,
- "name": "submitTx",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/submitter.ts",
- "line": 2,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 91,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "children": [
- 89
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/submitter.ts",
- "line": 1,
- "character": 17
- }
- ],
- "implementedBy": [
- {
- "type": "reference",
- "target": 1247,
- "name": "AppWallet"
- },
- {
- "type": "reference",
- "target": 386,
- "name": "BlockfrostProvider"
- },
- {
- "type": "reference",
- "target": 1310,
- "name": "BrowserWallet"
- },
- {
- "type": "reference",
- "target": 466,
- "name": "KoiosProvider"
- },
- {
- "type": "reference",
- "target": 563,
- "name": "MaestroProvider"
- },
- {
- "type": "reference",
- "target": 1481,
- "name": "MeshWallet"
- },
- {
- "type": "reference",
- "target": 530,
- "name": "OgmiosProvider"
- },
- {
- "type": "reference",
- "target": 631,
- "name": "YaciProvider"
- }
- ]
- },
- {
- "id": 92,
- "name": "IUploader",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "children": [
- {
- "id": 93,
- "name": "uploadContent",
- "variant": "declaration",
- "kind": 2048,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/uploader.ts",
- "line": 2,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 94,
- "name": "uploadContent",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/contracts/uploader.ts",
- "line": 2,
- "character": 2
- }
- ],
- "parameters": [
- {
- "id": 95,
- "name": "content",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts",
- "qualifiedName": "FormData"
- },
- "name": "FormData",
- "package": "typescript"
- }
- },
- {
- "id": 96,
- "name": "recursive",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Promise"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise",
- "package": "typescript"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Methods",
- "children": [
- 93
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/contracts/uploader.ts",
- "line": 1,
- "character": 17
- }
- ],
- "implementedBy": [
- {
- "type": "reference",
- "target": 455,
- "name": "InfuraProvider"
- }
- ]
- },
- {
- "id": 559,
- "name": "MaestroConfig",
- "variant": "declaration",
- "kind": 256,
- "flags": {},
- "children": [
- {
- "id": 561,
- "name": "apiKey",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 28,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 560,
- "name": "network",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 27,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 558,
- "name": "MaestroSupportedNetworks",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 562,
- "name": "turboSubmit",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 29,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 561,
- 560,
- 562
- ]
- }
- ],
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 26,
- "character": 17
- }
- ]
- },
- {
- "id": 97,
- "name": "Account",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Account.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 98,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 99,
- "name": "baseAddress",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Account.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 100,
- "name": "enterpriseAddress",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Account.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 101,
- "name": "rewardAddress",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Account.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 99,
- 100,
- 101
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Account.ts",
- "line": 1,
- "character": 22
- }
- ]
- }
- }
- },
- {
- "id": 102,
- "name": "AccountInfo",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AccountInfo.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 103,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 104,
- "name": "active",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AccountInfo.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 106,
- "name": "balance",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AccountInfo.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 105,
- "name": "poolId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/AccountInfo.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 107,
- "name": "rewards",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AccountInfo.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 108,
- "name": "withdrawals",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AccountInfo.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 104,
- 106,
- 105,
- 107,
- 108
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/AccountInfo.ts",
- "line": 1,
- "character": 26
- }
- ]
- }
- }
- },
- {
- "id": 109,
- "name": "Action",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 4,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 110,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 113,
- "name": "budget",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 115,
- "name": "Budget",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 111,
- "name": "data",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 112,
- "name": "index",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 114,
- "name": "tag",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/constants.ts",
- "qualifiedName": "REDEEMER_TAGS"
- },
- "name": "REDEEMER_TAGS",
- "package": "@meshsdk/core",
- "preferValues": true
- }
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 113,
- 111,
- 112,
- 114
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 4,
- "character": 21
- }
- ]
- }
- }
- },
- {
- "id": 1230,
- "name": "AppWalletKeyType",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 21,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1231,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1233,
- "name": "bech32",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 24,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1232,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 23,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "root"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1233,
- 1232
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 22,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1234,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1236,
- "name": "payment",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 28,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1237,
- "name": "stake",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 29,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1235,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 27,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "cli"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1236,
- 1237,
- 1235
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 26,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1238,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1239,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 32,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "mnemonic"
- }
- },
- {
- "id": 1240,
- "name": "words",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 33,
- "character": 6
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1239,
- 1240
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 31,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 119,
- "name": "Asset",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 120,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 122,
- "name": "quantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 124,
- "name": "Quantity",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 121,
- "name": "unit",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 123,
- "name": "Unit",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 122,
- 121
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 1,
- "character": 20
- }
- ]
- }
- }
- },
- {
- "id": 128,
- "name": "AssetExtended",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetExtended.ts",
- "line": 3,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 129,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 132,
- "name": "assetName",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetExtended.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 133,
- "name": "fingerprint",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetExtended.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 131,
- "name": "policyId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetExtended.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 134,
- "name": "quantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetExtended.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 124,
- "name": "Quantity",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 130,
- "name": "unit",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetExtended.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 123,
- "name": "Unit",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 132,
- 133,
- 131,
- 134,
- 130
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/AssetExtended.ts",
- "line": 3,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 135,
- "name": "AssetMetadata",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 3,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "target": 136,
- "name": "FungibleAssetMetadata",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 141,
- "name": "NonFungibleAssetMetadata",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/core/CIP27.ts",
- "qualifiedName": "RoyaltiesStandard"
- },
- "name": "RoyaltiesStandard",
- "package": "@meshsdk/core"
- }
- ]
- }
- },
- {
- "id": 153,
- "name": "BlockInfo",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 154,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 169,
- "name": "VRFKey",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 167,
- "name": "confirmations",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 158,
- "name": "epoch",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 159,
- "name": "epochSlot",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 164,
- "name": "fees",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 156,
- "name": "hash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 166,
- "name": "nextBlock",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 168,
- "name": "operationalCertificate",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 163,
- "name": "output",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 165,
- "name": "previousBlock",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 161,
- "name": "size",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 157,
- "name": "slot",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 160,
- "name": "slotLeader",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 155,
- "name": "time",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 162,
- "name": "txCount",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 169,
- 167,
- 158,
- 159,
- 164,
- 156,
- 166,
- 168,
- 163,
- 165,
- 161,
- 157,
- 160,
- 155,
- 162
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/BlockInfo.ts",
- "line": 1,
- "character": 24
- }
- ]
- }
- }
- },
- {
- "id": 115,
- "name": "Budget",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 11,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 116,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 117,
- "name": "mem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 118,
- "name": "steps",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 117,
- 118
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Action.ts",
- "line": 11,
- "character": 21
- }
- ]
- }
- }
- },
- {
- "id": 1191,
- "name": "BuilderData",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 136,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1192,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1194,
- "name": "content",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 139,
- "character": 6
- }
- ],
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1193,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 138,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "Mesh"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1194,
- 1193
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 137,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1195,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1197,
- "name": "content",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 143,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1196,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 142,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "JSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1197,
- 1196
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 141,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1198,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1200,
- "name": "content",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 147,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1199,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 146,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "CBOR"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1200,
- 1199
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 145,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 1209,
- "name": "Certificate",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 162,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1210,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1212,
- "name": "poolParams",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 163,
- "character": 28
- }
- ],
- "type": {
- "type": "reference",
- "target": 209,
- "name": "PoolParams",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1211,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 163,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "RegisterPool"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1212,
- 1211
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 163,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1213,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1215,
- "name": "stakeKeyHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 164,
- "character": 29
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1214,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 164,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "RegisterStake"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1215,
- 1214
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 164,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1216,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1219,
- "name": "poolId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 165,
- "character": 51
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1218,
- "name": "stakeKeyHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 165,
- "character": 29
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1217,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 165,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "DelegateStake"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1219,
- 1218,
- 1217
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 165,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1220,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1222,
- "name": "stakeKeyHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 166,
- "character": 31
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1221,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 166,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "DeregisterStake"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1222,
- 1221
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 166,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1223,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1226,
- "name": "epoch",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 167,
- "character": 42
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1225,
- "name": "poolId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 167,
- "character": 26
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1224,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 167,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "RetirePool"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1226,
- 1225,
- 1224
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 167,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 1241,
- "name": "CreateAppWalletOptions",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 36,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1242,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1244,
- "name": "fetcher",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 38,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1246,
- "name": "key",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 40,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1230,
- "name": "AppWalletKeyType",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1243,
- "name": "networkId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 37,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1245,
- "name": "submitter",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 39,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1244,
- 1246,
- 1243,
- 1245
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/app.service.ts",
- "line": 36,
- "character": 37
- }
- ]
- }
- }
- },
- {
- "id": 1465,
- "name": "CreateMeshWalletOptions",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 25,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1466,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1468,
- "name": "fetcher",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 27,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 20,
- "name": "IFetcher",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1470,
- "name": "key",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 29,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1471,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1473,
- "name": "bech32",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 32,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1472,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 31,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "root"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1473,
- 1472
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 30,
- "character": 6
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1474,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1476,
- "name": "payment",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 36,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1477,
- "name": "stake",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 37,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1475,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 35,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "cli"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1476,
- 1477,
- 1475
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 34,
- "character": 6
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1478,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1479,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 40,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "mnemonic"
- }
- },
- {
- "id": 1480,
- "name": "words",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 41,
- "character": 8
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1479,
- 1480
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 39,
- "character": 6
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 1467,
- "name": "networkId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 26,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1469,
- "name": "submitter",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 28,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 88,
- "name": "ISubmitter",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1468,
- 1470,
- 1467,
- 1469
- ]
- }
- ],
- "sources": [
- {
- "fileName": "wallet/mesh.service.ts",
- "line": 25,
- "character": 38
- }
- ]
- }
- }
- },
- {
- "id": 170,
- "name": "Data",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Data.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "number"
- },
- {
- "type": "intrinsic",
- "name": "bigint"
- },
- {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- },
- {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Map"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- ],
- "name": "Map",
- "package": "typescript"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 171,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 172,
- "name": "alternative",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Data.ts",
- "line": 8,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 173,
- "name": "fields",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Data.ts",
- "line": 9,
- "character": 6
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 172,
- 173
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Data.ts",
- "line": 7,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 174,
- "name": "DataSignature",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/DataSignature.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 175,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 177,
- "name": "key",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/DataSignature.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 176,
- "name": "signature",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/DataSignature.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 177,
- 176
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/DataSignature.ts",
- "line": 1,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 178,
- "name": "Era",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Era.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "ALONZO"
- },
- {
- "type": "literal",
- "value": "BABBAGE"
- }
- ]
- }
- },
- {
- "id": 136,
- "name": "FungibleAssetMetadata",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/core/CIP25.ts",
- "qualifiedName": "MetadataStandard"
- },
- "name": "MetadataStandard",
- "package": "@meshsdk/core"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 137,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 139,
- "name": "decimals",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 138,
- "name": "ticker",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 140,
- "name": "version",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "templateLiteral",
- "head": "",
- "tail": [
- [
- {
- "type": "intrinsic",
- "name": "number"
- },
- "."
- ],
- [
- {
- "type": "intrinsic",
- "name": "number"
- },
- ""
- ]
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 139,
- 138,
- 140
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 8,
- "character": 55
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 142,
- "name": "ImageAssetMetadata",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 22,
- "character": 12
- }
- ],
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/core/CIP25.ts",
- "qualifiedName": "MetadataStandard"
- },
- "name": "MetadataStandard",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/core/CIP25.ts",
- "qualifiedName": "Files"
- },
- "name": "Files",
- "package": "@meshsdk/core"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 143,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 144,
- "name": "artists",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 23,
- "character": 2
- }
- ],
- "type": {
- "type": "tuple",
- "elements": [
- {
- "type": "reflection",
- "declaration": {
- "id": 145,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 146,
- "name": "name",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 24,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 147,
- "name": "twitter",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 25,
- "character": 4
- }
- ],
- "type": {
- "type": "templateLiteral",
- "head": "https://twitter.com/",
- "tail": [
- [
- {
- "type": "intrinsic",
- "name": "string"
- },
- ""
- ]
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 146,
- 147
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 23,
- "character": 13
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 148,
- "name": "attributes",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 27,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 149,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 27,
- "character": 15
- }
- ],
- "indexSignature": {
- "id": 150,
- "name": "__index",
- "variant": "signature",
- "kind": 8192,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 28,
- "character": 4
- }
- ],
- "parameters": [
- {
- "id": 151,
- "name": "key",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- }
- },
- {
- "id": 152,
- "name": "traits",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 30,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 144,
- 148,
- 152
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 22,
- "character": 60
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 208,
- "name": "LanguageVersion",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PlutusScript.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/constants.ts",
- "qualifiedName": "LANGUAGE_VERSIONS"
- },
- "name": "LANGUAGE_VERSIONS",
- "package": "@meshsdk/core",
- "preferValues": true
- }
- }
- }
- },
- {
- "id": 558,
- "name": "MaestroSupportedNetworks",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "providers/maestro.provider.ts",
- "line": 24,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Mainnet"
- },
- {
- "type": "literal",
- "value": "Preprod"
- },
- {
- "type": "literal",
- "value": "Preview"
- }
- ]
- }
- },
- {
- "id": 1085,
- "name": "MeshTxBuilderBody",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 11,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1086,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1098,
- "name": "certificates",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 23,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1209,
- "name": "Certificate",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1095,
- "name": "changeAddress",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 20,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1091,
- "name": "collaterals",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1101,
- "name": "PubKeyTxIn",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1089,
- "name": "extraInputs",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1087,
- "name": "inputs",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1100,
- "name": "TxIn",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1096,
- "name": "metadata",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 21,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1205,
- "name": "Metadata",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1094,
- "name": "mints",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1171,
- "name": "MintItem",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1088,
- "name": "outputs",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1162,
- "name": "Output",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1093,
- "name": "referenceInputs",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 1158,
- "name": "RefTxIn",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1092,
- "name": "requiredSignatures",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 17,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 1090,
- "name": "selectionThreshold",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1099,
- "name": "signingKey",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 25,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 1097,
- "name": "validityRange",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 22,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1187,
- "name": "ValidityRange",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1098,
- 1095,
- 1091,
- 1089,
- 1087,
- 1096,
- 1094,
- 1088,
- 1093,
- 1092,
- 1090,
- 1099,
- 1097
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 11,
- "character": 32
- }
- ]
- }
- }
- },
- {
- "id": 1205,
- "name": "Metadata",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 157,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1206,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1208,
- "name": "metadata",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 159,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "object"
- }
- },
- {
- "id": 1207,
- "name": "tag",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 158,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1208,
- 1207
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 157,
- "character": 23
- }
- ]
- }
- }
- },
- {
- "id": 179,
- "name": "Mint",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Mint.ts",
- "line": 5,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 180,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 181,
- "name": "assetName",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Mint.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 182,
- "name": "assetQuantity",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Mint.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 124,
- "name": "Quantity",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 185,
- "name": "label",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Mint.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "20"
- },
- {
- "type": "literal",
- "value": "721"
- },
- {
- "type": "literal",
- "value": "777"
- },
- {
- "type": "templateLiteral",
- "head": "",
- "tail": [
- [
- {
- "type": "intrinsic",
- "name": "number"
- },
- ""
- ]
- ]
- }
- ]
- }
- },
- {
- "id": 183,
- "name": "metadata",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Mint.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 135,
- "name": "AssetMetadata",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 184,
- "name": "recipient",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Mint.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 246,
- "name": "Recipient",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 181,
- 182,
- 185,
- 183,
- 184
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Mint.ts",
- "line": 5,
- "character": 19
- }
- ]
- }
- }
- },
- {
- "id": 1171,
- "name": "MintItem",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 110,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1172,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1176,
- "name": "amount",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 114,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1175,
- "name": "assetName",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 113,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1174,
- "name": "policyId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 112,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1177,
- "name": "redeemer",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 115,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1201,
- "name": "Redeemer",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1178,
- "name": "scriptSource",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 116,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1179,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1181,
- "name": "script",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 119,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1180,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 118,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Provided"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1181,
- 1180
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 117,
- "character": 6
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1182,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1184,
- "name": "txHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 123,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1185,
- "name": "txIndex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 124,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1183,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 122,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Reference Script"
- }
- },
- {
- "id": 1186,
- "name": "version",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 125,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": 208,
- "name": "LanguageVersion",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1184,
- 1185,
- 1183,
- 1186
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 121,
- "character": 6
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 1173,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 111,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Plutus"
- },
- {
- "type": "literal",
- "value": "Native"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1176,
- 1175,
- 1174,
- 1177,
- 1178,
- 1173
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 110,
- "character": 23
- }
- ]
- }
- }
- },
- {
- "id": 186,
- "name": "NativeScript",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 187,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 189,
- "name": "slot",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 4,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 188,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 3,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "after"
- },
- {
- "type": "literal",
- "value": "before"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 189,
- 188
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 2,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 190,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 192,
- "name": "scripts",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 8,
- "character": 6
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 191,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 7,
- "character": 6
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "all"
- },
- {
- "type": "literal",
- "value": "any"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 192,
- 191
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 6,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 193,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 195,
- "name": "required",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 12,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 196,
- "name": "scripts",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 13,
- "character": 6
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 194,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 11,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "atLeast"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 195,
- 196,
- 194
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 10,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 197,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 199,
- "name": "keyHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 17,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 198,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 16,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "sig"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 199,
- 198
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/NativeScript.ts",
- "line": 15,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 200,
- "name": "Network",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Network.ts",
- "line": 3,
- "character": 12
- }
- ],
- "type": {
- "type": "indexedAccess",
- "indexType": {
- "type": "intrinsic",
- "name": "number"
- },
- "objectType": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/types/Network.ts",
- "qualifiedName": "ALL_NETWORKS"
- },
- "name": "ALL_NETWORKS",
- "package": "@meshsdk/core",
- "preferValues": true
- }
- }
- }
- },
- {
- "id": 141,
- "name": "NonFungibleAssetMetadata",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/AssetMetadata.ts",
- "line": 14,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "AudioAssetMetadata"
- },
- "name": "AudioAssetMetadata",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 142,
- "name": "ImageAssetMetadata",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "SmartAssetMetadata"
- },
- "name": "SmartAssetMetadata",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "VideoAssetMetadata"
- },
- "name": "VideoAssetMetadata",
- "package": "@meshsdk/core"
- }
- ]
- }
- },
- {
- "id": 1162,
- "name": "Output",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 100,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1163,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1164,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 101,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1165,
- "name": "amount",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 102,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1166,
- "name": "datum",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 103,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1167,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1169,
- "name": "data",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 105,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "target": 1191,
- "name": "BuilderData",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1168,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 104,
- "character": 4
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "Hash"
- },
- {
- "type": "literal",
- "value": "Inline"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1169,
- 1168
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 103,
- "character": 10
- }
- ]
- }
- }
- },
- {
- "id": 1170,
- "name": "referenceScript",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 107,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1164,
- 1165,
- 1166,
- 1170
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 100,
- "character": 21
- }
- ]
- }
- }
- },
- {
- "id": 204,
- "name": "PlutusScript",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PlutusScript.ts",
- "line": 3,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 205,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 207,
- "name": "code",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PlutusScript.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 206,
- "name": "version",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PlutusScript.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 208,
- "name": "LanguageVersion",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 207,
- 206
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/PlutusScript.ts",
- "line": 3,
- "character": 27
- }
- ]
- }
- }
- },
- {
- "id": 220,
- "name": "PoolMetadata",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 15,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 221,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 222,
- "name": "URL",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 223,
- "name": "hash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 17,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 222,
- 223
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 15,
- "character": 27
- }
- ]
- }
- }
- },
- {
- "id": 209,
- "name": "PoolParams",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 3,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 210,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 211,
- "name": "VRFKeyHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 214,
- "name": "cost",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 215,
- "name": "margin",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 219,
- "name": "metadata",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 220,
- "name": "PoolMetadata",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 212,
- "name": "operator",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 217,
- "name": "owners",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- },
- {
- "id": 213,
- "name": "pledge",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 216,
- "name": "relays",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 254,
- "name": "Relay",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 218,
- "name": "rewardAddress",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 211,
- 214,
- 215,
- 219,
- 212,
- 217,
- 213,
- 216,
- 218
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/PoolParams.ts",
- "line": 3,
- "character": 25
- }
- ]
- }
- }
- },
- {
- "id": 224,
- "name": "Protocol",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 225,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 245,
- "name": "coinsPerUTxOSize",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 21,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 243,
- "name": "collateralPercent",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 19,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 234,
- "name": "decentralisation",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 226,
- "name": "epoch",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 232,
- "name": "keyDeposit",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 240,
- "name": "maxBlockExMem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 16,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 241,
- "name": "maxBlockExSteps",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 17,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 231,
- "name": "maxBlockHeaderSize",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 229,
- "name": "maxBlockSize",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 244,
- "name": "maxCollateralInputs",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 20,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 238,
- "name": "maxTxExMem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 14,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 239,
- "name": "maxTxExSteps",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 15,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 230,
- "name": "maxTxSize",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 242,
- "name": "maxValSize",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 18,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 227,
- "name": "minFeeA",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 228,
- "name": "minFeeB",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 235,
- "name": "minPoolCost",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 233,
- "name": "poolDeposit",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 236,
- "name": "priceMem",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 12,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 237,
- "name": "priceStep",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 13,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 245,
- 243,
- 234,
- 226,
- 232,
- 240,
- 241,
- 231,
- 229,
- 244,
- 238,
- 239,
- 230,
- 242,
- 227,
- 228,
- 235,
- 233,
- 236,
- 237
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Protocol.ts",
- "line": 1,
- "character": 23
- }
- ]
- }
- }
- },
- {
- "id": 1101,
- "name": "PubKeyTxIn",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 30,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1102,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1104,
- "name": "txIn",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 30,
- "character": 43
- }
- ],
- "type": {
- "type": "reference",
- "target": 1105,
- "name": "TxInParameter",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1103,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 30,
- "character": 27
- }
- ],
- "type": {
- "type": "literal",
- "value": "PubKey"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1104,
- 1103
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 30,
- "character": 25
- }
- ]
- }
- }
- },
- {
- "id": 124,
- "name": "Quantity",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 8,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 246,
- "name": "Recipient",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 5,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 247,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 248,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 249,
- "name": "datum",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 250,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 252,
- "name": "inline",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 9,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 251,
- "name": "value",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 8,
- "character": 4
- }
- ],
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 252,
- 251
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 7,
- "character": 10
- }
- ]
- }
- }
- },
- {
- "id": 253,
- "name": "script",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 11,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 248,
- 249,
- 253
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Recipient.ts",
- "line": 5,
- "character": 33
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 1201,
- "name": "Redeemer",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 152,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1202,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1203,
- "name": "data",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 153,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1191,
- "name": "BuilderData",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1204,
- "name": "exUnits",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 154,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 115,
- "name": "Budget",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1203,
- 1204
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 152,
- "character": 23
- }
- ]
- }
- }
- },
- {
- "id": 1158,
- "name": "RefTxIn",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 98,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1159,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1160,
- "name": "txHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 98,
- "character": 24
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1161,
- "name": "txIndex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 98,
- "character": 40
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1160,
- 1161
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 98,
- "character": 22
- }
- ]
- }
- }
- },
- {
- "id": 254,
- "name": "Relay",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 255,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 257,
- "name": "IPV4",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 4,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 258,
- "name": "IPV6",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 5,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 259,
- "name": "port",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 6,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 256,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 3,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "SingleHostAddr"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 257,
- 258,
- 259,
- 256
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 2,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 260,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 262,
- "name": "domainName",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 10,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 263,
- "name": "port",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 11,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 261,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 9,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "SingleHostName"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 262,
- 263,
- 261
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 8,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 264,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 266,
- "name": "domainName",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 15,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 265,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 14,
- "character": 6
- }
- ],
- "type": {
- "type": "literal",
- "value": "MultiHostName"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 266,
- 265
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Relay.ts",
- "line": 13,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 1227,
- "name": "RequiredWith",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 171,
- "character": 12
- }
- ],
- "typeParameters": [
- {
- "id": 1228,
- "name": "T",
- "variant": "typeParam",
- "kind": 131072,
- "flags": {}
- },
- {
- "id": 1229,
- "name": "K",
- "variant": "typeParam",
- "kind": 131072,
- "flags": {},
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "reference",
- "target": 1228,
- "name": "T",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- }
- }
- }
- ],
- "type": {
- "type": "intersection",
- "types": [
- {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Required"
- },
- "typeArguments": [
- {
- "type": "reference",
- "target": 1228,
- "name": "T",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- }
- ],
- "name": "Required",
- "package": "typescript"
- },
- {
- "type": "mapped",
- "parameter": "P",
- "parameterType": {
- "type": "reference",
- "target": 1229,
- "name": "K",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- },
- "templateType": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts",
- "qualifiedName": "Required"
- },
- "typeArguments": [
- {
- "type": "indexedAccess",
- "indexType": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "P"
- },
- "name": "P",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- },
- "objectType": {
- "type": "reference",
- "target": 1228,
- "name": "T",
- "package": "@meshsdk/core",
- "refersToTypeParameter": true
- }
- }
- ],
- "name": "Required",
- "package": "typescript"
- }
- }
- ]
- }
- },
- {
- "id": 1152,
- "name": "ScriptSourceInfo",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 91,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1153,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1156,
- "name": "spendingScriptHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 94,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1154,
- "name": "txHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 92,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1155,
- "name": "txIndex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 93,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1157,
- "name": "version",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 95,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 208,
- "name": "LanguageVersion",
- "package": "@meshsdk/core"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1156,
- 1154,
- 1155,
- 1157
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 91,
- "character": 31
- }
- ]
- }
- }
- },
- {
- "id": 1129,
- "name": "ScriptTxIn",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 62,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1130,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1133,
- "name": "scriptTxIn",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 65,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1134,
- "name": "ScriptTxInParameter",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1132,
- "name": "txIn",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 64,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1105,
- "name": "TxInParameter",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1131,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 63,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "Script"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1133,
- 1132,
- 1131
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 62,
- "character": 25
- }
- ]
- }
- }
- },
- {
- "id": 1134,
- "name": "ScriptTxInParameter",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 68,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1135,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1143,
- "name": "datumSource",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 78,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1144,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1146,
- "name": "data",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 81,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": 1191,
- "name": "BuilderData",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1145,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 80,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Provided"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1146,
- 1145
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 79,
- "character": 6
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1147,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1149,
- "name": "txHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 85,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1150,
- "name": "txIndex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 86,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1148,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 84,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Inline"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1149,
- 1150,
- 1148
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 83,
- "character": 6
- }
- ]
- }
- }
- ]
- }
- },
- {
- "id": 1151,
- "name": "redeemer",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 88,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1201,
- "name": "Redeemer",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1136,
- "name": "scriptSource",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 69,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1137,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1139,
- "name": "script",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 72,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1138,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 71,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Provided"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1139,
- 1138
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 70,
- "character": 6
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1140,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1142,
- "name": "txInInfo",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 76,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": 1152,
- "name": "ScriptSourceInfo",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1141,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 75,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Inline"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1142,
- 1141
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 74,
- "character": 6
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1143,
- 1151,
- 1136
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 68,
- "character": 34
- }
- ]
- }
- }
- },
- {
- "id": 1125,
- "name": "SimpleScriptSourceInfo",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 57,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1126,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1127,
- "name": "txHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 58,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1128,
- "name": "txIndex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 59,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1127,
- 1128
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 57,
- "character": 37
- }
- ]
- }
- }
- },
- {
- "id": 1111,
- "name": "SimpleScriptTxIn",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 39,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1112,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1115,
- "name": "simpleScriptTxIn",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 42,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1116,
- "name": "SimpleScriptTxInParameter",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1114,
- "name": "txIn",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 41,
- "character": 2
- }
- ],
- "type": {
- "type": "reference",
- "target": 1105,
- "name": "TxInParameter",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1113,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 40,
- "character": 2
- }
- ],
- "type": {
- "type": "literal",
- "value": "SimpleScript"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1115,
- 1114,
- 1113
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 39,
- "character": 31
- }
- ]
- }
- }
- },
- {
- "id": 1116,
- "name": "SimpleScriptTxInParameter",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 45,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1117,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1118,
- "name": "scriptSource",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 46,
- "character": 2
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 1119,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1121,
- "name": "script",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 49,
- "character": 8
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1120,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 48,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Provided"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1121,
- 1120
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 47,
- "character": 6
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 1122,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1124,
- "name": "txInInfo",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 53,
- "character": 8
- }
- ],
- "type": {
- "type": "reference",
- "target": 1125,
- "name": "SimpleScriptSourceInfo",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 1123,
- "name": "type",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 52,
- "character": 8
- }
- ],
- "type": {
- "type": "literal",
- "value": "Inline"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1124,
- 1123
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 51,
- "character": 6
- }
- ]
- }
- }
- ]
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1118
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 45,
- "character": 40
- }
- ]
- }
- }
- },
- {
- "id": 267,
- "name": "Token",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Token.ts",
- "line": 3,
- "character": 12
- }
- ],
- "type": {
- "type": "typeOperator",
- "operator": "keyof",
- "target": {
- "type": "query",
- "queryType": {
- "type": "reference",
- "target": {
- "sourceFileName": "src/common/constants.ts",
- "qualifiedName": "SUPPORTED_TOKENS"
- },
- "name": "SUPPORTED_TOKENS",
- "package": "@meshsdk/core",
- "preferValues": true
- }
- }
- }
- },
- {
- "id": 268,
- "name": "TransactionInfo",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 269,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 271,
- "name": "block",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 276,
- "name": "deposit",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 274,
- "name": "fees",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 6,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 272,
- "name": "hash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 270,
- "name": "index",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 278,
- "name": "invalidAfter",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 10,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 277,
- "name": "invalidBefore",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 9,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 275,
- "name": "size",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 7,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 273,
- "name": "slot",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 5,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 271,
- 276,
- 274,
- 272,
- 270,
- 278,
- 277,
- 275,
- 273
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/TransactionInfo.ts",
- "line": 1,
- "character": 30
- }
- ]
- }
- }
- },
- {
- "id": 1100,
- "name": "TxIn",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 28,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "target": 1101,
- "name": "PubKeyTxIn",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 1111,
- "name": "SimpleScriptTxIn",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 1129,
- "name": "ScriptTxIn",
- "package": "@meshsdk/core"
- }
- ]
- }
- },
- {
- "id": 1105,
- "name": "TxInParameter",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 32,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1106,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1110,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 36,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1109,
- "name": "amount",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 35,
- "character": 2
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 1107,
- "name": "txHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 33,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1108,
- "name": "txIndex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 34,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1110,
- 1109,
- 1107,
- 1108
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 32,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 279,
- "name": "UTxO",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 3,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 280,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 281,
- "name": "input",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 282,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 283,
- "name": "outputIndex",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 5,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 284,
- "name": "txHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 6,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 283,
- 284
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 4,
- "character": 9
- }
- ]
- }
- }
- },
- {
- "id": 285,
- "name": "output",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 8,
- "character": 2
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 286,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 287,
- "name": "address",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 9,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 288,
- "name": "amount",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 10,
- "character": 4
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 289,
- "name": "dataHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 11,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 290,
- "name": "plutusData",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 12,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 292,
- "name": "scriptHash",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 14,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 291,
- "name": "scriptRef",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 13,
- "character": 4
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 287,
- 288,
- 289,
- 290,
- 292,
- 291
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 8,
- "character": 10
- }
- ]
- }
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 281,
- 285
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/UTxO.ts",
- "line": 3,
- "character": 19
- }
- ]
- }
- }
- },
- {
- "id": 123,
- "name": "Unit",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 6,
- "character": 12
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 1187,
- "name": "ValidityRange",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 131,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 1188,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 1189,
- "name": "invalidBefore",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 132,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 1190,
- "name": "invalidHereafter",
- "variant": "declaration",
- "kind": 1024,
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 133,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 1189,
- 1190
- ]
- }
- ],
- "sources": [
- {
- "fileName": "transaction/meshTxBuilder/type.ts",
- "line": 131,
- "character": 28
- }
- ]
- }
- }
- },
- {
- "id": 293,
- "name": "Wallet",
- "variant": "declaration",
- "kind": 2097152,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Wallet.ts",
- "line": 1,
- "character": 12
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 294,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 296,
- "name": "icon",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Wallet.ts",
- "line": 3,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 295,
- "name": "name",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Wallet.ts",
- "line": 2,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 297,
- "name": "version",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Wallet.ts",
- "line": 4,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 296,
- 295,
- 297
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/types/Wallet.ts",
- "line": 1,
- "character": 21
- }
- ]
- }
- }
- },
- {
- "id": 11,
- "name": "checkSignature",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP8.ts",
- "line": 26,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 12,
- "name": "checkSignature",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP8.ts",
- "line": 26,
- "character": 30
- }
- ],
- "parameters": [
- {
- "id": 13,
- "name": "message",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 14,
- "name": "signer",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 15,
- "name": "__namedParameters",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 174,
- "name": "DataSignature",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- }
- ]
- },
- {
- "id": 1,
- "name": "generateNonce",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/helpers/generateNonce.ts",
- "line": 4,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 2,
- "name": "generateNonce",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/helpers/generateNonce.ts",
- "line": 4,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 3,
- "name": "label",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "''"
- },
- {
- "id": 4,
- "name": "length",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "32"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 201,
- "name": "isNetwork",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Network.ts",
- "line": 5,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 202,
- "name": "isNetwork",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Network.ts",
- "line": 5,
- "character": 25
- }
- ],
- "parameters": [
- {
- "id": 203,
- "name": "value",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "predicate",
- "name": "value",
- "asserts": false,
- "targetType": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "testnet"
- },
- {
- "type": "literal",
- "value": "preview"
- },
- {
- "type": "literal",
- "value": "preprod"
- },
- {
- "type": "literal",
- "value": "mainnet"
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 369,
- "name": "keepRelevant",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP2.ts",
- "line": 8,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 370,
- "name": "keepRelevant",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP2.ts",
- "line": 8,
- "character": 28
- }
- ],
- "parameters": [
- {
- "id": 371,
- "name": "requestedOutputSet",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Map"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Map",
- "package": "typescript"
- }
- },
- {
- "id": 372,
- "name": "initialUTxOSet",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 373,
- "name": "minimumLovelaceRequired",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "'5000000'"
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- }
- ]
- },
- {
- "id": 374,
- "name": "largestFirst",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP2.ts",
- "line": 42,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 375,
- "name": "largestFirst",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP2.ts",
- "line": 42,
- "character": 28
- }
- ],
- "parameters": [
- {
- "id": 376,
- "name": "lovelace",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 377,
- "name": "initialUTxOSet",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 378,
- "name": "includeTxFees",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 379,
- "name": "__namedParameters",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- },
- "defaultValue": "DEFAULT_PROTOCOL_PARAMETERS"
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- }
- ]
- },
- {
- "id": 380,
- "name": "largestFirstMultiAsset",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP2.ts",
- "line": 69,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 381,
- "name": "largestFirstMultiAsset",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "core/CIP2.ts",
- "line": 69,
- "character": 38
- }
- ],
- "parameters": [
- {
- "id": 382,
- "name": "requestedOutputSet",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts",
- "qualifiedName": "Map"
- },
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Map",
- "package": "typescript"
- }
- },
- {
- "id": 383,
- "name": "initialUTxOSet",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- },
- {
- "id": 384,
- "name": "includeTxFees",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- },
- "defaultValue": "false"
- },
- {
- "id": 385,
- "name": "parameters",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 224,
- "name": "Protocol",
- "package": "@meshsdk/core"
- },
- "defaultValue": "DEFAULT_PROTOCOL_PARAMETERS"
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 279,
- "name": "UTxO",
- "package": "@meshsdk/core"
- }
- }
- }
- ]
- },
- {
- "id": 125,
- "name": "mergeAssets",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 10,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 126,
- "name": "mergeAssets",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/types/Asset.ts",
- "line": 10,
- "character": 27
- }
- ],
- "parameters": [
- {
- "id": 127,
- "name": "assets",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- }
- ],
- "type": {
- "type": "array",
- "elementType": {
- "type": "reference",
- "target": 119,
- "name": "Asset",
- "package": "@meshsdk/core"
- }
- }
- }
- ]
- },
- {
- "id": 360,
- "name": "parseAssetUnit",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/parser.ts",
- "line": 5,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 361,
- "name": "parseAssetUnit",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/parser.ts",
- "line": 5,
- "character": 30
- }
- ],
- "parameters": [
- {
- "id": 362,
- "name": "unit",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 363,
- "name": "__type",
- "variant": "declaration",
- "kind": 65536,
- "flags": {},
- "children": [
- {
- "id": 365,
- "name": "assetName",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/parser.ts",
- "line": 11,
- "character": 21
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 364,
- "name": "policyId",
- "variant": "declaration",
- "kind": 1024,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/parser.ts",
- "line": 11,
- "character": 11
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "children": [
- 365,
- 364
- ]
- }
- ],
- "sources": [
- {
- "fileName": "common/utils/parser.ts",
- "line": 11,
- "character": 9
- }
- ]
- }
- }
- }
- ]
- },
- {
- "id": 366,
- "name": "parseHttpError",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/parser.ts",
- "line": 14,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 367,
- "name": "parseHttpError",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/parser.ts",
- "line": 14,
- "character": 30
- }
- ],
- "parameters": [
- {
- "id": 368,
- "name": "error",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "unknown"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 5,
- "name": "readPlutusData",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/helpers/readPlutusData.ts",
- "line": 6,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 6,
- "name": "readPlutusData",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/helpers/readPlutusData.ts",
- "line": 6,
- "character": 30
- }
- ],
- "parameters": [
- {
- "id": 7,
- "name": "plutusData",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- }
- ]
- },
- {
- "id": 8,
- "name": "readTransaction",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/helpers/readTransaction.ts",
- "line": 4,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 9,
- "name": "readTransaction",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/helpers/readTransaction.ts",
- "line": 4,
- "character": 31
- }
- ],
- "parameters": [
- {
- "id": 10,
- "name": "tx",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "target": {
- "sourceFileName": "../../node_modules/.pnpm/@emurgo+cardano-serialization-lib-nodejs@11.5.0/node_modules/@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.d.ts",
- "qualifiedName": "TransactionJSON"
- },
- "name": "TransactionJSON",
- "package": "@emurgo/cardano-serialization-lib-nodejs"
- }
- }
- ]
- },
- {
- "id": 298,
- "name": "resolveDataHash",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 29,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 299,
- "name": "resolveDataHash",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 29,
- "character": 31
- }
- ],
- "parameters": [
- {
- "id": 300,
- "name": "data",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 170,
- "name": "Data",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 301,
- "name": "resolveEpochNo",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 35,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 302,
- "name": "resolveEpochNo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 35,
- "character": 30
- }
- ],
- "parameters": [
- {
- "id": 303,
- "name": "network",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "testnet"
- },
- {
- "type": "literal",
- "value": "preview"
- },
- {
- "type": "literal",
- "value": "preprod"
- },
- {
- "type": "literal",
- "value": "mainnet"
- }
- ]
- }
- },
- {
- "id": 304,
- "name": "milliseconds",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ]
- },
- {
- "id": 305,
- "name": "resolveFingerprint",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 53,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 306,
- "name": "resolveFingerprint",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 53,
- "character": 34
- }
- ],
- "parameters": [
- {
- "id": 307,
- "name": "policyId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 308,
- "name": "assetName",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 309,
- "name": "resolveLanguageView",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 60,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 310,
- "name": "resolveLanguageView",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 60,
- "character": 35
- }
- ],
- "parameters": [
- {
- "id": 311,
- "name": "era",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 178,
- "name": "Era",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 312,
- "name": "version",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "V1"
- },
- {
- "type": "literal",
- "value": "V2"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "undefined"
- },
- {
- "type": "intrinsic",
- "name": "string"
- }
- ]
- }
- }
- ]
- },
- {
- "id": 313,
- "name": "resolveNativeScriptAddress",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 64,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 314,
- "name": "resolveNativeScriptAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 64,
- "character": 42
- }
- ],
- "parameters": [
- {
- "id": 315,
- "name": "script",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 316,
- "name": "networkId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 317,
- "name": "resolveNativeScriptHash",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 78,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 318,
- "name": "resolveNativeScriptHash",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 78,
- "character": 39
- }
- ],
- "parameters": [
- {
- "id": 319,
- "name": "script",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 320,
- "name": "resolveNativeScriptHex",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 82,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 321,
- "name": "resolveNativeScriptHex",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 82,
- "character": 38
- }
- ],
- "parameters": [
- {
- "id": 322,
- "name": "script",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 323,
- "name": "resolvePaymentKeyHash",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 86,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 324,
- "name": "resolvePaymentKeyHash",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 86,
- "character": 37
- }
- ],
- "parameters": [
- {
- "id": 325,
- "name": "bech32",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 326,
- "name": "resolvePlutusScriptAddress",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 105,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 327,
- "name": "resolvePlutusScriptAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 105,
- "character": 42
- }
- ],
- "parameters": [
- {
- "id": 328,
- "name": "script",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- }
- },
- {
- "id": 329,
- "name": "networkId",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "0"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 330,
- "name": "resolvePlutusScriptHash",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 119,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 331,
- "name": "resolvePlutusScriptHash",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 119,
- "character": 39
- }
- ],
- "parameters": [
- {
- "id": 332,
- "name": "bech32",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 333,
- "name": "resolvePoolId",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 132,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 334,
- "name": "resolvePoolId",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 132,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 335,
- "name": "hash",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 336,
- "name": "resolvePrivateKey",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 136,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 337,
- "name": "resolvePrivateKey",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 136,
- "character": 33
- }
- ],
- "parameters": [
- {
- "id": 338,
- "name": "words",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "array",
- "elementType": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 346,
- "name": "resolveRewardAddress",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 164,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 347,
- "name": "resolveRewardAddress",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 164,
- "character": 36
- }
- ],
- "parameters": [
- {
- "id": 348,
- "name": "bech32",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 339,
- "name": "resolveScriptRef",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 146,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 340,
- "name": "resolveScriptRef",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 146,
- "character": 32
- }
- ],
- "parameters": [
- {
- "id": 341,
- "name": "script",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "reference",
- "target": 186,
- "name": "NativeScript",
- "package": "@meshsdk/core"
- },
- {
- "type": "reference",
- "target": 204,
- "name": "PlutusScript",
- "package": "@meshsdk/core"
- }
- ]
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 342,
- "name": "resolveSlotNo",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 150,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 343,
- "name": "resolveSlotNo",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 150,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 344,
- "name": "network",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "union",
- "types": [
- {
- "type": "literal",
- "value": "testnet"
- },
- {
- "type": "literal",
- "value": "preview"
- },
- {
- "type": "literal",
- "value": "preprod"
- },
- {
- "type": "literal",
- "value": "mainnet"
- }
- ]
- }
- },
- {
- "id": 345,
- "name": "milliseconds",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 349,
- "name": "resolveStakeKeyHash",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 181,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 350,
- "name": "resolveStakeKeyHash",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 181,
- "character": 35
- }
- ],
- "parameters": [
- {
- "id": 351,
- "name": "bech32",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 352,
- "name": "resolveTxFees",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 196,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 353,
- "name": "resolveTxFees",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 196,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 354,
- "name": "txSize",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- },
- {
- "id": 355,
- "name": "minFeeA",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_PROTOCOL_PARAMETERS.minFeeA"
- },
- {
- "id": 356,
- "name": "minFeeB",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "DEFAULT_PROTOCOL_PARAMETERS.minFeeB"
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- },
- {
- "id": 357,
- "name": "resolveTxHash",
- "variant": "declaration",
- "kind": 64,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 206,
- "character": 13
- }
- ],
- "signatures": [
- {
- "id": 358,
- "name": "resolveTxHash",
- "variant": "signature",
- "kind": 4096,
- "flags": {},
- "sources": [
- {
- "fileName": "common/utils/resolver.ts",
- "line": 206,
- "character": 29
- }
- ],
- "parameters": [
- {
- "id": 359,
- "name": "txHex",
- "variant": "param",
- "kind": 32768,
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ]
- }
- ],
- "groups": [
- {
- "title": "Classes",
- "children": [
- 1247,
- 386,
- 1310,
- 1376,
- 697,
- 455,
- 466,
- 563,
- 865,
- 1481,
- 530,
- 716,
- 631
- ]
- },
- {
- "title": "Interfaces",
- "children": [
- 16,
- 20,
- 59,
- 67,
- 75,
- 88,
- 92,
- 559
- ]
- },
- {
- "title": "Type Aliases",
- "children": [
- 97,
- 102,
- 109,
- 1230,
- 119,
- 128,
- 135,
- 153,
- 115,
- 1191,
- 1209,
- 1241,
- 1465,
- 170,
- 174,
- 178,
- 136,
- 142,
- 208,
- 558,
- 1085,
- 1205,
- 179,
- 1171,
- 186,
- 200,
- 141,
- 1162,
- 204,
- 220,
- 209,
- 224,
- 1101,
- 124,
- 246,
- 1201,
- 1158,
- 254,
- 1227,
- 1152,
- 1129,
- 1134,
- 1125,
- 1111,
- 1116,
- 267,
- 268,
- 1100,
- 1105,
- 279,
- 123,
- 1187,
- 293
- ]
- },
- {
- "title": "Functions",
- "children": [
- 11,
- 1,
- 201,
- 369,
- 374,
- 380,
- 125,
- 360,
- 366,
- 5,
- 8,
- 298,
- 301,
- 305,
- 309,
- 313,
- 317,
- 320,
- 323,
- 326,
- 330,
- 333,
- 336,
- 346,
- 339,
- 342,
- 349,
- 352,
- 357
- ]
- }
- ],
- "packageName": "@meshsdk/core",
- "readme": [
- {
- "kind": "text",
- "text": "![Mesh Logo](https://meshjs.dev/logo-mesh/mesh.png)\n\nMesh is an open-source library designed to make building dApps accessible. Whether you're a beginner developer, startup, web3 market leader, or a large enterprise, Mesh makes web3 development easy with reliable, scalable, and well-engineered APIs & developer tools.\n\nExplore the features on [Mesh Playground](https://meshjs.dev/).\n\n## Guides and documentations\n\n- [Starter Templates](https://meshjs.dev/starter-templates)\n- [Guides](https://meshjs.dev/guides)\n- [Install Mesh into existing project](https://meshjs.dev/migration-manual-installation)\n- [App Wallet (Building transactions on applications)](https://meshjs.dev/apis/appwallet)\n- [Browser Wallet (CIP30 wallets intergration)](https://meshjs.dev/apis/browserwallet)\n- [Transaction - Building, minting, burning, smart contracts, stake pool and more](https://meshjs.dev/apis/transaction)\n- [React Components](https://meshjs.dev/react)\n- [Service Providers](https://meshjs.dev/providers)\n- [Resolvers](https://meshjs.dev/apis/resolvers)\n\n## Why use Mesh\n- Start a new project with one of out [Starter Templates](https://meshjs.dev/starter-templates) with CLI command\n- Always up to date - Vasil-ready, developed promptly as the network updates so your app always works\n- Simple to use - Check out our [guides](https://meshjs.dev/guides) - you'll get started in less than 10 mins!\n- Adopts best practices - implements various CIPs and package is well build (no hacking and tweaking needed to get it to work)\n- Thoroughly tested - Mesh is used by both developers and learners, and is being built by developers with solid software engineering backgrounds\n- Integrates with Cardano projects - Koios, Blockfrost, ADA Handle (and more), you can pick and choose freely what you want to use for your app\n- Well documented - we focus on documentation so you can use it with ease, and our [Playground](https://meshjs.dev/) is built so you can see how it works\n\n## How can you contribute?\n\n- [Support us](https://meshjs.dev/about/support-us)\n- Build something - try Mesh by implementing your Web 3.0 project (recommended [starter guide](https://meshjs.dev/guides/nextjs))\n- Inform others - Tell others about Mesh, and star the [Github repo](https://github.com/MeshJS/mesh) :star:"
- }
- ],
- "symbolIdMap": {
- "0": {
- "sourceFileName": "src/index.ts",
- "qualifiedName": ""
- },
- "1": {
- "sourceFileName": "src/common/helpers/generateNonce.ts",
- "qualifiedName": "generateNonce"
- },
- "2": {
- "sourceFileName": "src/common/helpers/generateNonce.ts",
- "qualifiedName": "generateNonce"
- },
- "3": {
- "sourceFileName": "src/common/helpers/generateNonce.ts",
- "qualifiedName": "label"
- },
- "4": {
- "sourceFileName": "src/common/helpers/generateNonce.ts",
- "qualifiedName": "length"
- },
- "5": {
- "sourceFileName": "src/common/helpers/readPlutusData.ts",
- "qualifiedName": "readPlutusData"
- },
- "6": {
- "sourceFileName": "src/common/helpers/readPlutusData.ts",
- "qualifiedName": "readPlutusData"
- },
- "7": {
- "sourceFileName": "src/common/helpers/readPlutusData.ts",
- "qualifiedName": "plutusData"
- },
- "8": {
- "sourceFileName": "src/common/helpers/readTransaction.ts",
- "qualifiedName": "readTransaction"
- },
- "9": {
- "sourceFileName": "src/common/helpers/readTransaction.ts",
- "qualifiedName": "readTransaction"
- },
- "10": {
- "sourceFileName": "src/common/helpers/readTransaction.ts",
- "qualifiedName": "tx"
- },
- "11": {
- "sourceFileName": "src/core/CIP8.ts",
- "qualifiedName": "checkSignature"
- },
- "12": {
- "sourceFileName": "src/core/CIP8.ts",
- "qualifiedName": "checkSignature"
- },
- "13": {
- "sourceFileName": "src/core/CIP8.ts",
- "qualifiedName": "message"
- },
- "14": {
- "sourceFileName": "src/core/CIP8.ts",
- "qualifiedName": "signer"
- },
- "15": {
- "sourceFileName": "src/core/CIP8.ts",
- "qualifiedName": "__2"
- },
- "16": {
- "sourceFileName": "src/common/contracts/evaluator.ts",
- "qualifiedName": "IEvaluator"
- },
- "17": {
- "sourceFileName": "src/common/contracts/evaluator.ts",
- "qualifiedName": "IEvaluator.evaluateTx"
- },
- "18": {
- "sourceFileName": "src/common/contracts/evaluator.ts",
- "qualifiedName": "IEvaluator.evaluateTx"
- },
- "19": {
- "sourceFileName": "src/common/contracts/evaluator.ts",
- "qualifiedName": "tx"
- },
- "20": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher"
- },
- "21": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAccountInfo"
- },
- "22": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAccountInfo"
- },
- "23": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "address"
- },
- "24": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAddressUTxOs"
- },
- "25": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAddressUTxOs"
- },
- "26": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "address"
- },
- "27": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "asset"
- },
- "28": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAssetAddresses"
- },
- "29": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAssetAddresses"
- },
- "30": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "asset"
- },
- "31": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "__type"
- },
- "32": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "__type.address"
- },
- "33": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "__type.quantity"
- },
- "34": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAssetMetadata"
- },
- "35": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchAssetMetadata"
- },
- "36": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "asset"
- },
- "37": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchBlockInfo"
- },
- "38": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchBlockInfo"
- },
- "39": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "hash"
- },
- "40": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchCollectionAssets"
- },
- "41": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchCollectionAssets"
- },
- "42": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "policyId"
- },
- "43": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "cursor"
- },
- "44": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "__type"
- },
- "45": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "__type.assets"
- },
- "46": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "__type.next"
- },
- "47": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchHandleAddress"
- },
- "48": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchHandleAddress"
- },
- "49": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "handle"
- },
- "50": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchProtocolParameters"
- },
- "51": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchProtocolParameters"
- },
- "52": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "epoch"
- },
- "53": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchTxInfo"
- },
- "54": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchTxInfo"
- },
- "55": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "hash"
- },
- "56": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchUTxOs"
- },
- "57": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "IFetcher.fetchUTxOs"
- },
- "58": {
- "sourceFileName": "src/common/contracts/fetcher.ts",
- "qualifiedName": "hash"
- },
- "59": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "IInitiator"
- },
- "60": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "IInitiator.getUsedAddress"
- },
- "61": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "IInitiator.getUsedAddress"
- },
- "62": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "IInitiator.getUsedCollateral"
- },
- "63": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "IInitiator.getUsedCollateral"
- },
- "64": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "limit"
- },
- "65": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "IInitiator.getUsedUTxOs"
- },
- "66": {
- "sourceFileName": "src/common/contracts/initiator.ts",
- "qualifiedName": "IInitiator.getUsedUTxOs"
- },
- "67": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "IListener"
- },
- "68": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "IListener.onTxConfirmed"
- },
- "69": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "IListener.onTxConfirmed"
- },
- "70": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "txHash"
- },
- "71": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "callback"
- },
- "72": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "__type"
- },
- "73": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "__type"
- },
- "74": {
- "sourceFileName": "src/common/contracts/listener.ts",
- "qualifiedName": "limit"
- },
- "75": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "ISigner"
- },
- "76": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "ISigner.signData"
- },
- "77": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "ISigner.signData"
- },
- "78": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "address"
- },
- "79": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "payload"
- },
- "80": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "ISigner.signTx"
- },
- "81": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "ISigner.signTx"
- },
- "82": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "unsignedTx"
- },
- "83": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "partialSign"
- },
- "84": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "ISigner.signTxs"
- },
- "85": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "ISigner.signTxs"
- },
- "86": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "unsignedTxs"
- },
- "87": {
- "sourceFileName": "src/common/contracts/signer.ts",
- "qualifiedName": "partialSign"
- },
- "88": {
- "sourceFileName": "src/common/contracts/submitter.ts",
- "qualifiedName": "ISubmitter"
- },
- "89": {
- "sourceFileName": "src/common/contracts/submitter.ts",
- "qualifiedName": "ISubmitter.submitTx"
- },
- "90": {
- "sourceFileName": "src/common/contracts/submitter.ts",
- "qualifiedName": "ISubmitter.submitTx"
- },
- "91": {
- "sourceFileName": "src/common/contracts/submitter.ts",
- "qualifiedName": "tx"
- },
- "92": {
- "sourceFileName": "src/common/contracts/uploader.ts",
- "qualifiedName": "IUploader"
- },
- "93": {
- "sourceFileName": "src/common/contracts/uploader.ts",
- "qualifiedName": "IUploader.uploadContent"
- },
- "94": {
- "sourceFileName": "src/common/contracts/uploader.ts",
- "qualifiedName": "IUploader.uploadContent"
- },
- "95": {
- "sourceFileName": "src/common/contracts/uploader.ts",
- "qualifiedName": "content"
- },
- "96": {
- "sourceFileName": "src/common/contracts/uploader.ts",
- "qualifiedName": "recursive"
- },
- "97": {
- "sourceFileName": "src/common/types/Account.ts",
- "qualifiedName": "Account"
- },
- "98": {
- "sourceFileName": "src/common/types/Account.ts",
- "qualifiedName": "__type"
- },
- "99": {
- "sourceFileName": "src/common/types/Account.ts",
- "qualifiedName": "__type.baseAddress"
- },
- "100": {
- "sourceFileName": "src/common/types/Account.ts",
- "qualifiedName": "__type.enterpriseAddress"
- },
- "101": {
- "sourceFileName": "src/common/types/Account.ts",
- "qualifiedName": "__type.rewardAddress"
- },
- "102": {
- "sourceFileName": "src/common/types/AccountInfo.ts",
- "qualifiedName": "AccountInfo"
- },
- "103": {
- "sourceFileName": "src/common/types/AccountInfo.ts",
- "qualifiedName": "__type"
- },
- "104": {
- "sourceFileName": "src/common/types/AccountInfo.ts",
- "qualifiedName": "__type.active"
- },
- "105": {
- "sourceFileName": "src/common/types/AccountInfo.ts",
- "qualifiedName": "__type.poolId"
- },
- "106": {
- "sourceFileName": "src/common/types/AccountInfo.ts",
- "qualifiedName": "__type.balance"
- },
- "107": {
- "sourceFileName": "src/common/types/AccountInfo.ts",
- "qualifiedName": "__type.rewards"
- },
- "108": {
- "sourceFileName": "src/common/types/AccountInfo.ts",
- "qualifiedName": "__type.withdrawals"
- },
- "109": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "Action"
- },
- "110": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type"
- },
- "111": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.data"
- },
- "112": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.index"
- },
- "113": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.budget"
- },
- "114": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.tag"
- },
- "115": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "Budget"
- },
- "116": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type"
- },
- "117": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.mem"
- },
- "118": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.steps"
- },
- "119": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "Asset"
- },
- "120": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "__type"
- },
- "121": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "__type.unit"
- },
- "122": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "__type.quantity"
- },
- "123": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "Unit"
- },
- "124": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "Quantity"
- },
- "125": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "mergeAssets"
- },
- "126": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "mergeAssets"
- },
- "127": {
- "sourceFileName": "src/common/types/Asset.ts",
- "qualifiedName": "assets"
- },
- "128": {
- "sourceFileName": "src/common/types/AssetExtended.ts",
- "qualifiedName": "AssetExtended"
- },
- "129": {
- "sourceFileName": "src/common/types/AssetExtended.ts",
- "qualifiedName": "__type"
- },
- "130": {
- "sourceFileName": "src/common/types/AssetExtended.ts",
- "qualifiedName": "__type.unit"
- },
- "131": {
- "sourceFileName": "src/common/types/AssetExtended.ts",
- "qualifiedName": "__type.policyId"
- },
- "132": {
- "sourceFileName": "src/common/types/AssetExtended.ts",
- "qualifiedName": "__type.assetName"
- },
- "133": {
- "sourceFileName": "src/common/types/AssetExtended.ts",
- "qualifiedName": "__type.fingerprint"
- },
- "134": {
- "sourceFileName": "src/common/types/AssetExtended.ts",
- "qualifiedName": "__type.quantity"
- },
- "135": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "AssetMetadata"
- },
- "136": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "FungibleAssetMetadata"
- },
- "137": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type"
- },
- "138": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.ticker"
- },
- "139": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.decimals"
- },
- "140": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.version"
- },
- "141": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "NonFungibleAssetMetadata"
- },
- "142": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "ImageAssetMetadata"
- },
- "143": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type"
- },
- "144": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.artists"
- },
- "145": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type"
- },
- "146": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.name"
- },
- "147": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.twitter"
- },
- "148": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.attributes"
- },
- "149": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type"
- },
- "150": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.__index"
- },
- "152": {
- "sourceFileName": "src/common/types/AssetMetadata.ts",
- "qualifiedName": "__type.traits"
- },
- "153": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "BlockInfo"
- },
- "154": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type"
- },
- "155": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.time"
- },
- "156": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.hash"
- },
- "157": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.slot"
- },
- "158": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.epoch"
- },
- "159": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.epochSlot"
- },
- "160": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.slotLeader"
- },
- "161": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.size"
- },
- "162": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.txCount"
- },
- "163": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.output"
- },
- "164": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.fees"
- },
- "165": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.previousBlock"
- },
- "166": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.nextBlock"
- },
- "167": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.confirmations"
- },
- "168": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.operationalCertificate"
- },
- "169": {
- "sourceFileName": "src/common/types/BlockInfo.ts",
- "qualifiedName": "__type.VRFKey"
- },
- "170": {
- "sourceFileName": "src/common/types/Data.ts",
- "qualifiedName": "Data"
- },
- "171": {
- "sourceFileName": "src/common/types/Data.ts",
- "qualifiedName": "__type"
- },
- "172": {
- "sourceFileName": "src/common/types/Data.ts",
- "qualifiedName": "__type.alternative"
- },
- "173": {
- "sourceFileName": "src/common/types/Data.ts",
- "qualifiedName": "__type.fields"
- },
- "174": {
- "sourceFileName": "src/common/types/DataSignature.ts",
- "qualifiedName": "DataSignature"
- },
- "175": {
- "sourceFileName": "src/common/types/DataSignature.ts",
- "qualifiedName": "__type"
- },
- "176": {
- "sourceFileName": "src/common/types/DataSignature.ts",
- "qualifiedName": "__type.signature"
- },
- "177": {
- "sourceFileName": "src/common/types/DataSignature.ts",
- "qualifiedName": "__type.key"
- },
- "178": {
- "sourceFileName": "src/common/types/Era.ts",
- "qualifiedName": "Era"
- },
- "179": {
- "sourceFileName": "src/common/types/Mint.ts",
- "qualifiedName": "Mint"
- },
- "180": {
- "sourceFileName": "src/common/types/Mint.ts",
- "qualifiedName": "__type"
- },
- "181": {
- "sourceFileName": "src/common/types/Mint.ts",
- "qualifiedName": "__type.assetName"
- },
- "182": {
- "sourceFileName": "src/common/types/Mint.ts",
- "qualifiedName": "__type.assetQuantity"
- },
- "183": {
- "sourceFileName": "src/common/types/Mint.ts",
- "qualifiedName": "__type.metadata"
- },
- "184": {
- "sourceFileName": "src/common/types/Mint.ts",
- "qualifiedName": "__type.recipient"
- },
- "185": {
- "sourceFileName": "src/common/types/Mint.ts",
- "qualifiedName": "__type.label"
- },
- "186": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "NativeScript"
- },
- "187": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type"
- },
- "188": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.type"
- },
- "189": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.slot"
- },
- "190": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type"
- },
- "191": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.type"
- },
- "192": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.scripts"
- },
- "193": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type"
- },
- "194": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.type"
- },
- "195": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.required"
- },
- "196": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.scripts"
- },
- "197": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type"
- },
- "198": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.type"
- },
- "199": {
- "sourceFileName": "src/common/types/NativeScript.ts",
- "qualifiedName": "__type.keyHash"
- },
- "200": {
- "sourceFileName": "src/common/types/Network.ts",
- "qualifiedName": "Network"
- },
- "201": {
- "sourceFileName": "src/common/types/Network.ts",
- "qualifiedName": "isNetwork"
- },
- "202": {
- "sourceFileName": "src/common/types/Network.ts",
- "qualifiedName": "isNetwork"
- },
- "203": {
- "sourceFileName": "src/common/types/Network.ts",
- "qualifiedName": "value"
- },
- "204": {
- "sourceFileName": "src/common/types/PlutusScript.ts",
- "qualifiedName": "PlutusScript"
- },
- "205": {
- "sourceFileName": "src/common/types/PlutusScript.ts",
- "qualifiedName": "__type"
- },
- "206": {
- "sourceFileName": "src/common/types/PlutusScript.ts",
- "qualifiedName": "__type.version"
- },
- "207": {
- "sourceFileName": "src/common/types/PlutusScript.ts",
- "qualifiedName": "__type.code"
- },
- "208": {
- "sourceFileName": "src/common/types/PlutusScript.ts",
- "qualifiedName": "LanguageVersion"
- },
- "209": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "PoolParams"
- },
- "210": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type"
- },
- "211": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.VRFKeyHash"
- },
- "212": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.operator"
- },
- "213": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.pledge"
- },
- "214": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.cost"
- },
- "215": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.margin"
- },
- "216": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.relays"
- },
- "217": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.owners"
- },
- "218": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.rewardAddress"
- },
- "219": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.metadata"
- },
- "220": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "PoolMetadata"
- },
- "221": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type"
- },
- "222": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.URL"
- },
- "223": {
- "sourceFileName": "src/common/types/PoolParams.ts",
- "qualifiedName": "__type.hash"
- },
- "224": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "Protocol"
- },
- "225": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type"
- },
- "226": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.epoch"
- },
- "227": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.minFeeA"
- },
- "228": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.minFeeB"
- },
- "229": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxBlockSize"
- },
- "230": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxTxSize"
- },
- "231": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxBlockHeaderSize"
- },
- "232": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.keyDeposit"
- },
- "233": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.poolDeposit"
- },
- "234": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.decentralisation"
- },
- "235": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.minPoolCost"
- },
- "236": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.priceMem"
- },
- "237": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.priceStep"
- },
- "238": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxTxExMem"
- },
- "239": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxTxExSteps"
- },
- "240": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxBlockExMem"
- },
- "241": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxBlockExSteps"
- },
- "242": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxValSize"
- },
- "243": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.collateralPercent"
- },
- "244": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.maxCollateralInputs"
- },
- "245": {
- "sourceFileName": "src/common/types/Protocol.ts",
- "qualifiedName": "__type.coinsPerUTxOSize"
- },
- "246": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "Recipient"
- },
- "247": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "__type"
- },
- "248": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "__type.address"
- },
- "249": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "__type.datum"
- },
- "250": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "__type"
- },
- "251": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "__type.value"
- },
- "252": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "__type.inline"
- },
- "253": {
- "sourceFileName": "src/common/types/Recipient.ts",
- "qualifiedName": "__type.script"
- },
- "254": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "Relay"
- },
- "255": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type"
- },
- "256": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.type"
- },
- "257": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.IPV4"
- },
- "258": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.IPV6"
- },
- "259": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.port"
- },
- "260": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type"
- },
- "261": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.type"
- },
- "262": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.domainName"
- },
- "263": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.port"
- },
- "264": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type"
- },
- "265": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.type"
- },
- "266": {
- "sourceFileName": "src/common/types/Relay.ts",
- "qualifiedName": "__type.domainName"
- },
- "267": {
- "sourceFileName": "src/common/types/Token.ts",
- "qualifiedName": "Token"
- },
- "268": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "TransactionInfo"
- },
- "269": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type"
- },
- "270": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.index"
- },
- "271": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.block"
- },
- "272": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.hash"
- },
- "273": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.slot"
- },
- "274": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.fees"
- },
- "275": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.size"
- },
- "276": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.deposit"
- },
- "277": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.invalidBefore"
- },
- "278": {
- "sourceFileName": "src/common/types/TransactionInfo.ts",
- "qualifiedName": "__type.invalidAfter"
- },
- "279": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "UTxO"
- },
- "280": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type"
- },
- "281": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.input"
- },
- "282": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type"
- },
- "283": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.outputIndex"
- },
- "284": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.txHash"
- },
- "285": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.output"
- },
- "286": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type"
- },
- "287": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.address"
- },
- "288": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.amount"
- },
- "289": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.dataHash"
- },
- "290": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.plutusData"
- },
- "291": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.scriptRef"
- },
- "292": {
- "sourceFileName": "src/common/types/UTxO.ts",
- "qualifiedName": "__type.scriptHash"
- },
- "293": {
- "sourceFileName": "src/common/types/Wallet.ts",
- "qualifiedName": "Wallet"
- },
- "294": {
- "sourceFileName": "src/common/types/Wallet.ts",
- "qualifiedName": "__type"
- },
- "295": {
- "sourceFileName": "src/common/types/Wallet.ts",
- "qualifiedName": "__type.name"
- },
- "296": {
- "sourceFileName": "src/common/types/Wallet.ts",
- "qualifiedName": "__type.icon"
- },
- "297": {
- "sourceFileName": "src/common/types/Wallet.ts",
- "qualifiedName": "__type.version"
- },
- "298": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveDataHash"
- },
- "299": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveDataHash"
- },
- "300": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "data"
- },
- "301": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveEpochNo"
- },
- "302": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveEpochNo"
- },
- "303": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "network"
- },
- "304": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "milliseconds"
- },
- "305": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveFingerprint"
- },
- "306": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveFingerprint"
- },
- "307": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "policyId"
- },
- "308": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "assetName"
- },
- "309": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveLanguageView"
- },
- "310": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveLanguageView"
- },
- "311": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "era"
- },
- "312": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "version"
- },
- "313": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveNativeScriptAddress"
- },
- "314": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveNativeScriptAddress"
- },
- "315": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "script"
- },
- "316": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "networkId"
- },
- "317": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveNativeScriptHash"
- },
- "318": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveNativeScriptHash"
- },
- "319": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "script"
- },
- "320": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveNativeScriptHex"
- },
- "321": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveNativeScriptHex"
- },
- "322": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "script"
- },
- "323": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePaymentKeyHash"
- },
- "324": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePaymentKeyHash"
- },
- "325": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "bech32"
- },
- "326": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePlutusScriptAddress"
- },
- "327": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePlutusScriptAddress"
- },
- "328": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "script"
- },
- "329": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "networkId"
- },
- "330": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePlutusScriptHash"
- },
- "331": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePlutusScriptHash"
- },
- "332": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "bech32"
- },
- "333": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePoolId"
- },
- "334": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePoolId"
- },
- "335": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "hash"
- },
- "336": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePrivateKey"
- },
- "337": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolvePrivateKey"
- },
- "338": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "words"
- },
- "339": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveScriptRef"
- },
- "340": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveScriptRef"
- },
- "341": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "script"
- },
- "342": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveSlotNo"
- },
- "343": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveSlotNo"
- },
- "344": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "network"
- },
- "345": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "milliseconds"
- },
- "346": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveRewardAddress"
- },
- "347": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveRewardAddress"
- },
- "348": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "bech32"
- },
- "349": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveStakeKeyHash"
- },
- "350": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveStakeKeyHash"
- },
- "351": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "bech32"
- },
- "352": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveTxFees"
- },
- "353": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveTxFees"
- },
- "354": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "txSize"
- },
- "355": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "minFeeA"
- },
- "356": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "minFeeB"
- },
- "357": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveTxHash"
- },
- "358": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "resolveTxHash"
- },
- "359": {
- "sourceFileName": "src/common/utils/resolver.ts",
- "qualifiedName": "txHex"
- },
- "360": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "parseAssetUnit"
- },
- "361": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "parseAssetUnit"
- },
- "362": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "unit"
- },
- "363": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "__object"
- },
- "364": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "__object.policyId"
- },
- "365": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "__object.assetName"
- },
- "366": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "parseHttpError"
- },
- "367": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "parseHttpError"
- },
- "368": {
- "sourceFileName": "src/common/utils/parser.ts",
- "qualifiedName": "error"
- },
- "369": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "keepRelevant"
- },
- "370": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "keepRelevant"
- },
- "371": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "requestedOutputSet"
- },
- "372": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "initialUTxOSet"
- },
- "373": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "minimumLovelaceRequired"
- },
- "374": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "largestFirst"
- },
- "375": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "largestFirst"
- },
- "376": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "lovelace"
- },
- "377": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "initialUTxOSet"
- },
- "378": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "includeTxFees"
- },
- "379": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "__3"
- },
- "380": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "largestFirstMultiAsset"
- },
- "381": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "largestFirstMultiAsset"
- },
- "382": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "requestedOutputSet"
- },
- "383": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "initialUTxOSet"
- },
- "384": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "includeTxFees"
- },
- "385": {
- "sourceFileName": "src/core/CIP2.ts",
- "qualifiedName": "parameters"
- },
- "386": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider"
- },
- "387": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.__constructor"
- },
- "388": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider"
- },
- "389": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "baseUrl"
- },
- "390": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider"
- },
- "391": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "projectId"
- },
- "392": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "version"
- },
- "393": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider._axiosInstance"
- },
- "394": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAccountInfo"
- },
- "395": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAccountInfo"
- },
- "396": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "address"
- },
- "397": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.resolveScriptRef"
- },
- "398": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.resolveScriptRef"
- },
- "399": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "scriptHash"
- },
- "400": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.toUTxO"
- },
- "401": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.toUTxO"
- },
- "402": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "bfUTxO"
- },
- "403": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "tx_hash"
- },
- "404": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAddressUTxOs"
- },
- "405": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAddressUTxOs"
- },
- "406": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "address"
- },
- "407": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "asset"
- },
- "408": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAssetAddresses"
- },
- "409": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAssetAddresses"
- },
- "410": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "asset"
- },
- "411": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type"
- },
- "412": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type.address"
- },
- "413": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type.quantity"
- },
- "414": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAssetMetadata"
- },
- "415": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchAssetMetadata"
- },
- "416": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "asset"
- },
- "417": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchBlockInfo"
- },
- "418": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchBlockInfo"
- },
- "419": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "hash"
- },
- "420": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchCollectionAssets"
- },
- "421": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchCollectionAssets"
- },
- "422": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "policyId"
- },
- "423": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "cursor"
- },
- "424": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type"
- },
- "425": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type.assets"
- },
- "426": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type.next"
- },
- "427": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchHandleAddress"
- },
- "428": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchHandleAddress"
- },
- "429": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "handle"
- },
- "430": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchProtocolParameters"
- },
- "431": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchProtocolParameters"
- },
- "432": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "epoch"
- },
- "433": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchTxInfo"
- },
- "434": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchTxInfo"
- },
- "435": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "hash"
- },
- "436": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchUTxOs"
- },
- "437": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchUTxOs"
- },
- "438": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "hash"
- },
- "439": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.onTxConfirmed"
- },
- "440": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.onTxConfirmed"
- },
- "441": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "txHash"
- },
- "442": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "callback"
- },
- "443": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type"
- },
- "444": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "__type"
- },
- "445": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "limit"
- },
- "446": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.submitTx"
- },
- "447": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.submitTx"
- },
- "448": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "tx"
- },
- "449": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchPlutusScriptCBOR"
- },
- "450": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchPlutusScriptCBOR"
- },
- "451": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "scriptHash"
- },
- "452": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchNativeScriptJSON"
- },
- "453": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "BlockfrostProvider.fetchNativeScriptJSON"
- },
- "454": {
- "sourceFileName": "src/providers/blockfrost.provider.ts",
- "qualifiedName": "scriptHash"
- },
- "455": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "InfuraProvider"
- },
- "456": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "InfuraProvider.__constructor"
- },
- "457": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "InfuraProvider"
- },
- "458": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "projectId"
- },
- "459": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "projectSecret"
- },
- "460": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "options"
- },
- "461": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "InfuraProvider._axiosInstance"
- },
- "462": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "InfuraProvider.uploadContent"
- },
- "463": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "InfuraProvider.uploadContent"
- },
- "464": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "content"
- },
- "465": {
- "sourceFileName": "src/providers/infura.provider.ts",
- "qualifiedName": "recursive"
- },
- "466": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider"
- },
- "467": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.__constructor"
- },
- "468": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider"
- },
- "469": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "baseUrl"
- },
- "470": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider"
- },
- "471": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "network"
- },
- "472": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "token"
- },
- "473": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "version"
- },
- "474": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider._axiosInstance"
- },
- "475": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAccountInfo"
- },
- "476": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAccountInfo"
- },
- "477": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "address"
- },
- "478": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAddressUTxOs"
- },
- "479": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAddressUTxOs"
- },
- "480": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "address"
- },
- "481": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "asset"
- },
- "482": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAssetAddresses"
- },
- "483": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAssetAddresses"
- },
- "484": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "asset"
- },
- "485": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type"
- },
- "486": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type.address"
- },
- "487": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type.quantity"
- },
- "488": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAssetMetadata"
- },
- "489": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchAssetMetadata"
- },
- "490": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "asset"
- },
- "491": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchBlockInfo"
- },
- "492": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchBlockInfo"
- },
- "493": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "hash"
- },
- "494": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchCollectionAssets"
- },
- "495": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchCollectionAssets"
- },
- "496": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "policyId"
- },
- "497": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "cursor"
- },
- "498": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type"
- },
- "499": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type.assets"
- },
- "500": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type.next"
- },
- "501": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchHandleAddress"
- },
- "502": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchHandleAddress"
- },
- "503": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "handle"
- },
- "504": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchProtocolParameters"
- },
- "505": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchProtocolParameters"
- },
- "506": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "epoch"
- },
- "507": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchTxInfo"
- },
- "508": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchTxInfo"
- },
- "509": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "hash"
- },
- "510": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchUTxOs"
- },
- "511": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.fetchUTxOs"
- },
- "512": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "hash"
- },
- "513": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.onTxConfirmed"
- },
- "514": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.onTxConfirmed"
- },
- "515": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "txHash"
- },
- "516": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "callback"
- },
- "517": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type"
- },
- "518": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "__type"
- },
- "519": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "limit"
- },
- "520": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.submitTx"
- },
- "521": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.submitTx"
- },
- "522": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "tx"
- },
- "523": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.toUTxO"
- },
- "524": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.toUTxO"
- },
- "525": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "utxo"
- },
- "526": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "address"
- },
- "527": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.resolveScriptRef"
- },
- "528": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "KoiosProvider.resolveScriptRef"
- },
- "529": {
- "sourceFileName": "src/providers/koios.provider.ts",
- "qualifiedName": "kScriptRef"
- },
- "530": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider"
- },
- "531": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.__constructor"
- },
- "532": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider"
- },
- "533": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "baseUrl"
- },
- "534": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider"
- },
- "535": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "network"
- },
- "536": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider._baseUrl"
- },
- "537": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.evaluateTx"
- },
- "538": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.evaluateTx"
- },
- "539": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "tx"
- },
- "540": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.onNextTx"
- },
- "541": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.onNextTx"
- },
- "542": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "callback"
- },
- "543": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "__type"
- },
- "544": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "__type"
- },
- "545": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "tx"
- },
- "546": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "__type"
- },
- "547": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "__type"
- },
- "548": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.submitTx"
- },
- "549": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.submitTx"
- },
- "550": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "tx"
- },
- "551": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.open"
- },
- "552": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.open"
- },
- "553": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.send"
- },
- "554": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "OgmiosProvider.send"
- },
- "555": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "client"
- },
- "556": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "methodname"
- },
- "557": {
- "sourceFileName": "src/providers/ogmios.provider.ts",
- "qualifiedName": "args"
- },
- "558": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroSupportedNetworks"
- },
- "559": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroConfig"
- },
- "560": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroConfig.network"
- },
- "561": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroConfig.apiKey"
- },
- "562": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroConfig.turboSubmit"
- },
- "563": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider"
- },
- "564": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.__constructor"
- },
- "565": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider"
- },
- "566": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__0"
- },
- "567": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider._axiosInstance"
- },
- "568": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider._amountsAsStrings"
- },
- "569": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__object"
- },
- "570": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__object.headers"
- },
- "571": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__object"
- },
- "572": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__object.amounts-as-strings"
- },
- "573": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.submitUrl"
- },
- "574": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.evaluateTx"
- },
- "575": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.evaluateTx"
- },
- "576": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "cbor"
- },
- "577": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAccountInfo"
- },
- "578": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAccountInfo"
- },
- "579": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "address"
- },
- "580": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAddressUTxOs"
- },
- "581": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAddressUTxOs"
- },
- "582": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "address"
- },
- "583": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "asset"
- },
- "584": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAssetAddresses"
- },
- "585": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAssetAddresses"
- },
- "586": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "asset"
- },
- "587": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type"
- },
- "588": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type.address"
- },
- "589": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type.quantity"
- },
- "590": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAssetMetadata"
- },
- "591": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchAssetMetadata"
- },
- "592": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "asset"
- },
- "593": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchBlockInfo"
- },
- "594": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchBlockInfo"
- },
- "595": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "hash"
- },
- "596": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchCollectionAssets"
- },
- "597": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchCollectionAssets"
- },
- "598": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "policyId"
- },
- "599": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "cursor"
- },
- "600": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type"
- },
- "601": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type.assets"
- },
- "602": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type.next"
- },
- "603": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchHandleAddress"
- },
- "604": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchHandleAddress"
- },
- "605": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "handle"
- },
- "606": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchProtocolParameters"
- },
- "607": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchProtocolParameters"
- },
- "608": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "epoch"
- },
- "609": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchTxInfo"
- },
- "610": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchTxInfo"
- },
- "611": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "hash"
- },
- "612": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchUTxOs"
- },
- "613": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.fetchUTxOs"
- },
- "614": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "hash"
- },
- "615": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.onTxConfirmed"
- },
- "616": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.onTxConfirmed"
- },
- "617": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "txHash"
- },
- "618": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "callback"
- },
- "619": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type"
- },
- "620": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "__type"
- },
- "621": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "limit"
- },
- "622": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.submitTx"
- },
- "623": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.submitTx"
- },
- "624": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "tx"
- },
- "625": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.toUTxO"
- },
- "626": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.toUTxO"
- },
- "627": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "utxo"
- },
- "628": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.resolveScript"
- },
- "629": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "MaestroProvider.resolveScript"
- },
- "630": {
- "sourceFileName": "src/providers/maestro.provider.ts",
- "qualifiedName": "utxo"
- },
- "631": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider"
- },
- "632": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.__constructor"
- },
- "633": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider"
- },
- "634": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "baseUrl"
- },
- "635": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider._axiosInstance"
- },
- "636": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAccountInfo"
- },
- "637": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAccountInfo"
- },
- "638": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "address"
- },
- "639": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.resolveScriptRef"
- },
- "640": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.resolveScriptRef"
- },
- "641": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "scriptHash"
- },
- "642": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.toUTxO"
- },
- "643": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.toUTxO"
- },
- "644": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "bfUTxO"
- },
- "645": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "tx_hash"
- },
- "646": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAddressUTxOs"
- },
- "647": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAddressUTxOs"
- },
- "648": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "address"
- },
- "649": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "asset"
- },
- "650": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAssetAddresses"
- },
- "651": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAssetAddresses"
- },
- "652": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "asset"
- },
- "653": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type"
- },
- "654": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type.address"
- },
- "655": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type.quantity"
- },
- "656": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAssetMetadata"
- },
- "657": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchAssetMetadata"
- },
- "658": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "asset"
- },
- "659": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchBlockInfo"
- },
- "660": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchBlockInfo"
- },
- "661": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "hash"
- },
- "662": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchCollectionAssets"
- },
- "663": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchCollectionAssets"
- },
- "664": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "policyId"
- },
- "665": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "cursor"
- },
- "666": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type"
- },
- "667": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type.assets"
- },
- "668": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type.next"
- },
- "669": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchHandleAddress"
- },
- "670": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchHandleAddress"
- },
- "671": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "handle"
- },
- "672": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchProtocolParameters"
- },
- "673": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchProtocolParameters"
- },
- "674": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "epoch"
- },
- "675": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchTxInfo"
- },
- "676": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchTxInfo"
- },
- "677": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "hash"
- },
- "678": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchUTxOs"
- },
- "679": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchUTxOs"
- },
- "680": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "hash"
- },
- "681": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.onTxConfirmed"
- },
- "682": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.onTxConfirmed"
- },
- "683": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "txHash"
- },
- "684": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "callback"
- },
- "685": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type"
- },
- "686": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "__type"
- },
- "687": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "limit"
- },
- "688": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.submitTx"
- },
- "689": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.submitTx"
- },
- "690": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "txHex"
- },
- "691": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchPlutusScriptCBOR"
- },
- "692": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchPlutusScriptCBOR"
- },
- "693": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "scriptHash"
- },
- "694": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchNativeScriptJSON"
- },
- "695": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "YaciProvider.fetchNativeScriptJSON"
- },
- "696": {
- "sourceFileName": "src/providers/yaci.provider.ts",
- "qualifiedName": "scriptHash"
- },
- "697": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript"
- },
- "698": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withOneSignature"
- },
- "699": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withOneSignature"
- },
- "700": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "address"
- },
- "701": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withAtLeastNSignatures"
- },
- "702": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withAtLeastNSignatures"
- },
- "703": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "addresses"
- },
- "704": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "minimumRequired"
- },
- "705": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withAnySignature"
- },
- "706": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withAnySignature"
- },
- "707": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "addresses"
- },
- "708": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withAllSignatures"
- },
- "709": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.withAllSignatures"
- },
- "710": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "addresses"
- },
- "711": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.fromNativeScript"
- },
- "712": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "ForgeScript.fromNativeScript"
- },
- "713": {
- "sourceFileName": "src/scripts/forge.script.ts",
- "qualifiedName": "script"
- },
- "716": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction"
- },
- "717": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.attachMetadata"
- },
- "718": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.attachMetadata"
- },
- "719": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "cborTx"
- },
- "720": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "cborTxMetadata"
- },
- "721": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "era"
- },
- "722": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.deattachMetadata"
- },
- "723": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.deattachMetadata"
- },
- "724": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "cborTx"
- },
- "725": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.maskMetadata"
- },
- "726": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.maskMetadata"
- },
- "727": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "cborTx"
- },
- "728": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "era"
- },
- "729": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.readMetadata"
- },
- "730": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.readMetadata"
- },
- "731": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "cborTx"
- },
- "732": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.writeMetadata"
- },
- "733": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.writeMetadata"
- },
- "734": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "cborTx"
- },
- "735": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "cborTxMetadata"
- },
- "736": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "era"
- },
- "737": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.__constructor"
- },
- "738": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction"
- },
- "739": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "options"
- },
- "740": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._changeAddress"
- },
- "741": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._txOutputs"
- },
- "742": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._recipients"
- },
- "743": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._totalBurns"
- },
- "744": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._totalMints"
- },
- "745": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._era"
- },
- "746": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._initiator"
- },
- "747": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._mintBuilder"
- },
- "748": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._protocolParameters"
- },
- "749": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._txBuilder"
- },
- "750": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._txCertificates"
- },
- "751": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._txInputsBuilder"
- },
- "752": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction._txWithdrawals"
- },
- "753": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.size"
- },
- "754": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.size"
- },
- "755": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.build"
- },
- "756": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.build"
- },
- "757": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.burnAsset"
- },
- "758": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.burnAsset"
- },
- "759": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "forgeScript"
- },
- "760": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "asset"
- },
- "761": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "redeemer"
- },
- "762": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.delegateStake"
- },
- "763": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.delegateStake"
- },
- "764": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "rewardAddress"
- },
- "765": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "poolId"
- },
- "766": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.deregisterStake"
- },
- "767": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.deregisterStake"
- },
- "768": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "rewardAddress"
- },
- "769": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.mintAsset"
- },
- "770": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.mintAsset"
- },
- "771": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "forgeScript"
- },
- "772": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "mint"
- },
- "773": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "redeemer"
- },
- "774": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.redeemValue"
- },
- "775": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.redeemValue"
- },
- "776": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "options"
- },
- "777": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "__type"
- },
- "778": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "__type.value"
- },
- "779": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "__type.script"
- },
- "780": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "__type.datum"
- },
- "781": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "__type.redeemer"
- },
- "782": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.registerStake"
- },
- "783": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.registerStake"
- },
- "784": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "rewardAddress"
- },
- "785": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.registerPool"
- },
- "786": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.registerPool"
- },
- "787": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "params"
- },
- "788": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.retirePool"
- },
- "789": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.retirePool"
- },
- "790": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "poolId"
- },
- "791": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "epochNo"
- },
- "792": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendAssets"
- },
- "793": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendAssets"
- },
- "794": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "recipient"
- },
- "795": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "assets"
- },
- "796": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendLovelace"
- },
- "797": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendLovelace"
- },
- "798": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "recipient"
- },
- "799": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "lovelace"
- },
- "800": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendToken"
- },
- "801": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendToken"
- },
- "802": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "recipient"
- },
- "803": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "ticker"
- },
- "804": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "amount"
- },
- "805": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendValue"
- },
- "806": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.sendValue"
- },
- "807": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "recipient"
- },
- "808": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "value"
- },
- "809": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setChangeAddress"
- },
- "810": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setChangeAddress"
- },
- "811": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "changeAddress"
- },
- "812": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setCollateral"
- },
- "813": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setCollateral"
- },
- "814": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "collateral"
- },
- "815": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setMetadata"
- },
- "816": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setMetadata"
- },
- "817": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "key"
- },
- "818": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "value"
- },
- "819": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setRequiredSigners"
- },
- "820": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setRequiredSigners"
- },
- "821": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "addresses"
- },
- "822": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setNativeScriptInput"
- },
- "823": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setNativeScriptInput"
- },
- "824": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "script"
- },
- "825": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "utxo"
- },
- "826": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTimeToStart"
- },
- "827": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTimeToStart"
- },
- "828": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "slot"
- },
- "829": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTimeToExpire"
- },
- "830": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTimeToExpire"
- },
- "831": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "slot"
- },
- "832": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTxInputs"
- },
- "833": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTxInputs"
- },
- "834": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "inputs"
- },
- "835": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTxRefInputs"
- },
- "836": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTxRefInputs"
- },
- "837": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "inputs"
- },
- "838": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.withdrawRewards"
- },
- "839": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.withdrawRewards"
- },
- "840": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "rewardAddress"
- },
- "841": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "lovelace"
- },
- "842": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addBurnInputsIfNeeded"
- },
- "843": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addBurnInputsIfNeeded"
- },
- "844": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addChangeAddress"
- },
- "845": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addChangeAddress"
- },
- "846": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addCollateralIfNeeded"
- },
- "847": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addCollateralIfNeeded"
- },
- "848": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addRequiredSignersIfNeeded"
- },
- "849": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addRequiredSignersIfNeeded"
- },
- "850": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addTxInputsAsNeeded"
- },
- "851": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addTxInputsAsNeeded"
- },
- "852": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.forgeAssetsIfNeeded"
- },
- "853": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.forgeAssetsIfNeeded"
- },
- "854": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.filterAvailableUTxOs"
- },
- "855": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.filterAvailableUTxOs"
- },
- "856": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "selectedUTxOs"
- },
- "857": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addMintOutputs"
- },
- "858": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.addMintOutputs"
- },
- "859": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.notVisited"
- },
- "860": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.notVisited"
- },
- "861": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "checkpoint"
- },
- "862": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTxOutput"
- },
- "863": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "Transaction.setTxOutput"
- },
- "864": {
- "sourceFileName": "src/transaction/transaction.service.ts",
- "qualifiedName": "asset"
- },
- "865": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder"
- },
- "866": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.__constructor"
- },
- "867": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder"
- },
- "868": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "__0"
- },
- "869": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder._fetcher"
- },
- "870": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder._submitter"
- },
- "871": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder._evaluator"
- },
- "872": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.queriedTxHashes"
- },
- "873": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.queriedUTxOs"
- },
- "874": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "__type"
- },
- "875": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "__type.__index"
- },
- "877": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.complete"
- },
- "878": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.complete"
- },
- "879": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "customizedTx"
- },
- "880": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.submitTx"
- },
- "881": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.submitTx"
- },
- "882": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "txHex"
- },
- "883": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.getUTxOInfo"
- },
- "884": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.getUTxOInfo"
- },
- "885": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "txHash"
- },
- "886": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.queryAllTxInfo"
- },
- "887": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.queryAllTxInfo"
- },
- "888": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "incompleteTxIns"
- },
- "889": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.completeTxInformation"
- },
- "890": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.completeTxInformation"
- },
- "891": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "input"
- },
- "892": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.isInputComplete"
- },
- "893": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.isInputComplete"
- },
- "894": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "txIn"
- },
- "895": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.isInputInfoComplete"
- },
- "896": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.isInputInfoComplete"
- },
- "897": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "txIn"
- },
- "898": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.isRefScriptInfoComplete"
- },
- "899": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "MeshTxBuilder.isRefScriptInfoComplete"
- },
- "900": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilder.service.ts",
- "qualifiedName": "scriptTxIn"
- },
- "901": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txHex"
- },
- "902": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txBuilder"
- },
- "903": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txEvaluationMultiplier"
- },
- "904": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.isHydra"
- },
- "905": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.meshTxBuilderBody"
- },
- "906": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintItem"
- },
- "907": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInQueueItem"
- },
- "908": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.collateralQueueItem"
- },
- "909": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.refScriptTxInQueueItem"
- },
- "910": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.reset"
- },
- "911": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.reset"
- },
- "912": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.emptyTxBuilderBody"
- },
- "913": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.emptyTxBuilderBody"
- },
- "914": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.completeSync"
- },
- "915": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.completeSync"
- },
- "916": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "customizedTx"
- },
- "917": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.completeSigning"
- },
- "918": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.completeSigning"
- },
- "919": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txIn"
- },
- "920": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txIn"
- },
- "921": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txHash"
- },
- "922": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txIndex"
- },
- "923": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "amount"
- },
- "924": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "address"
- },
- "925": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInScript"
- },
- "926": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInScript"
- },
- "927": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "scriptCbor"
- },
- "928": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "version"
- },
- "929": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInDatumValue"
- },
- "930": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInDatumValue"
- },
- "931": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "datum"
- },
- "932": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "type"
- },
- "933": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInInlineDatumPresent"
- },
- "934": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInInlineDatumPresent"
- },
- "935": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInRedeemerValue"
- },
- "936": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInRedeemerValue"
- },
- "937": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "redeemer"
- },
- "938": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "exUnits"
- },
- "939": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "__object"
- },
- "940": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.mem"
- },
- "941": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.steps"
- },
- "942": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "type"
- },
- "943": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOut"
- },
- "944": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOut"
- },
- "945": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "address"
- },
- "946": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "amount"
- },
- "947": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOutDatumHashValue"
- },
- "948": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOutDatumHashValue"
- },
- "949": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "datum"
- },
- "950": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "type"
- },
- "951": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOutInlineDatumValue"
- },
- "952": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOutInlineDatumValue"
- },
- "953": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "datum"
- },
- "954": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "type"
- },
- "955": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOutReferenceScript"
- },
- "956": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txOutReferenceScript"
- },
- "957": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "scriptCbor"
- },
- "958": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "version"
- },
- "959": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingPlutusScriptV2"
- },
- "960": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingPlutusScriptV2"
- },
- "961": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingTxInReference"
- },
- "962": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingTxInReference"
- },
- "963": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txHash"
- },
- "964": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txIndex"
- },
- "965": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "spendingScriptHash"
- },
- "966": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "version"
- },
- "967": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingReferenceTxInInlineDatumPresent"
- },
- "968": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingReferenceTxInInlineDatumPresent"
- },
- "969": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingReferenceTxInRedeemerValue"
- },
- "970": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.spendingReferenceTxInRedeemerValue"
- },
- "971": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "redeemer"
- },
- "972": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "exUnits"
- },
- "973": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "__object"
- },
- "974": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.mem"
- },
- "975": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.steps"
- },
- "976": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "type"
- },
- "977": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.readOnlyTxInReference"
- },
- "978": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.readOnlyTxInReference"
- },
- "979": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txHash"
- },
- "980": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txIndex"
- },
- "981": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintPlutusScriptV2"
- },
- "982": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintPlutusScriptV2"
- },
- "983": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mint"
- },
- "984": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mint"
- },
- "985": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "quantity"
- },
- "986": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "policy"
- },
- "987": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "name"
- },
- "988": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintingScript"
- },
- "989": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintingScript"
- },
- "990": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "scriptCBOR"
- },
- "991": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "version"
- },
- "992": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintTxInReference"
- },
- "993": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintTxInReference"
- },
- "994": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txHash"
- },
- "995": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txIndex"
- },
- "996": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "version"
- },
- "997": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintReferenceTxInRedeemerValue"
- },
- "998": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintReferenceTxInRedeemerValue"
- },
- "999": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "redeemer"
- },
- "1000": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "exUnits"
- },
- "1001": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "__object"
- },
- "1002": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.mem"
- },
- "1003": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.steps"
- },
- "1004": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "type"
- },
- "1005": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintRedeemerValue"
- },
- "1006": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.mintRedeemerValue"
- },
- "1007": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "redeemer"
- },
- "1008": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "exUnits"
- },
- "1009": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "__object"
- },
- "1010": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.mem"
- },
- "1011": {
- "sourceFileName": "src/common/types/Action.ts",
- "qualifiedName": "__type.steps"
- },
- "1012": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "type"
- },
- "1013": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.requiredSignerHash"
- },
- "1014": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.requiredSignerHash"
- },
- "1015": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "pubKeyHash"
- },
- "1016": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInCollateral"
- },
- "1017": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.txInCollateral"
- },
- "1018": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txHash"
- },
- "1019": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txIndex"
- },
- "1020": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "amount"
- },
- "1021": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "address"
- },
- "1022": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.registerPoolCertificate"
- },
- "1023": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.registerPoolCertificate"
- },
- "1024": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "poolParams"
- },
- "1025": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.registerStakeCertificate"
- },
- "1026": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.registerStakeCertificate"
- },
- "1027": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "stakeKeyHash"
- },
- "1028": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.delegateStakeCertificate"
- },
- "1029": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.delegateStakeCertificate"
- },
- "1030": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "stakeKeyHash"
- },
- "1031": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "poolId"
- },
- "1032": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.deregisterStakeCertificate"
- },
- "1033": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.deregisterStakeCertificate"
- },
- "1034": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "stakeKeyHash"
- },
- "1035": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.retirePoolCertificate"
- },
- "1036": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.retirePoolCertificate"
- },
- "1037": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "poolId"
- },
- "1038": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "epoch"
- },
- "1039": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.changeAddress"
- },
- "1040": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.changeAddress"
- },
- "1041": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "addr"
- },
- "1042": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.invalidBefore"
- },
- "1043": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.invalidBefore"
- },
- "1044": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "slot"
- },
- "1045": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.invalidHereafter"
- },
- "1046": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.invalidHereafter"
- },
- "1047": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "slot"
- },
- "1048": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.metadataValue"
- },
- "1049": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.metadataValue"
- },
- "1050": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "T"
- },
- "1051": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "tag"
- },
- "1052": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "metadata"
- },
- "1053": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.protocolParams"
- },
- "1054": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.protocolParams"
- },
- "1055": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "params"
- },
- "1056": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.signingKey"
- },
- "1057": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.signingKey"
- },
- "1058": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "skeyHex"
- },
- "1059": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.selectUtxosFrom"
- },
- "1060": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.selectUtxosFrom"
- },
- "1061": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "extraInputs"
- },
- "1062": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "threshold"
- },
- "1063": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.removeDuplicateInputs"
- },
- "1064": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.removeDuplicateInputs"
- },
- "1065": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.addAllMints"
- },
- "1066": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.addAllMints"
- },
- "1067": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "mints"
- },
- "1068": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.queueAllLastItem"
- },
- "1069": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.queueAllLastItem"
- },
- "1070": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.addAllCertificates"
- },
- "1071": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.addAllCertificates"
- },
- "1072": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "allCertificates"
- },
- "1073": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.addCostModels"
- },
- "1074": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.addCostModels"
- },
- "1075": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.updateRedeemer"
- },
- "1076": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.updateRedeemer"
- },
- "1077": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "meshTxBuilderBody"
- },
- "1078": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "txEvaluation"
- },
- "1079": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.castRawDataToJsonString"
- },
- "1080": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.castRawDataToJsonString"
- },
- "1081": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "rawData"
- },
- "1082": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.castDataToPlutusData"
- },
- "1083": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "MeshTxBuilderCore.castDataToPlutusData"
- },
- "1084": {
- "sourceFileName": "src/transaction/meshTxBuilder/meshTxBuilderCore.ts",
- "qualifiedName": "__0"
- },
- "1085": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "MeshTxBuilderBody"
- },
- "1086": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1087": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.inputs"
- },
- "1088": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.outputs"
- },
- "1089": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.extraInputs"
- },
- "1090": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.selectionThreshold"
- },
- "1091": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.collaterals"
- },
- "1092": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.requiredSignatures"
- },
- "1093": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.referenceInputs"
- },
- "1094": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.mints"
- },
- "1095": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.changeAddress"
- },
- "1096": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.metadata"
- },
- "1097": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.validityRange"
- },
- "1098": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.certificates"
- },
- "1099": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.signingKey"
- },
- "1100": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "TxIn"
- },
- "1101": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "PubKeyTxIn"
- },
- "1102": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1103": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1104": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIn"
- },
- "1105": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "TxInParameter"
- },
- "1106": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1107": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txHash"
- },
- "1108": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIndex"
- },
- "1109": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.amount"
- },
- "1110": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.address"
- },
- "1111": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "SimpleScriptTxIn"
- },
- "1112": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1113": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1114": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIn"
- },
- "1115": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.simpleScriptTxIn"
- },
- "1116": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "SimpleScriptTxInParameter"
- },
- "1117": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1118": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.scriptSource"
- },
- "1119": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1120": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1121": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.script"
- },
- "1122": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1123": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1124": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txInInfo"
- },
- "1125": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "SimpleScriptSourceInfo"
- },
- "1126": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1127": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txHash"
- },
- "1128": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIndex"
- },
- "1129": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "ScriptTxIn"
- },
- "1130": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1131": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1132": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIn"
- },
- "1133": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.scriptTxIn"
- },
- "1134": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "ScriptTxInParameter"
- },
- "1135": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1136": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.scriptSource"
- },
- "1137": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1138": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1139": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.script"
- },
- "1140": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1141": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1142": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txInInfo"
- },
- "1143": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.datumSource"
- },
- "1144": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1145": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1146": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.data"
- },
- "1147": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1148": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1149": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txHash"
- },
- "1150": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIndex"
- },
- "1151": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.redeemer"
- },
- "1152": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "ScriptSourceInfo"
- },
- "1153": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1154": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txHash"
- },
- "1155": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIndex"
- },
- "1156": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.spendingScriptHash"
- },
- "1157": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.version"
- },
- "1158": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "RefTxIn"
- },
- "1159": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1160": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txHash"
- },
- "1161": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIndex"
- },
- "1162": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "Output"
- },
- "1163": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1164": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.address"
- },
- "1165": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.amount"
- },
- "1166": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.datum"
- },
- "1167": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1168": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1169": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.data"
- },
- "1170": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.referenceScript"
- },
- "1171": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "MintItem"
- },
- "1172": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1173": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1174": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.policyId"
- },
- "1175": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.assetName"
- },
- "1176": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.amount"
- },
- "1177": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.redeemer"
- },
- "1178": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.scriptSource"
- },
- "1179": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1180": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1181": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.script"
- },
- "1182": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1183": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1184": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txHash"
- },
- "1185": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.txIndex"
- },
- "1186": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.version"
- },
- "1187": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "ValidityRange"
- },
- "1188": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1189": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.invalidBefore"
- },
- "1190": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.invalidHereafter"
- },
- "1191": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "BuilderData"
- },
- "1192": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1193": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1194": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.content"
- },
- "1195": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1196": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1197": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.content"
- },
- "1198": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1199": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1200": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.content"
- },
- "1201": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "Redeemer"
- },
- "1202": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1203": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.data"
- },
- "1204": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.exUnits"
- },
- "1205": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "Metadata"
- },
- "1206": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1207": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.tag"
- },
- "1208": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.metadata"
- },
- "1209": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "Certificate"
- },
- "1210": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1211": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1212": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.poolParams"
- },
- "1213": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1214": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1215": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.stakeKeyHash"
- },
- "1216": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1217": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1218": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.stakeKeyHash"
- },
- "1219": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.poolId"
- },
- "1220": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1221": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1222": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.stakeKeyHash"
- },
- "1223": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type"
- },
- "1224": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.type"
- },
- "1225": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.poolId"
- },
- "1226": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "__type.epoch"
- },
- "1227": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "RequiredWith"
- },
- "1228": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "T"
- },
- "1229": {
- "sourceFileName": "src/transaction/meshTxBuilder/type.ts",
- "qualifiedName": "K"
- },
- "1230": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWalletKeyType"
- },
- "1231": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type"
- },
- "1232": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.type"
- },
- "1233": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.bech32"
- },
- "1234": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type"
- },
- "1235": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.type"
- },
- "1236": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.payment"
- },
- "1237": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.stake"
- },
- "1238": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type"
- },
- "1239": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.type"
- },
- "1240": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.words"
- },
- "1241": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "CreateAppWalletOptions"
- },
- "1242": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type"
- },
- "1243": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.networkId"
- },
- "1244": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.fetcher"
- },
- "1245": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.submitter"
- },
- "1246": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "__type.key"
- },
- "1247": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet"
- },
- "1248": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.brew"
- },
- "1249": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.brew"
- },
- "1250": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "strength"
- },
- "1251": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.__constructor"
- },
- "1252": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet"
- },
- "1253": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "options"
- },
- "1254": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet._fetcher"
- },
- "1255": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet._submitter"
- },
- "1256": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet._wallet"
- },
- "1257": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getBaseAddress"
- },
- "1258": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getBaseAddress"
- },
- "1259": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1260": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1261": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getPaymentAddress"
- },
- "1262": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getPaymentAddress"
- },
- "1263": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1264": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1265": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getRewardAddress"
- },
- "1266": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getRewardAddress"
- },
- "1267": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1268": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1269": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedAddress"
- },
- "1270": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedAddress"
- },
- "1271": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1272": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1273": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedCollateral"
- },
- "1274": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedCollateral"
- },
- "1275": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "_limit"
- },
- "1276": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedUTxOs"
- },
- "1277": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedUTxOs"
- },
- "1278": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1279": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signData"
- },
- "1280": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signData"
- },
- "1281": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "address"
- },
- "1282": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "payload"
- },
- "1283": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1284": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1285": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signTx"
- },
- "1286": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signTx"
- },
- "1287": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "unsignedTx"
- },
- "1288": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "partialSign"
- },
- "1289": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1290": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1291": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signTxSync"
- },
- "1292": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signTxSync"
- },
- "1293": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "unsignedTx"
- },
- "1294": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "partialSign"
- },
- "1295": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1296": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1297": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signTxs"
- },
- "1298": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.signTxs"
- },
- "1299": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "unsignedTxs"
- },
- "1300": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "partialSign"
- },
- "1301": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.submitTx"
- },
- "1302": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.submitTx"
- },
- "1303": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "tx"
- },
- "1304": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUtxos"
- },
- "1305": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUtxos"
- },
- "1306": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getCollateral"
- },
- "1307": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getCollateral"
- },
- "1308": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedAddresses"
- },
- "1309": {
- "sourceFileName": "src/wallet/app.service.ts",
- "qualifiedName": "AppWallet.getUsedAddresses"
- },
- "1310": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet"
- },
- "1311": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getInstalledWallets"
- },
- "1312": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getInstalledWallets"
- },
- "1313": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.enable"
- },
- "1314": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.enable"
- },
- "1315": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "walletName"
- },
- "1316": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.resolveInstance"
- },
- "1317": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.resolveInstance"
- },
- "1318": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "walletName"
- },
- "1319": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.__constructor"
- },
- "1320": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet"
- },
- "1321": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "_walletInstance"
- },
- "1322": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "_walletName"
- },
- "1323": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.walletInstance"
- },
- "1324": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet._walletInstance"
- },
- "1325": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet._walletName"
- },
- "1326": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getBalance"
- },
- "1327": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getBalance"
- },
- "1328": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getChangeAddress"
- },
- "1329": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getChangeAddress"
- },
- "1330": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getCollateral"
- },
- "1331": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getCollateral"
- },
- "1332": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "limit"
- },
- "1333": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getNetworkId"
- },
- "1334": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getNetworkId"
- },
- "1335": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getRewardAddresses"
- },
- "1336": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getRewardAddresses"
- },
- "1337": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUnusedAddresses"
- },
- "1338": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUnusedAddresses"
- },
- "1339": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedAddresses"
- },
- "1340": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedAddresses"
- },
- "1341": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUtxos"
- },
- "1342": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUtxos"
- },
- "1343": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "amount"
- },
- "1344": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.signData"
- },
- "1345": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.signData"
- },
- "1346": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "address"
- },
- "1347": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "payload"
- },
- "1348": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.signTx"
- },
- "1349": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.signTx"
- },
- "1350": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "unsignedTx"
- },
- "1351": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "partialSign"
- },
- "1352": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.signTxs"
- },
- "1353": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.signTxs"
- },
- "1354": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "unsignedTxs"
- },
- "1355": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "partialSign"
- },
- "1356": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.submitTx"
- },
- "1357": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.submitTx"
- },
- "1358": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "tx"
- },
- "1359": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedAddress"
- },
- "1360": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedAddress"
- },
- "1361": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedCollateral"
- },
- "1362": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedCollateral"
- },
- "1363": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "limit"
- },
- "1364": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedUTxOs"
- },
- "1365": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getUsedUTxOs"
- },
- "1366": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "amount"
- },
- "1367": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getAssets"
- },
- "1368": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getAssets"
- },
- "1369": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getLovelace"
- },
- "1370": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getLovelace"
- },
- "1371": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getPolicyIdAssets"
- },
- "1372": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getPolicyIdAssets"
- },
- "1373": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "policyId"
- },
- "1374": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getPolicyIds"
- },
- "1375": {
- "sourceFileName": "src/wallet/browser.service.ts",
- "qualifiedName": "BrowserWallet.getPolicyIds"
- },
- "1376": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet"
- },
- "1377": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encryptMnemonic"
- },
- "1378": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encryptMnemonic"
- },
- "1379": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "words"
- },
- "1380": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1381": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encryptPrivateKey"
- },
- "1382": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encryptPrivateKey"
- },
- "1383": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "bech32"
- },
- "1384": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1385": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encryptSigningKeys"
- },
- "1386": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encryptSigningKeys"
- },
- "1387": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "cborPaymentKey"
- },
- "1388": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "cborStakeKey"
- },
- "1389": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1390": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.generateMnemonic"
- },
- "1391": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.generateMnemonic"
- },
- "1392": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "strength"
- },
- "1393": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.decrypt"
- },
- "1394": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.decrypt"
- },
- "1395": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "data"
- },
- "1396": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1397": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encrypt"
- },
- "1398": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.encrypt"
- },
- "1399": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "data"
- },
- "1400": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1401": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.resolveAddress"
- },
- "1402": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.resolveAddress"
- },
- "1403": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "networkId"
- },
- "1404": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "bech32"
- },
- "1405": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "payment"
- },
- "1406": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "stake"
- },
- "1407": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.resolveKeys"
- },
- "1408": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.resolveKeys"
- },
- "1409": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1410": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1411": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1412": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "encryptedSecret"
- },
- "1413": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "__type"
- },
- "1414": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "__type.paymentKey"
- },
- "1415": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "__type.stakeKey"
- },
- "1416": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.resolveSigners"
- },
- "1417": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.resolveSigners"
- },
- "1418": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "cborTx"
- },
- "1419": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "utxos"
- },
- "1420": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "paymentKeyHash"
- },
- "1421": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.__constructor"
- },
- "1422": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet"
- },
- "1423": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "_networkId"
- },
- "1424": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "_encryptedSecret"
- },
- "1425": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet._networkId"
- },
- "1426": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet._encryptedSecret"
- },
- "1427": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.getAccount"
- },
- "1428": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.getAccount"
- },
- "1429": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1430": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1431": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1432": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.signData"
- },
- "1433": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.signData"
- },
- "1434": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1435": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1436": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "address"
- },
- "1437": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "payload"
- },
- "1438": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1439": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.signTx"
- },
- "1440": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.signTx"
- },
- "1441": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1442": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1443": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "utxos"
- },
- "1444": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "unsignedTx"
- },
- "1445": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "partialSign"
- },
- "1446": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1447": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.addPaymentKey"
- },
- "1448": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.addPaymentKey"
- },
- "1449": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1450": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1451": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "unsignedTx"
- },
- "1452": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "signatures"
- },
- "1453": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1454": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.accountContext"
- },
- "1455": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "EmbeddedWallet.accountContext"
- },
- "1456": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "T"
- },
- "1457": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "accountIndex"
- },
- "1458": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "keyIndex"
- },
- "1459": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "password"
- },
- "1460": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "callback"
- },
- "1461": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "__type"
- },
- "1462": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "__type"
- },
- "1463": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "paymentKey"
- },
- "1464": {
- "sourceFileName": "src/wallet/embedded.service.ts",
- "qualifiedName": "stakeKey"
- },
- "1465": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "CreateMeshWalletOptions"
- },
- "1466": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type"
- },
- "1467": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.networkId"
- },
- "1468": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.fetcher"
- },
- "1469": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.submitter"
- },
- "1470": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.key"
- },
- "1471": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type"
- },
- "1472": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.type"
- },
- "1473": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.bech32"
- },
- "1474": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type"
- },
- "1475": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.type"
- },
- "1476": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.payment"
- },
- "1477": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.stake"
- },
- "1478": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type"
- },
- "1479": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.type"
- },
- "1480": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "__type.words"
- },
- "1481": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet"
- },
- "1482": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.brew"
- },
- "1483": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.brew"
- },
- "1484": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "privateKey"
- },
- "1485": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "strength"
- },
- "1486": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.__constructor"
- },
- "1487": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet"
- },
- "1488": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "options"
- },
- "1489": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet._wallet"
- },
- "1490": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet._network"
- },
- "1491": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getBalance"
- },
- "1492": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getBalance"
- },
- "1493": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getChangeAddress"
- },
- "1494": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getChangeAddress"
- },
- "1495": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getCollateral"
- },
- "1496": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getCollateral"
- },
- "1497": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getNetworkId"
- },
- "1498": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getNetworkId"
- },
- "1499": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getRewardAddresses"
- },
- "1500": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getRewardAddresses"
- },
- "1501": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUnusedAddresses"
- },
- "1502": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUnusedAddresses"
- },
- "1503": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedAddresses"
- },
- "1504": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedAddresses"
- },
- "1505": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUtxos"
- },
- "1506": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUtxos"
- },
- "1507": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.signData"
- },
- "1508": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.signData"
- },
- "1509": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "payload"
- },
- "1510": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.signTx"
- },
- "1511": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.signTx"
- },
- "1512": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "unsignedTx"
- },
- "1513": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "partialSign"
- },
- "1514": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.signTxs"
- },
- "1515": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.signTxs"
- },
- "1516": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "unsignedTxs"
- },
- "1517": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "partialSign"
- },
- "1518": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.submitTx"
- },
- "1519": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.submitTx"
- },
- "1520": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "tx"
- },
- "1521": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedAddress"
- },
- "1522": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedAddress"
- },
- "1523": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedCollateral"
- },
- "1524": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedCollateral"
- },
- "1525": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedUTxOs"
- },
- "1526": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getUsedUTxOs"
- },
- "1527": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getAssets"
- },
- "1528": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getAssets"
- },
- "1529": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getLovelace"
- },
- "1530": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getLovelace"
- },
- "1531": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getPolicyIdAssets"
- },
- "1532": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getPolicyIdAssets"
- },
- "1533": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "policyId"
- },
- "1534": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getPolicyIds"
- },
- "1535": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.getPolicyIds"
- },
- "1536": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.createCollateral"
- },
- "1537": {
- "sourceFileName": "src/wallet/mesh.service.ts",
- "qualifiedName": "MeshWallet.createCollateral"
- }
- }
-}
\ No newline at end of file
diff --git a/apps/mesh-docs/src/data/get-children-by-id.ts b/apps/mesh-docs/src/data/get-children-by-id.ts
deleted file mode 100644
index 289aefd57..000000000
--- a/apps/mesh-docs/src/data/get-children-by-id.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import data from './api.json';
-import { findObjectInArray } from './utils';
-
-export default function getChildrenById(id: number) {
- const child = findObjectInArray({
- array: data.children,
- key: 'id',
- value: id,
- });
- if (child) {
- if (child.kind) {
- if (child.kind == 128) child.kind = 'Class';
- // if(child.kind == 256) child.kind = 'Interface';
- // if(child.kind == 512) child.kind = 'Constructor';
- // if(child.kind == 1024) child.kind = '';
- // if(child.kind == 2048) child.kind = 'Function';
- if (child.kind == 2097152) child.kind = 'Type';
- }
- }
- return child;
-}
diff --git a/apps/mesh-docs/src/data/get-class-children.ts b/apps/mesh-docs/src/data/get-class-children.ts
deleted file mode 100644
index d46821e50..000000000
--- a/apps/mesh-docs/src/data/get-class-children.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import getClass from './get-class';
-import { findObjectInArray } from './utils';
-
-export default function getClassChildren(name: string, id: number) {
- const thisClass = getClass(name);
-
- const children = findObjectInArray({
- array: thisClass.children,
- key: 'id',
- value: id,
- });
-
- return children;
-}
diff --git a/apps/mesh-docs/src/data/get-class-groups.ts b/apps/mesh-docs/src/data/get-class-groups.ts
deleted file mode 100644
index 03ee9965a..000000000
--- a/apps/mesh-docs/src/data/get-class-groups.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import getClass from './get-class';
-import { findObjectInArray } from './utils';
-
-export default function getClassGroups(name) {
- const thisClass = getClass(name);
-
- const groups = thisClass.groups.map((group) => {
- return {
- title: group.title,
- children: group.children
- .map((id) => {
- return findObjectInArray({
- array: thisClass.children,
- key: 'id',
- value: id,
- });
- })
- .filter((child) => {
- if (child.flags.isPrivate == true || child.flags.isProtected == true)
- return false;
- return true;
- }),
- };
- });
-
- return groups;
-}
diff --git a/apps/mesh-docs/src/data/get-class.ts b/apps/mesh-docs/src/data/get-class.ts
deleted file mode 100644
index 324e1ec65..000000000
--- a/apps/mesh-docs/src/data/get-class.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import getClasses from './get-classes';
-import { findObjectInArray } from './utils';
-
-export default function getClass(name) {
- const classes = getClasses();
-
- const meshClass = findObjectInArray({
- array: classes,
- key: 'name',
- value: name,
- });
-
- return meshClass;
-}
diff --git a/apps/mesh-docs/src/data/get-classes.ts b/apps/mesh-docs/src/data/get-classes.ts
deleted file mode 100644
index fc1729da1..000000000
--- a/apps/mesh-docs/src/data/get-classes.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import data from './api.json';
-import { findObjectInArray } from './utils';
-
-export default function getClasses() {
- const groupClasses = findObjectInArray({
- array: data.groups,
- key: 'title',
- value: 'Classes',
- });
-
- const classes = groupClasses.children.map((child: any) => {
- const classData = findObjectInArray({
- array: data.children,
- key: 'id',
- value: child,
- });
- return classData;
- });
-
- return classes;
-}
diff --git a/apps/mesh-docs/src/data/get-function.ts b/apps/mesh-docs/src/data/get-function.ts
deleted file mode 100644
index 8b4c5191f..000000000
--- a/apps/mesh-docs/src/data/get-function.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import getFunctions from './get-functions';
-import { findObjectInArray } from './utils';
-
-export default function getFunction(name: string) {
- const functions = getFunctions();
-
- return findObjectInArray({
- array: functions,
- key: 'name',
- value: name,
- });
-}
diff --git a/apps/mesh-docs/src/data/get-functions.ts b/apps/mesh-docs/src/data/get-functions.ts
deleted file mode 100644
index 261adf55b..000000000
--- a/apps/mesh-docs/src/data/get-functions.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import data from './api.json';
-import { findObjectInArray } from './utils';
-
-export default function getFunctions() {
- const group = findObjectInArray({
- array: data.groups,
- key: 'title',
- value: 'Functions',
- });
-
- const classes = group.children.map((child: any) => {
- const classData = findObjectInArray({
- array: data.children,
- key: 'id',
- value: child,
- });
- return classData;
- });
-
- return classes;
-}
diff --git a/apps/mesh-docs/src/data/get-interface-groups.ts b/apps/mesh-docs/src/data/get-interface-groups.ts
deleted file mode 100644
index 54bcac2aa..000000000
--- a/apps/mesh-docs/src/data/get-interface-groups.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import getInterface from './get-interface';
-import { findObjectInArray } from './utils';
-
-export default function getInterfaceGroups(name: string) {
- const thisInterface = getInterface(name);
-
- const groups = thisInterface.groups.map((group: any) => {
- return {
- title: group.title,
- children: group.children
- .map((id: number) => {
- return findObjectInArray({
- array: thisInterface.children,
- key: 'id',
- value: id,
- });
- })
- .filter((child: any) => {
- if (child.flags.isPrivate == true || child.flags.isProtected == true)
- return false;
- return true;
- }),
- };
- });
-
- return groups;
-}
diff --git a/apps/mesh-docs/src/data/get-interface.ts b/apps/mesh-docs/src/data/get-interface.ts
deleted file mode 100644
index 27e0e0920..000000000
--- a/apps/mesh-docs/src/data/get-interface.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import getInterfaces from './get-interfaces';
-import { findObjectInArray } from './utils';
-
-export default function getInterface(name: string) {
- const interfaces = getInterfaces();
-
- return findObjectInArray({
- array: interfaces,
- key: 'name',
- value: name,
- });
-}
diff --git a/apps/mesh-docs/src/data/get-interfaces.ts b/apps/mesh-docs/src/data/get-interfaces.ts
deleted file mode 100644
index 612ac7ad8..000000000
--- a/apps/mesh-docs/src/data/get-interfaces.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import data from './api.json';
-import { findObjectInArray } from './utils';
-
-export default function getInterfaces() {
- const group = findObjectInArray({
- array: data.groups,
- key: 'title',
- value: 'Interfaces',
- });
-
- const classes = group.children.map((child: any) => {
- const classData = findObjectInArray({
- array: data.children,
- key: 'id',
- value: child,
- });
- return classData;
- });
-
- return classes;
-}
diff --git a/apps/mesh-docs/src/data/get-type.ts b/apps/mesh-docs/src/data/get-type.ts
deleted file mode 100644
index bb13c97bc..000000000
--- a/apps/mesh-docs/src/data/get-type.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import getTypes from './get-types';
-import { findObjectInArray } from './utils';
-
-export default function getType(name: string) {
- const types = getTypes();
-
- return findObjectInArray({
- array: types,
- key: 'name',
- value: name,
- });
-}
diff --git a/apps/mesh-docs/src/data/get-types.ts b/apps/mesh-docs/src/data/get-types.ts
deleted file mode 100644
index 29b404cab..000000000
--- a/apps/mesh-docs/src/data/get-types.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import data from './api.json';
-import { findObjectInArray } from './utils';
-
-export default function getTypes() {
- const group = findObjectInArray({
- array: data.groups,
- key: 'title',
- value: 'Type Aliases',
- });
-
- const classes = group.children.map((child: any) => {
- const classData = findObjectInArray({
- array: data.children,
- key: 'id',
- value: child,
- });
- return classData;
- });
-
- return classes;
-}
diff --git a/apps/mesh-docs/tsconfig.json b/apps/mesh-docs/tsconfig.json
deleted file mode 100644
index e5d5036f9..000000000
--- a/apps/mesh-docs/tsconfig.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "compilerOptions": {
- "lib": ["dom", "dom.iterable", "esnext"],
- "allowJs": true,
- "skipLibCheck": true,
- "strict": true,
- "noEmit": true,
- "esModuleInterop": true,
- "module": "esnext",
- "moduleResolution": "bundler",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "preserve",
- "incremental": true,
- "plugins": [
- {
- "name": "next"
- }
- ],
- "paths": {
- "@/*": ["./src/*"]
- },
- "noImplicitAny": false
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
- "exclude": ["node_modules"]
-}
diff --git a/apps/mesh-web/.eslintrc.json b/apps/mesh-web/.eslintrc.json
deleted file mode 100644
index 82bf0654a..000000000
--- a/apps/mesh-web/.eslintrc.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "extends": "next/core-web-vitals",
- "react/no-unescaped-entities": 0
-}
diff --git a/apps/mesh-web/README.md b/apps/mesh-web/README.md
deleted file mode 100644
index 19060d1ad..000000000
--- a/apps/mesh-web/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Mesh Playground
-
-## How to start the Mesh Playground on localhost
-
-From the root folder...
-
-#### 1. Setup
-Run:
-```sh
-npm install
-```
-
-#### 2. Start module building
-Run:
-```sh
-npm run start:module
-```
-
-#### 3. Start Playground
-Open a new Terminal and:
-```sh
-npm run start:demo
-```
-and visit [http://localhost:3000/](http://localhost:3000/)
diff --git a/apps/mesh-web/components/common/blockchainProvider.tsx b/apps/mesh-web/components/common/blockchainProvider.tsx
deleted file mode 100644
index a4465408d..000000000
--- a/apps/mesh-web/components/common/blockchainProvider.tsx
+++ /dev/null
@@ -1,64 +0,0 @@
-import ButtonGroup from '../ui/buttongroup';
-import Codeblock from '../ui/codeblock';
-import { useState } from 'react';
-
-export default function BlockchainProviderCodeSnippet() {
- const [blockchainProvider, setBlockchainProvider] = useState('blockfrost');
-
- let codeBF = `import { BlockfrostProvider } from '@meshsdk/core';\n\n`;
- codeBF += `const blockchainProvider = new BlockfrostProvider('');`;
-
- let codeKoios = `import { KoiosProvider } from '@meshsdk/core';\n\n`;
- codeKoios += `const blockchainProvider = new KoiosProvider('', '');`;
-
- let codeTango = `import { TangoProvider } from '@meshsdk/core';\n\n`;
- codeTango += `const blockchainProvider = new TangoProvider(\n`;
- codeTango += ` '',\n`;
- codeTango += ` ''\n`;
- codeTango += ` ''\n`;
- codeTango += `);`;
-
- let codeMaestro = `import { MaestroProvider } from '@meshsdk/core';\n\n`;
- codeMaestro += `const MaestroProvider = new MaestroProvider({\n`;
- codeMaestro += ` network: 'Preprod',\n`;
- codeMaestro += ` apiKey: '', // Get yours by visiting https://docs.gomaestro.org/docs/Getting-started/Sign-up-login.\n`;
- codeMaestro += ` turboSubmit: false // Read about paid turbo transaction submission feature at https://docs.gomaestro.org/docs/Dapp%20Platform/Turbo%20Transaction.\n`;
- codeMaestro += `});\n`;
-
- let code = codeBF;
- if (blockchainProvider == 'koios') {
- code = codeKoios;
- }
- if (blockchainProvider == 'tango') {
- code = codeTango;
- }
- if (blockchainProvider == 'maestro') {
- code = codeMaestro;
- }
-
- return (
- <>
- setBlockchainProvider('maestro'),
- },
- {
- key: 'blockfrost',
- label: 'Blockfrost',
- onClick: () => setBlockchainProvider('blockfrost'),
- },
- {
- key: 'koios',
- label: 'Koios',
- onClick: () => setBlockchainProvider('koios'),
- },
- ]}
- currentSelected={blockchainProvider}
- />
-
- >
- );
-}
diff --git a/apps/mesh-web/components/common/connectCipWallet.tsx b/apps/mesh-web/components/common/connectCipWallet.tsx
deleted file mode 100644
index 4ed04507a..000000000
--- a/apps/mesh-web/components/common/connectCipWallet.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { CardanoWallet, useWalletList } from '@meshsdk/react';
-
-export default function ConnectCipWallet() {
- const wallets = useWalletList();
- const hasAvailableWallets = wallets.length > 0;
- return (
- <>{hasAvailableWallets ? : <>No wallets installed>}>
- );
-}
diff --git a/apps/mesh-web/components/common/fetchSelectAssets.tsx b/apps/mesh-web/components/common/fetchSelectAssets.tsx
deleted file mode 100644
index e5f523c55..000000000
--- a/apps/mesh-web/components/common/fetchSelectAssets.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-import type { AssetExtended } from '@meshsdk/core';
-import { useEffect, useState } from 'react';
-import { useWallet } from '@meshsdk/react';
-import Button from '../ui/button';
-import { assetAsset, assetPolicyId } from '../../configs/demo';
-
-export default function FetchSelectAssets({
- index,
- selectedAssets,
- selectAssetFn,
-}) {
- const { wallet, connected, connecting } = useWallet();
- const [loadingAssets, setLoadingAssets] = useState(false);
- const [walletAssets, setWalletAssets] = useState([
- {
- unit: assetAsset,
- policyId: assetPolicyId,
- assetName: 'MeshToken',
- fingerprint: 'asset1vy4dlqfc42r49jtvz5v4ek3s7wz96s0azur5xx',
- quantity: '10',
- },
- {
- unit: '8f78a4388b1a3e1a1435257e9356fa0c2cc0d3a5999d63b5886c964354657374746f6b656e',
- policyId: '8f78a4388b1a3e1a1435257e9356fa0c2cc0d3a5999d63b5886c9643',
- assetName: 'CardanoToken',
- fingerprint: 'asset1mdkjgeufm9lk4yzszckq6r7t5p4vzhwz2dz90k',
- quantity: '5',
- },
- ]);
-
- useEffect(() => {
- async function init() {
- setLoadingAssets(true);
- const assets = await wallet.getAssets();
- setWalletAssets(assets);
- setLoadingAssets(false);
- }
- if (connected) {
- init();
- }
- }, [connected]);
-
- useEffect(() => {
- if (connecting && !connected) {
- setWalletAssets([]);
- }
- }, [connecting]);
-
- return (
- <>
-
- Select assets
-
- {loadingAssets && Fetching assets...
}
-
-
- {walletAssets.map((asset, i) => {
- return (
- selectAssetFn(index, asset.unit)}
- className="truncate"
- style={
- asset.unit in selectedAssets && selectedAssets[asset.unit]
- ? 'success'
- : 'light'
- }
- >
- {asset.assetName}
-
- );
- })}
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/common/layout.tsx b/apps/mesh-web/components/common/layout.tsx
deleted file mode 100644
index 0d4c28feb..000000000
--- a/apps/mesh-web/components/common/layout.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import CommonSidebar from './sidebar';
-
-export default function CommonLayout({ children, sidebarItems }) {
- return (
- <>
-
- >
- );
-}
diff --git a/apps/mesh-web/components/common/mintMeshToken.tsx b/apps/mesh-web/components/common/mintMeshToken.tsx
deleted file mode 100644
index 388d36c37..000000000
--- a/apps/mesh-web/components/common/mintMeshToken.tsx
+++ /dev/null
@@ -1,97 +0,0 @@
-import Button from '../ui/button';
-import { CardanoWallet, useWallet } from '@meshsdk/react';
-import { useState } from 'react';
-import {
- ForgeScript,
- Transaction,
- AppWallet,
- BlockfrostProvider,
-} from '@meshsdk/core';
-import type { AssetMetadata, Mint } from '@meshsdk/core';
-import { demoMnemonic } from '../../configs/demo';
-import RunDemoResult from './runDemoResult';
-
-export default function MintMeshToken() {
- const { connected, wallet } = useWallet();
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runMint() {
- setLoading(true);
- try {
- const blockchainProvider = new BlockfrostProvider(
- process.env.NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD!
- );
-
- const mintingWallet = new AppWallet({
- networkId: 0,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'mnemonic',
- words: demoMnemonic,
- },
- });
-
- const usedAddress = await wallet.getUsedAddresses();
- const address = usedAddress[0];
- const forgingScript = ForgeScript.withOneSignature(
- mintingWallet.getPaymentAddress()
- );
-
- const tx = new Transaction({ initiator: wallet });
-
- const assetMetadata: AssetMetadata = {
- name: 'Mesh Token',
- image: 'ipfs://QmRzicpReutwCkM6aotuKjErFCUD213DpwPq6ByuzMJaua',
- mediaType: 'image/jpg',
- description: 'This NFT was minted by Mesh (https://meshjs.dev/).',
- };
- const asset: Mint = {
- assetName: 'MeshToken',
- assetQuantity: '1',
- metadata: assetMetadata,
- label: '721',
- recipient: address,
- };
- tx.mintAsset(forgingScript, asset);
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx, true);
- const signedTx2 = await mintingWallet.signTx(signedTx, true);
- const txHash = await wallet.submitTx(signedTx2);
- setResponse(txHash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
- {connected ? (
- <>
- runMint()}
- style={
- loading ? 'warning' : response !== null ? 'success' : 'light'
- }
- disabled={loading}
- >
- Mint Mesh Token
-
- {response !== null && (
- <>
- Mesh token minted successful.
-
- >
- )}
-
- >
- ) : (
-
- )}
- >
- );
-}
diff --git a/apps/mesh-web/components/common/runDemoButton.tsx b/apps/mesh-web/components/common/runDemoButton.tsx
deleted file mode 100644
index dad2964ae..000000000
--- a/apps/mesh-web/components/common/runDemoButton.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import { PlayIcon } from '@heroicons/react/24/solid';
-import Button from '../ui/button';
-
-export default function RunDemoButton({
- runDemoFn,
- loading,
- response,
- label = 'Run code snippet',
- disabled = false,
-}) {
- return (
- runDemoFn()}
- style={loading ? 'warning' : response !== null ? 'success' : 'light'}
- disabled={loading || disabled}
- >
- {label}
-
- );
-}
diff --git a/apps/mesh-web/components/common/runDemoResult.tsx b/apps/mesh-web/components/common/runDemoResult.tsx
deleted file mode 100644
index d5d3871e2..000000000
--- a/apps/mesh-web/components/common/runDemoResult.tsx
+++ /dev/null
@@ -1,16 +0,0 @@
-import Codeblock from '../ui/codeblock';
-
-export default function RunDemoResult({ response, label = 'Result' }) {
- return (
- <>
- {response !== null && response !== undefined && (
- <>
-
- {label}:
-
-
- >
- )}
- >
- );
-}
diff --git a/apps/mesh-web/components/common/section.tsx b/apps/mesh-web/components/common/section.tsx
deleted file mode 100644
index 1b77f81ca..000000000
--- a/apps/mesh-web/components/common/section.tsx
+++ /dev/null
@@ -1,44 +0,0 @@
-import { LinkIcon } from '@heroicons/react/24/solid';
-import { Element } from 'react-scroll';
-import { useClipboard } from '../../hooks/useCopyClipboard';
-import { useRouter } from 'next/router';
-import { rootUrl } from '../../configs/site';
-
-export default function Section({
- sidebarTo,
- header,
- contentFn,
- isH3 = false,
- badge = <>>,
-}) {
- const { pathname } = useRouter();
- const { value, onCopy, hasCopied } = useClipboard(
- `${rootUrl}${pathname}#${sidebarTo}`
- );
-
- return (
-
- {isH3 ? (
-
-
- {header}
- {badge && {badge} }
-
- onCopy()}>
-
-
-
- ) : (
-
-
{header}
- onCopy()}>
-
-
-
- )}
-
-
- );
-}
diff --git a/apps/mesh-web/components/common/sectionTwoCol.tsx b/apps/mesh-web/components/common/sectionTwoCol.tsx
deleted file mode 100644
index 8819b1f0e..000000000
--- a/apps/mesh-web/components/common/sectionTwoCol.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-import { LinkIcon } from '@heroicons/react/24/solid';
-import { Element } from 'react-scroll';
-import { useClipboard } from '../../hooks/useCopyClipboard';
-import { useRouter } from 'next/router';
-import { rootUrl } from '../../configs/site';
-
-export default function SectionTwoCol({
- sidebarTo,
- header,
- leftFn,
- rightFn,
- isH3 = false,
- badge = <>>,
-}) {
- const { pathname } = useRouter();
- const { value, onCopy, hasCopied } = useClipboard(
- `${rootUrl}${pathname}#${sidebarTo}`
- );
-
- return (
-
- {isH3 ? (
-
-
- {header}
- {badge && {badge} }
-
- onCopy()}>
-
-
-
- ) : (
-
-
{header}
- onCopy()}>
-
-
-
- )}
-
-
- );
-}
diff --git a/apps/mesh-web/components/common/showMoreDetails.tsx b/apps/mesh-web/components/common/showMoreDetails.tsx
deleted file mode 100644
index 1f9775d80..000000000
--- a/apps/mesh-web/components/common/showMoreDetails.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-import { ChevronUpIcon, ChevronDownIcon } from '@heroicons/react/24/solid';
-import { useState } from 'react';
-
-export default function ShowMoreDetails({ children, label = 'Show details' }) {
- const [show, setShow] = useState(false);
- return (
- <>
-
- setShow(!show)}
- >
- {label}
- {show ? (
-
- ) : (
-
- )}
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/common/sidebar.tsx b/apps/mesh-web/components/common/sidebar.tsx
deleted file mode 100644
index 5a3452a82..000000000
--- a/apps/mesh-web/components/common/sidebar.tsx
+++ /dev/null
@@ -1,36 +0,0 @@
-import { Link } from 'react-scroll';
-
-export default function CommonSidebar({ sidebarItems }) {
- return (
-
-
-
-
- Topics
-
-
-
- {sidebarItems.map((item, i) => {
- return (
-
-
- {item.label}
-
-
- );
- })}
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/courses/courseSidebar.tsx b/apps/mesh-web/components/courses/courseSidebar.tsx
deleted file mode 100644
index b513b02ee..000000000
--- a/apps/mesh-web/components/courses/courseSidebar.tsx
+++ /dev/null
@@ -1,96 +0,0 @@
-import { ChevronDownIcon } from '@heroicons/react/24/solid';
-import Link from 'next/link';
-import { useEffect, useState } from 'react';
-import { useRouter } from 'next/router';
-
-export default function CoursesSidebar({ root, menu }) {
- return (
-
-
-
-
-
- {menu.map((item, i) => {
- if (item.type === 'submenu') {
- return ;
- } else {
- return ;
- }
- })}
-
-
-
-
-
- );
-}
-
-function MenuLink({ menuItem, root, key = 0, itemParent = undefined }) {
- let style =
- 'flex items-center p-2 text-base font-normal text-gray-900 rounded-lg hover:bg-gray-100 group dark:text-gray-200 dark:hover:bg-gray-700';
- if (itemParent) {
- style =
- 'flex items-center p-2 pl-11 text-base font-normal text-gray-900 rounded-lg transition duration-75 group hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-700';
- }
- style += ` cursor-pointer`;
-
- const router = useRouter();
- if (router.pathname.includes(menuItem.url)) {
- style += ' bg-gray-100 dark:bg-gray-700';
- }
-
- let url = root;
- if (itemParent !== undefined) {
- // @ts-ignore
- url += `/${itemParent.url}`;
- }
- url += `/${menuItem.url}`;
-
- return (
-
-
-
- {menuItem.label}
-
-
-
- );
-}
-
-function MenuSubmenu({ menuItem, root }) {
- const [showSubmenu, setShowSubmenu] = useState(false);
- const router = useRouter();
-
- useEffect(() => {
- if (router.pathname.includes(menuItem.url)) {
- setShowSubmenu(true);
- }
- }, []);
-
- return (
-
- {
- setShowSubmenu(!showSubmenu);
- }}
- >
-
- {menuItem.label}
-
-
-
-
- {menuItem.children.map((item, i) => {
- return MenuLink({
- menuItem: item,
- root: root,
- key: i,
- itemParent: menuItem,
- });
- })}
-
-
- );
-}
diff --git a/apps/mesh-web/components/courses/layout.tsx b/apps/mesh-web/components/courses/layout.tsx
deleted file mode 100644
index c737c499d..000000000
--- a/apps/mesh-web/components/courses/layout.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-import Metatags from '../site/metatags';
-
-export default function CourseLayout({
- children,
- coursesSidebar,
- title,
- desc,
- youtubeId,
-}: {
- children;
- coursesSidebar;
- title;
- desc;
- youtubeId?;
-}) {
- return (
- <>
-
-
-
{coursesSidebar}
-
-
- {youtubeId && (
-
- )}
-
-
-
- {desc}
- {children}
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/about/catalyst.tsx b/apps/mesh-web/components/pages/about/catalyst.tsx
deleted file mode 100644
index 416ea6a87..000000000
--- a/apps/mesh-web/components/pages/about/catalyst.tsx
+++ /dev/null
@@ -1,224 +0,0 @@
-import Link from 'next/link';
-
-export default function Catalyst() {
- return (
- <>
-
-
-
-
- Catalyst
-
-
- Here are proposals that we have submitted to Project Catalyst and
- its progress.
-
-
-
-
-
-
-
- >
- );
-}
-
-function ListOfProposals() {
- return (
- <>
-
-
-
-
-
-
-
-
-
-
- >
- );
-}
-
-function CardLink({
- title,
- desc,
- url,
- completed,
- tobecompleted,
- fund,
- status,
-}) {
- return (
-
-
- {title}
-
-
-
- {status}
-
-
- {fund}
-
-
-
{desc}
-
- {completed.map((item, index) => (
-
-
- {item}
-
- ))}
-
-
- {tobecompleted.map((item, index) => (
-
-
-
-
-
-
- {item}
-
- ))}
-
- {url && (
-
-
-
- projectcatalyst.io
-
-
-
- )}
-
- );
-}
diff --git a/apps/mesh-web/components/pages/about/cips/index.tsx b/apps/mesh-web/components/pages/about/cips/index.tsx
deleted file mode 100644
index cfccd3ea5..000000000
--- a/apps/mesh-web/components/pages/about/cips/index.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import List from './list';
-
-export default function Cips() {
- return (
- <>
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/about/cips/list.tsx b/apps/mesh-web/components/pages/about/cips/list.tsx
deleted file mode 100644
index daab69076..000000000
--- a/apps/mesh-web/components/pages/about/cips/list.tsx
+++ /dev/null
@@ -1,164 +0,0 @@
-import Link from 'next/link';
-import Codeblock from '../../../ui/codeblock';
-
-export default function List() {
- return (
-
-
-
-
- Cardano Improvement Proposals{' '}
- {/* */}
- Implemented
- {/* */}
-
-
- Mesh ensures your dApp adheres to the standards provided by the
- Cardano Community.
-
-
-
-
-
- Adopted Coin Selection Strategies
from Cardano
- Serialization Lib into{' '}
- Transaction.
-
- >
- }
- />
-
-
- Use your wallet to sign message with{' '}
- wallet.signData
, see{' '}
- App Wallet and{' '}
- Browser Wallet.
-
- >
- }
- />
-
-
- Get asset fingerprint with resolveFingerprint
,
- see Resolvers.
-
- >
- }
- />
-
-
- Import AssetMetadata
to adhere to the NFT
- metadata standards, see{' '}
- Transaction.
-
- >
- }
- />
-
-
- Learn how to{' '}
-
- mint royalty token
-
- .
-
- >
- }
- />
-
-
- Browser Wallet is
- compatible with CIP-30
wallets.
-
- >
- }
- />
-
-
- Transaction allow users
- to reference datums when redeem from a V2 plutus script.
-
- >
- }
- />
-
-
- Transaction allow users
- to attach inline datums to transaction output.
-
- >
- }
- />
-
-
- Transaction allow users
- to reference a plutus script instead of suppling the whole
- script as part of the transaction..
-
- >
- }
- />
-
-
- App Wallet follows{' '}
- CIP-1852
for deriving Stake and Payment Keys.
-
- >
- }
- />
-
-
-
- );
-}
-
-function Card({ title, content }) {
- return (
-
-
{title}
-
- {content}
-
-
- );
-}
-
-{
- /* */
-}
diff --git a/apps/mesh-web/components/pages/about/faq.tsx b/apps/mesh-web/components/pages/about/faq.tsx
deleted file mode 100644
index 78d9d977f..000000000
--- a/apps/mesh-web/components/pages/about/faq.tsx
+++ /dev/null
@@ -1,287 +0,0 @@
-import Link from 'next/link';
-
-export default function AboutFaq() {
- return (
-
-
-
-
- Information and Common Questions
-
-
- Ask us anything on our{' '}
-
- Discord server
-
-
-
-
-
-
-
-
-
- The word "
-
- Mesh
-
- " is defined as:{' '}
-
-
-
-
- when different things or people mesh, they suit each
- other or work well together
-
-
-
-
- (of two or more things) to fit together or be suitable
- for each other
-
-
-
-
- Like a well-woven fabric, Mesh connects business goals with
- technology stacks. It enables developers to build
- applications according to project requirements on the
- blockchain. Mesh is filling the gap by making product
- development accessible on Cardano.
-
-
- Whether you're a new developer, startup, Web3 market leader,
- or a large enterprise, Mesh makes Web3 development easy with
- reliable, scalable, and well-engineered APIs & developer
- tools.
-
- >
- }
- />
- -
-
- Building on Cardano is like the early days of the Internet,
- where people are discussing the different protocols, like
- and how to handle HTTPS and IP addresses.
-
-
- During the early days of the World Wide Web, CERN{' '}
-
- put the web technology in the public domain
-
- , available with an open licence. Through these actions,
- making the software required to run a web server freely
- available, and open-source code library, the web was allowed
- to flourish.
-
-
- In the same way, providing Mesh and its technology, allowing
- anyone to build, is key to widespread Cardano adoption.
-
- >
- }
- />
-
-
-
-
-
- Yes, Mesh is open source, and we welcome all contributions.
- Developers, businesses, and writers can contribute in
- various ways. You can write, test, or review the codes; you
- can create your project and design your product to use Mesh;
- you can improve or write new documentation and guides to
- help other builders; you can also provide feedback, ideas,
- improvements, and feature requests.
-
-
- Connect and chat with us at our{' '}
-
- Discord server
-
- .
-
- >
- }
- />
-
- -
-
- If you get stuck, you can ask questions at{' '}
-
- cardano.stackexchange.com
- {' '}
- and tagged it with mesh
.
-
-
- You can also ask questions on{' '}
-
- Mesh's
-
- ,{' '}
-
- Gimbalabs'
- {' '}
- or{' '}
-
- IOG Technical Community's
- {' '}
- Discord servers.
-
- >
- }
- />
-
-
-
-
-
- As Mesh is an open-source library, this SDK belongs to the
- Cardano development community. We look forward to more
- developers and writers joining us to develop this fantastic
- tool further. The users of Cardano applications are also a
- part of Mesh, as they make it possible for developers to
- build, adapt and improve current and future applications.
- Mesh SDK is started by{' '}
-
- Jingles
- {' '}
- and{' '}
-
- Abdelkrim
-
- .
-
- >
- }
- />
- -
-
- Mesh playground is an interactive tool which allows you to
- explore Mesh's features. Most APIs are interactive, where
- you can modify the inputs and see how to use the code in
- your project.
-
-
- This website is build with{' '}
-
- Next.js
- {' '}
- , powered by{' '}
-
- Vercel
- {' '}
- , and designed with{' '}
-
- Flowbite
-
- . If you wish to build a site like this, we have a{' '}
-
- guide
- {' '}
- for you to get started.
-
- >
- }
- />
-
-
-
-
- );
-}
-
-function Item({ header, body }) {
- return (
-
-
- {header}
-
-
{body}
-
- );
-}
diff --git a/apps/mesh-web/components/pages/about/hero.tsx b/apps/mesh-web/components/pages/about/hero.tsx
deleted file mode 100644
index 888e3f7ae..000000000
--- a/apps/mesh-web/components/pages/about/hero.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-import { ArrowRightIcon } from '@heroicons/react/24/solid';
-import Link from 'next/link';
-
-export default function AboutHero() {
- return (
-
-
-
-
- We advance Cardano's tech stack
-
-
- Get started building blockchain applications with our
- enterprise-ready, well engineered, and professionally designed SDK,
- Mesh. With over 20+ components crafted ready for Vasil and many more
- in the pipeline, building a Web 3.0 application has never been this
- easy.
-
- {/*
- Learn more about the plan
-
- */}
-
- {/*
-
-
-
Starter templates
-
- Start your project by installing with CLI
-
-
-
- Learn more
-
-
-
-
-
-
- React components and hooks
-
-
- Everything you need to build web3 apps
-
-
-
- Learn more
-
-
-
-
-
-
Version 1.0
-
- We released Mesh 1.0 on Sept 22, 2022
-
-
- NPM page
-
-
-
-
*/}
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/about/index.tsx b/apps/mesh-web/components/pages/about/index.tsx
deleted file mode 100644
index 9c4e2746c..000000000
--- a/apps/mesh-web/components/pages/about/index.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import AboutFaq from './faq';
-import AboutHero from './hero';
-
-export default function About() {
- return (
- <>
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/about/media.tsx b/apps/mesh-web/components/pages/about/media.tsx
deleted file mode 100644
index e54438c18..000000000
--- a/apps/mesh-web/components/pages/about/media.tsx
+++ /dev/null
@@ -1,48 +0,0 @@
-
-export default function Media() {
- return (
- <>
-
-
-
-
- Media Kit
-
-
- Choose from these logo files. These resources exist to
- help you use Mesh's assets.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- );
-}
-
-function Image({ img }) {
- return (
- <>
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/about/support/addBadge.tsx b/apps/mesh-web/components/pages/about/support/addBadge.tsx
deleted file mode 100644
index a55aeddb8..000000000
--- a/apps/mesh-web/components/pages/about/support/addBadge.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import Codeblock from '../../../ui/codeblock';
-
-export default function AddBadge() {
- let code2 = `import { MeshBadge } from '@meshsdk/react';\n\n`;
- code2 += `export default function Page() {\n`;
- code2 += ` return (\n`;
- code2 += ` <>\n`;
- code2 += ` \n`;
- code2 += ` >\n`;
- code2 += ` );\n`;
- code2 += `}\n`;
-
- return (
-
-
-
-
-
- Add Mesh Badge in your Application
-
-
- Add our beautiful Mesh Badge to give your users confidence knowing
- that your application is running on top of a solid SDK.
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/about/support/followTwitter.tsx b/apps/mesh-web/components/pages/about/support/followTwitter.tsx
deleted file mode 100644
index 4368f68b6..000000000
--- a/apps/mesh-web/components/pages/about/support/followTwitter.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-export default function FollowTwitter() {
- return (
-
-
-
-
- Follow us on Twitter
-
-
- Follow us on Twitter so you get get updated with the latest
- development!
-
-
- Follow us on Twitter
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/about/support/index.tsx b/apps/mesh-web/components/pages/about/support/index.tsx
deleted file mode 100644
index a2af12c43..000000000
--- a/apps/mesh-web/components/pages/about/support/index.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import AddBadge from './addBadge';
-import FollowTwitter from './followTwitter';
-import JoinDiscord from './joinDiscord';
-import SendAdaToSupport from './sendAdaToSupport';
-import StarRepo from './starRepo';
-
-export default function SupportUs() {
- return (
- <>
-
-
-
-
- You can support Mesh!
-
-
- Thank you for your interest in Mesh, we appreciate any kind of support!
-
- Here are some ways you can support us.
-
-
-
-
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/about/support/joinDiscord.tsx b/apps/mesh-web/components/pages/about/support/joinDiscord.tsx
deleted file mode 100644
index 4e5423b51..000000000
--- a/apps/mesh-web/components/pages/about/support/joinDiscord.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-export default function JoinDiscord() {
- return (
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/about/support/sendAdaToSupport.tsx b/apps/mesh-web/components/pages/about/support/sendAdaToSupport.tsx
deleted file mode 100644
index e376e88f4..000000000
--- a/apps/mesh-web/components/pages/about/support/sendAdaToSupport.tsx
+++ /dev/null
@@ -1,113 +0,0 @@
-import { CardanoWallet, useWallet } from '@meshsdk/react';
-import { useState } from 'react';
-import Input from '../../../ui/input';
-import { Transaction } from '@meshsdk/core';
-import { createTransactionDonate } from '../../../../backend/support';
-import SvgSurprise from '../../../svgs/surpriseSvg';
-
-export default function SendAdaToSupport() {
- return (
-
-
- {/*
*/}
-
-
-
- Support Financially
-
-
- Your support for this open-source SDK will go a long way. So thank
- you!
-
-
-
-
-
- );
-}
-
-function SendPayment() {
- const [amount, setAmount] = useState(25);
- const [done, setDone] = useState(false);
- const { connected, wallet } = useWallet();
- const [loading, setLoading] = useState(false);
-
- async function makeTx() {
- setLoading(true);
-
- // const tx = new Transaction({ initiator: wallet }).sendLovelace(
- // process.env.NEXT_PUBLIC_DONATE_ADA_ADDRESS!,
- // (amount * 1000000).toString()
- // );
- // const unsignedTx = await tx.build();
- // const signedTx = await wallet.signTx(unsignedTx);
- // const txHash = await wallet.submitTx(signedTx);
-
- const network = await wallet.getNetworkId();
-
- if (network != 1) {
- setLoading(false);
- setDone(false);
- return;
- }
-
- const recipientAddress = await wallet.getChangeAddress();
- const utxos = await wallet.getUtxos();
- const { unsignedTx } = await createTransactionDonate(
- recipientAddress,
- amount,
- utxos
- );
- const signedTx = await wallet.signTx(unsignedTx, true);
- const txHash = await wallet.submitTx(signedTx);
-
- setLoading(false);
- setDone(true);
- }
-
- return (
-
-
- {!done && connected ? (
-
-
- setAmount(e.target.value)}
- placeholder="Amount in ADA"
- label="Amount in ADA"
- type="number"
- />
-
-
makeTx()}
- disabled={loading}
- >
- {loading ? <>Building transaction...> : <>Donate ₳{amount}>}
-
-
- ) : (
- !connected && (
- <>
-
- >
- )
- )}
- {done && (
- <>
-
- >
- )}
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/about/support/starRepo.tsx b/apps/mesh-web/components/pages/about/support/starRepo.tsx
deleted file mode 100644
index 33ce30100..000000000
--- a/apps/mesh-web/components/pages/about/support/starRepo.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-export default function StarRepo() {
- return (
-
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/generateWallet.tsx b/apps/mesh-web/components/pages/apis/appwallet/generateWallet.tsx
deleted file mode 100644
index 7c985e2d4..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/generateWallet.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { AppWallet } from '@meshsdk/core';
-
-export default function GenerateWallet() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- You can generate deterministic keys based on the{' '}
-
- Bitcoin BIP39
-
- . These mnemonic phrases allow you to recover your wallet.
-
-
- Once you have your mnemonic phrase, you can use it to generate your
- deterministic keys. See Load AppWallet
in the following
- section on loading a mnemonic phrase. It will typically generate a
- series of private keys and corresponding public keys, which you can use
- to manage your cryptocurrencies.
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [responseMnemonic, setResponseMnemonic] = useState(null);
-
- async function runDemoGetMnemonic() {
- setLoading(true);
- const mnemonic = AppWallet.brew();
- setResponseMnemonic(mnemonic);
- setLoading(false);
- }
-
- return (
- <>
-
-
- Generate Wallet
-
- Generate new mnemonic phrases for your wallet
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/getPaymentAddress.tsx b/apps/mesh-web/components/pages/apis/appwallet/getPaymentAddress.tsx
deleted file mode 100644
index 314f65f10..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/getPaymentAddress.tsx
+++ /dev/null
@@ -1,64 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import useAppWallet from '../../../../contexts/appWallet';
-
-export default function GetPaymentAddress() {
- return (
-
- );
-}
-
-function Left() {
- let code = `const address = wallet.getPaymentAddress();\n`;
-
- return (
- <>
-
- Get wallet's address. For multi-addresses wallet, it will return the
- first address. To choose other address, `accountIndex` can be specified.
-
-
- >
- );
-}
-
-function Right() {
- const { wallet, walletConnected } = useAppWallet();
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const address = wallet.getPaymentAddress();
- setResponse(address);
- setLoading(false);
- }
-
- return (
- <>
-
-
- Get Payment Address
-
- {!walletConnected && Load a wallet to try this endpoint.
}
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/getRewardAddress.tsx b/apps/mesh-web/components/pages/apis/appwallet/getRewardAddress.tsx
deleted file mode 100644
index 66ab00c25..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/getRewardAddress.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import useAppWallet from '../../../../contexts/appWallet';
-
-export default function GetRewardAddress() {
- return (
-
- );
-}
-
-function Left() {
- let code = `const address = wallet.getRewardAddress();\n`;
-
- return (
- <>
-
- Get wallet's reward address. For multi-addresses wallet, it will return
- the first address. To choose other address, `accountIndex` can be
- specified.
-
-
- >
- );
-}
-
-function Right() {
- const { wallet, walletConnected } = useAppWallet();
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const address = wallet.getPaymentAddress();
- setResponse(address);
- setLoading(false);
- }
-
- return (
- <>
-
-
- Get Reward Address
-
- {!walletConnected && Load a wallet to try this endpoint.
}
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/hero.tsx b/apps/mesh-web/components/pages/apis/appwallet/hero.tsx
deleted file mode 100644
index bc4dcf66e..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/hero.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { CodeBracketSquareIcon } from '@heroicons/react/24/solid';
-
-export default function Hero() {
- return (
- <>
-
-
-
-
- AppWallet
is useful for building other user wallets and
- fully customed applications's backend.
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/index.tsx b/apps/mesh-web/components/pages/apis/appwallet/index.tsx
deleted file mode 100644
index 4efaa5aa5..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/index.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-import CommonLayout from '../../../common/layout';
-import GenerateWallet from './generateWallet';
-import GetPaymentAddress from './getPaymentAddress';
-import GetRewardAddress from './getRewardAddress';
-import Hero from './hero';
-import LoadWallet from './loadWallet';
-import SignData from './signData';
-import SignTx from './signTx';
-
-export default function AppWallet() {
- const sidebarItems = [
- { label: 'Generate wallet', to: 'generateWallet' },
- { label: 'Load wallet', to: 'loadWallet' },
- { label: 'Get payment address', to: 'getPaymentAddress' },
- { label: 'Get reward address', to: 'getRewardAddress' },
- { label: 'Sign transactions', to: 'signTx' },
- { label: 'Sign data', to: 'signData' },
- ];
-
- return (
-
-
-
-
- );
-}
-
-function Main() {
- return (
- <>
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/loadWallet.tsx b/apps/mesh-web/components/pages/apis/appwallet/loadWallet.tsx
deleted file mode 100644
index 374b39f36..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/loadWallet.tsx
+++ /dev/null
@@ -1,382 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { AppWallet, BlockfrostProvider } from '@meshsdk/core';
-import {
- demoMnemonic,
- demoPrivateKey,
- demoCLIKey,
-} from '../../../../configs/demo';
-import useAppWallet from '../../../../contexts/appWallet';
-import Input from '../../../ui/input';
-import Textarea from '../../../ui/textarea';
-import ButtonGroup from '../../../ui/buttongroup';
-import BlockchainProviderCodeSnippet from '../../../common/blockchainProvider';
-
-export default function LoadWallet() {
- const [demoMethod, setDemoMethod] = useState(0);
- const [mnemonic, setMnemonic] = useState(
- JSON.stringify(demoMnemonic, null, 2)
- );
- const [network, setNetwork] = useState(0);
- const [privatekey, setPrivatekey] = useState(demoPrivateKey);
- const [paymentSkey, setPaymentSkey] = useState(
- demoCLIKey.paymentSkey
- );
- const [stakeSkey, setStakeSkey] = useState(demoCLIKey.stakeSkey);
-
- return (
-
- );
-}
-
-function Left(mnemonic, network, privatekey, paymentSkey, stakeSkey) {
- let _mnemonic = JSON.stringify(demoMnemonic);
- try {
- _mnemonic = JSON.stringify(JSON.parse(mnemonic));
- } catch (e) {}
-
- let codeCommon = `import { AppWallet } from '@meshsdk/core';\n\n`;
-
- let code1 = codeCommon;
- code1 += `const wallet = new AppWallet({\n`;
- code1 += ` networkId: ${network},\n`;
- code1 += ` fetcher: blockchainProvider,\n`;
- code1 += ` submitter: blockchainProvider,\n`;
- code1 += ` key: {\n`;
- code1 += ` type: 'mnemonic',\n`;
- code1 += ` words: ${_mnemonic},\n`;
- code1 += ` },\n`;
- code1 += `});\n`;
-
- let code2 = `const address = wallet.getPaymentAddress();`;
-
- let code3 = codeCommon;
- code3 += `const wallet = new AppWallet({\n`;
- code3 += ` networkId: ${network},\n`;
- code3 += ` fetcher: blockchainProvider,\n`;
- code3 += ` submitter: blockchainProvider,\n`;
- code3 += ` key: {\n`;
- code3 += ` type: 'root',\n`;
- code3 += ` bech32: '${privatekey}',\n`;
- code3 += ` },\n`;
- code3 += `});\n`;
-
- let code4 = codeCommon;
- code4 += `const wallet = new AppWallet({\n`;
- code4 += ` networkId: ${network},\n`;
- code4 += ` fetcher: blockchainProvider,\n`;
- code4 += ` submitter: blockchainProvider,\n`;
- code4 += ` key: {\n`;
- code4 += ` type: 'cli',\n`;
- code4 += ` payment: '${paymentSkey}',\n`;
- if (stakeSkey && stakeSkey.length) {
- code4 += ` stake: '${stakeSkey}',\n`;
- }
- code4 += ` },\n`;
- code4 += `});\n`;
-
- return (
- <>
- With Mesh, you can initialize a wallet with:
-
- mnemonic phrases
- Cardano CLI generated keys
- private keys
-
- Lets import a blockchain provider:
-
- Mnemonic phrases
- We can load wallet with mnemonic phrases:
-
-
- With the wallet
loaded, you can sign transactions, we will
- see how to do this in the next section, for now lets get the wallet's
- address:
-
-
-
- Cardano CLI generated skeys
-
- We can load wallet with CLI generated keys by providing the{' '}
- skey
generated by Cardano CLI. There are two files
- generated by Cardano CLI, by default it is named{' '}
- signing.skey
and stake.skey
. Opening the{' '}
- signing.skey
file it should contains:
-
-
-
- We can get the cborHex
from the signing.skey
{' '}
- file, and load wallet with Cardano CLI generated skeys. Stake key is
- optional, but without it, you cannot sign staking transactions.
-
-
-
- Private keys
- We can load wallet with private keys:
-
- >
- );
-}
-
-function Right(
- demoMethod,
- setDemoMethod,
- network,
- setNetwork,
- mnemonic,
- setMnemonic,
- privatekey,
- setPrivatekey,
- paymentSkey,
- setPaymentSkey,
- stakeSkey,
- setStakeSkey
-) {
- const [loading, setLoading] = useState(false);
- const { setWallet, setWalletNetwork } = useAppWallet();
- const [responseAddress, setResponseAddress] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemoLoadWallet() {
- setLoading(true);
- setResponseError(null);
- setResponseAddress(null);
- setWallet({} as AppWallet);
-
- const blockchainProvider = new BlockfrostProvider(
- process.env.NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD!
- );
-
- if (demoMethod == 0) {
- let _mnemonic = [];
- try {
- _mnemonic = JSON.parse(mnemonic);
- } catch (e) {
- setResponseError('Mnemonic input is not a valid array.');
- }
-
- try {
- if (_mnemonic.length) {
- const _wallet = new AppWallet({
- networkId: network,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'mnemonic',
- words: _mnemonic,
- },
- });
- setWallet(_wallet);
- setWalletNetwork(network);
- const address = _wallet.getPaymentAddress();
- setResponseAddress(address);
- }
- } catch (error) {
- setResponseError(`${error}`);
- }
- }
- if (demoMethod == 1) {
- try {
- const _wallet = new AppWallet({
- networkId: network,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'root',
- bech32: privatekey,
- },
- });
- setWallet(_wallet);
- setWalletNetwork(network);
- const address = _wallet.getPaymentAddress();
- setResponseAddress(address);
- } catch (error) {
- setResponseError(`${error}`);
- }
- }
- if (demoMethod == 2) {
- try {
- const stake = stakeSkey?.length > 0 ? stakeSkey : undefined;
- const _wallet = new AppWallet({
- networkId: network,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'cli',
- payment: paymentSkey,
- stake,
- },
- });
- setWallet(_wallet);
- setWalletNetwork(network);
- const address = _wallet.getPaymentAddress();
- setResponseAddress(address);
- } catch (error) {
- setResponseError(`${error}`);
- }
- }
-
- setLoading(false);
- }
-
- return (
- <>
-
- setDemoMethod(0),
- },
- {
- key: 1,
- label: 'Private key',
- onClick: () => setDemoMethod(1),
- },
- {
- key: 2,
- label: 'CLI keys',
- onClick: () => setDemoMethod(2),
- },
- ]}
- currentSelected={demoMethod}
- />
-
-
-
-
-
-
- >
- );
-}
-
-function InputTable({
- demoMethod,
- network,
- setNetwork,
- mnemonic,
- setMnemonic,
- privatekey,
- setPrivatekey,
- paymentSkey,
- setPaymentSkey,
- stakeSkey,
- setStakeSkey,
-}) {
- return (
-
-
-
- Load wallet with {demoMethod == 0 && 'mnemonic phrases'}
- {demoMethod == 1 && 'private keys'}
- {demoMethod == 2 && 'CLI generated keys'}
-
- Provide the {demoMethod == 0 && 'mnemonic phrases'}
- {demoMethod == 1 && 'private keys'}
- {demoMethod == 2 && 'CLI generated keys'} to recover your wallet.
- After initializing the AppWallet
, we will get the
- wallet's payment address.
-
-
- Note: Mesh Playground is safe if you really have to recover your
- Mainnet wallet, but recovering your testing wallet on Mesh
- Playground is recommended.
-
-
-
-
-
- {demoMethod == 0 && (
- <>
-
- Mnemonic phrases
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/signData.tsx b/apps/mesh-web/components/pages/apis/appwallet/signData.tsx
deleted file mode 100644
index d523c0f2c..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/signData.tsx
+++ /dev/null
@@ -1,101 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import useAppWallet from '../../../../contexts/appWallet';
-import Input from '../../../ui/input';
-
-export default function SignData() {
- const [payload, setPayload] = useState('mesh');
-
- return (
-
- );
-}
-
-function Left(payload) {
- let code = `const address = wallet.getPaymentAddress();\n`;
- code += `const signature = wallet.signData(address, '${payload}');`;
-
- let example = ``;
- example += `{\n`;
- example += ` "signature": "845846a2012...f9119a18e8977d436385cecb08",\n`;
- example += ` "key": "a4010103272006215...b81a7f6ed4fa29cc7b33186c"\n`;
- example += `}\n`;
-
- return (
- <>
-
- Sign data allows you to sign a payload to identify the wallet ownership.
-
-
- Example of a response from the endpoint:
-
- >
- );
-}
-
-function Right(payload, setPayload) {
- const { wallet, walletConnected } = useAppWallet();
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const address = wallet.getPaymentAddress();
- const signature = wallet.signData(address, payload);
- setResponse(signature);
- setLoading(false);
- }
-
- return (
- <>
-
-
- {!walletConnected && Load a wallet to try this endpoint.
}
-
-
-
- >
- );
-}
-
-function InputTable({ payload, setPayload }) {
- return (
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/appwallet/signTx.tsx b/apps/mesh-web/components/pages/apis/appwallet/signTx.tsx
deleted file mode 100644
index 4e0fc9171..000000000
--- a/apps/mesh-web/components/pages/apis/appwallet/signTx.tsx
+++ /dev/null
@@ -1,170 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { Transaction, ForgeScript } from '@meshsdk/core';
-import type { Mint, AssetMetadata } from '@meshsdk/core';
-import useAppWallet from '../../../../contexts/appWallet';
-import { demoAddresses } from '../../../../configs/demo';
-import Input from '../../../ui/input';
-import Link from 'next/link';
-
-export default function SignTx() {
- const [address, setAddress] = useState(demoAddresses.testnet);
-
- return (
-
- );
-}
-
-function Left(address) {
- let code1 = '';
- code1 += `import { Transaction, ForgeScript } from '@meshsdk/core';\n`;
- code1 += `import type { Mint, AssetMetadata } from '@meshsdk/core';\n`;
- code1 += `\n`;
- code1 += `const walletAddress = wallet.getPaymentAddress();\n`;
- code1 += `const forgingScript = ForgeScript.withOneSignature(walletAddress);\n`;
- code1 += `\n`;
- code1 += `const assetMetadata1: AssetMetadata = {\n`;
- code1 += ` name: 'Mesh Token',\n`;
- code1 += ` image: 'ipfs://QmRzicpReutwCkM6aotuKjErFCUD213DpwPq6ByuzMJaua',\n`;
- code1 += ` mediaType: 'image/jpg',\n`;
- code1 += ` description: 'This NFT was minted by Mesh (https://meshjs.dev/).',\n`;
- code1 += `};\n`;
- code1 += `const asset1: Mint = {\n`;
- code1 += ` assetName: 'MeshToken',\n`;
- code1 += ` assetQuantity: '1',\n`;
- code1 += ` metadata: assetMetadata1,\n`;
- code1 += ` label: '721',\n`;
- code1 += ` recipient: '${address}'\n`;
- code1 += `};\n`;
- code1 += `\n`;
- code1 += `const tx = new Transaction({ initiator: wallet });\n`;
- code1 += `tx.mintAsset(forgingScript, asset1);\n`;
- code1 += `\n`;
- code1 += `const unsignedTx = await tx.build();\n`;
- code1 += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- code1 += `const txHash = await wallet.submitTx(signedTx);\n`;
-
- return (
- <>
-
- We can create transactions and sign it with the wallet. For this demo,
- we will mint an asset and send it to an address. Go to{' '}
- Transaction to learn more about
- building transactions.
-
-
- >
- );
-}
-
-function Right(address, setAddress) {
- const { wallet, walletNetwork, walletConnected } = useAppWallet();
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- useEffect(() => {
- async function init() {
- if (walletNetwork == 0) {
- setAddress(demoAddresses.testnet);
- }
- if (walletNetwork == 1) {
- setAddress(demoAddresses.mainnet);
- }
- }
- if (walletConnected) {
- init();
- }
- }, [walletConnected]);
-
- async function runDemo() {
- setLoading(true);
-
- try {
- const walletAddress = wallet.getPaymentAddress();
- const forgingScript = ForgeScript.withOneSignature(walletAddress);
-
- const assetMetadata1: AssetMetadata = {
- name: 'Mesh Token',
- image: 'ipfs://QmRzicpReutwCkM6aotuKjErFCUD213DpwPq6ByuzMJaua',
- mediaType: 'image/jpg',
- description: 'This NFT was minted by Mesh (https://meshjs.dev/).',
- };
- const asset1: Mint = {
- assetName: 'MeshToken',
- assetQuantity: '1',
- metadata: assetMetadata1,
- label: '721',
- recipient: {
- address: address,
- },
- };
-
- const tx = new Transaction({ initiator: wallet });
- tx.mintAsset(forgingScript, asset1);
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
-
- setResponse(txHash);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- }
- setLoading(false);
- }
-
- return (
- <>
-
-
- {!walletConnected && Load a wallet to try this endpoint.
}
-
-
-
-
- >
- );
-}
-
-function InputTable({ address, setAddress }) {
- return (
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/connectWallet.tsx b/apps/mesh-web/components/pages/apis/browserwallet/connectWallet.tsx
deleted file mode 100644
index 98b5a21f3..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/connectWallet.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet, useWalletList } from '@meshsdk/react';
-
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function ConnectWallet() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- This is the entrypoint to start communication with the user's
- wallet. The wallet should request the user's permission to connect
- the web page to the user's wallet, and if permission has been
- granted, the wallet will be returned and exposing the full API for the
- dApp to use.
-
-
- Query BrowserWallet.getInstalledWallets()
to get a list of
- available wallets, then provide the wallet name
for which
- wallet the user would like to connect with.
-
- >
- );
-}
-
-function Right() {
- const { name } = useWallet();
-
- return (
-
-
- Connect Wallet
-
- Connect to a CIP30 compatible wallet
-
-
-
-
- { }
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getAssets.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getAssets.tsx
deleted file mode 100644
index f6cff99a5..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getAssets.tsx
+++ /dev/null
@@ -1,86 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetAssets() {
- return (
-
- );
-}
-
-function Left() {
- let codeSample = `[\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "1207329a668cf5c42b80a220a8c85d5e82ac0b6f5ecedda4c07a8acc4d657368486f6e6f72546f6b656e2d3530343935",\n`;
- codeSample += ` "policyId": "1207329a668cf5c42b80a220a8c85d5e82ac0b6f5ecedda4c07a8acc",\n`;
- codeSample += ` "assetName": "Mesh Token Of Appreciation",\n`;
- codeSample += ` "fingerprint": "asset1dw74h0w0meqg9cxkc9sezp8zqcxu8nl93fzfpz",\n`;
- codeSample += ` "quantity": "1"\n`;
- codeSample += ` }\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d4d657368546f6b656e",\n`;
- codeSample += ` "policyId": "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d",\n`;
- codeSample += ` "assetName": "MeshToken",\n`;
- codeSample += ` "fingerprint": "asset177e7535dclmkkph8ewt9fsghllkwmpspa3n98p",\n`;
- codeSample += ` "quantity": "10"\n`;
- codeSample += ` }\n`;
- codeSample += `]\n`;
-
- return (
- <>
- Returns a list of assets in wallet excluding lovelace, example:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getAssets();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Assets
-
- Get assets in the connected wallet
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getBalance.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getBalance.tsx
deleted file mode 100644
index 1c2b6f6b9..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getBalance.tsx
+++ /dev/null
@@ -1,99 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetBalance() {
- return (
-
- );
-}
-
-function Left() {
- let codeSample = `[\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "lovelace",\n`;
- codeSample += ` "quantity": "796105407"\n`;
- codeSample += ` },\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "0f5560dbc05282e05507aedb02d823d9d9f0e583cce579b81f9d1cd8",\n`;
- codeSample += ` "quantity": "1"\n`;
- codeSample += ` },\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d4d657368546f6b656e",\n`;
- codeSample += ` "quantity": "2"\n`;
- codeSample += ` },\n`;
- codeSample += `]\n`;
-
- return (
- <>
-
- Returns a list of assets in the wallet. This API will return every
- assets in the wallet. Each asset is an object with the following
- properties:
-
-
-
- A unit is provided to display asset's name on the user interface.
-
-
- A quantity is provided to display asset's quantity on the user
- interface.
-
-
- Example:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getBalance();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Balance
-
- Get all assets in the connected wallet
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getChangeAddress.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getChangeAddress.tsx
deleted file mode 100644
index d620927b0..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getChangeAddress.tsx
+++ /dev/null
@@ -1,72 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetChangeAddress() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- Returns an address owned by the wallet that should be used as a change
- address to return leftover assets during transaction creation back to
- the connected wallet.
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getChangeAddress();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Change Address
-
- Get address that should be used for transaction's change
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getCollateral.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getCollateral.tsx
deleted file mode 100644
index 5e5488ac2..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getCollateral.tsx
+++ /dev/null
@@ -1,98 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetCollateral() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` {\n`;
- example += ` "input": {\n`;
- example += ` "outputIndex": 1,\n`;
- example += ` "txHash": "ff8d1e97c60989b4f...02ee937595ad741ff597af1"\n`;
- example += ` },\n`;
- example += ` "output": {\n`;
- example += ` "address": "addr_test1qzm...z0fr8c3grjmysm5e6yx",\n`;
- example += ` "amount": [ { "unit": "lovelace", "quantity": "5000000" } ]\n`;
- example += ` }\n`;
- example += ` }\n`;
- example += `]\n`;
- return (
- <>
-
- This function shall return a list of one or more UTXOs (unspent
- transaction outputs) controlled by the wallet that are required to reach
- AT LEAST the combined ADA value target specified in amount AND the best
- suitable to be used as collateral inputs for transactions with plutus
- script inputs (pure ADA-only UTXOs).
-
-
- If this cannot be attained, an error message with an explanation of the
- blocking problem shall be returned. NOTE: wallets are free to return
- UTXOs that add up to a greater total ADA value than requested in the
- amount parameter, but wallets must never return any result where UTXOs
- would sum up to a smaller total ADA value, instead in a case like that
- an error message must be returned.
-
- Example of a response returned by this endpoint:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getCollateral();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Collateral
-
- Get list of UTXOs that used as collateral inputs for transactions
- with plutus script inputs
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getInstalledWallets.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getInstalledWallets.tsx
deleted file mode 100644
index 0d69fd898..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getInstalledWallets.tsx
+++ /dev/null
@@ -1,75 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import { BrowserWallet } from '@meshsdk/core';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-
-export default function GetInstalledWallets() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` {\n`;
- example += ` "name": "eternl",\n`;
- example += ` "icon": "data:image/png;base64,ICONBASE64HERE=",\n`;
- example += ` "version": "0.1.0"\n`;
- example += ` }\n`;
- example += `]\n`;
-
- return (
- <>
-
- Returns a list of wallets installed on user's device. Each wallet is an object with the following properties:
-
-
- A name is provided to display wallet's name on the user interface.
- A version is provided to display wallet's version on the user interface.
- An icon is provided to display wallet's icon on the user interface.
-
-
- Example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- let results = BrowserWallet.getInstalledWallets();
- setResponse(results);
- setLoading(false);
- }
- return (
-
-
- Get Installed Wallets
-
- Get a list of wallets on user's device
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getLovelace.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getLovelace.tsx
deleted file mode 100644
index bac9f9bc8..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getLovelace.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetLovelace() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
- Return the lovelace balance in wallet. 1 ADA = 1000000 lovelace.
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getLovelace();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Lovelace
-
- Get amount of ADA in connected wallet
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getNetworkId.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getNetworkId.tsx
deleted file mode 100644
index 60270f80c..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getNetworkId.tsx
+++ /dev/null
@@ -1,73 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetNetworkId() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- Returns the network ID of the currently connected account. 0
is testnet
- and 1
is mainnet but other networks can possibly be returned by wallets.
- Those other network ID values are not governed by CIP-30. This result
- will stay the same unless the connected account has changed.
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getNetworkId();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Network ID
-
- Get currently connected network
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getPolicyIdAssets.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getPolicyIdAssets.tsx
deleted file mode 100644
index 0017debda..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getPolicyIdAssets.tsx
+++ /dev/null
@@ -1,81 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-import Input from '../../../ui/input';
-
-export default function GetPolicyIdAssets() {
- const [policyId, setPolicyId] = useState(
- '64af286e2ad0df4de2e7de15f8ff5b3d27faecf4ab2757056d860a42'
- );
- return (
-
- );
-}
-
-function Left({ policyId }) {
- return (
- <>
-
- Returns a list of assets from a policy ID. If no assets in wallet
- belongs to the policy ID, an empty list is returned. Query for a list of
- assets' policy ID with wallet.getPolicyIds()
.
-
- >
- );
-}
-
-function Right({ policyId, setPolicyId }) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getPolicyIdAssets(policyId);
- setResponse(results);
- setLoading(false);
- }
- return (
-
-
- Get a Collection of Assets
-
- Get a list of assets belonging to the policy ID
-
-
- setPolicyId(e.target.value)}
- placeholder="Policy ID"
- label="Policy ID"
- />
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getPolicyIds.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getPolicyIds.tsx
deleted file mode 100644
index a804740f1..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getPolicyIds.tsx
+++ /dev/null
@@ -1,75 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetPolicyIds() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` "0f5560dbc05282e05507aedb02d823d9d9f0e583cce579b81f9d1cd8",\n`;
- example += ` "5bed9e89299c69d9a54bbc82d88aa5a86698b2b7b9d0ed030fc4b0ff",\n`;
- example += ` "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d",\n`;
- example += `]\n`;
- return (
- <>
- Return a list of assets' policy ID. An example response would be:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getPolicyIds();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Policy IDs
-
- Get a list of policy IDs from all assets in wallet
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getRewardAddresses.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getRewardAddresses.tsx
deleted file mode 100644
index 3e1dfd455..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getRewardAddresses.tsx
+++ /dev/null
@@ -1,78 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetRewardAddresses() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` "stake_test1uzx0ksy9f4qnj2mzfdncqyjy84sszh64w43853nug5pedjgytgke9"\n`;
- example += `]\n`;
-
- return (
- <>
-
- Returns a list of reward addresses owned by the wallet. A reward address
- is a stake address that is used to receive rewards from staking,
- generally starts from `stake` prefix. Example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getRewardAddresses();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Reward Addresses
-
- Get stake addresses
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getUnusedAddresses.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getUnusedAddresses.tsx
deleted file mode 100644
index 6bd32bfd8..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getUnusedAddresses.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetUnusedAddresses() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example+=`[\n`;
- example+=` "addr_test1qzk9x08mtre4jp8f7j8zu8802...r8c3grjmys7fl22c",\n`;
- example+=` "addr_test1qrmf35xyw2petfr0e0p4at0r7...8sc3grjmysm73dk8",\n`;
- example+=` "addr_test1qq6ts58hdaasd2q78fdjj0arm...i8c3grjmys85k8mf",\n`;
- example+=`]\n`;
- return (
- <>
- Returns a list of unused addresses controlled by the wallet. For example:
-
- >
-
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getUnusedAddresses();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Unused Addresses
-
- Get addresses that are unused
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getUsedAddresses.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getUsedAddresses.tsx
deleted file mode 100644
index 39f8f6ccd..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getUsedAddresses.tsx
+++ /dev/null
@@ -1,75 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetUsedAddresses() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example+=`[\n`;
- example+=` "addr_test1qzk9x08mtre4jp8f7j8zu8802...r8c3grjmys7fl88a",\n`;
- example+=` "addr_test1qrmf35xyw2petfr0e0p4at0r7...8sc3grjmysm76gt3",\n`;
- example+=` "addr_test1qq6ts58hdaasd2q78fdjj0arm...i8c3grjmys85dn39",\n`;
- example+=`]\n`;
- return (
- <>
- Returns a list of used addresses controlled by the wallet. For example:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getUsedAddresses();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Used Addresses
-
- Get addresses that are used
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/getUtxos.tsx b/apps/mesh-web/components/pages/apis/browserwallet/getUtxos.tsx
deleted file mode 100644
index a715fcf37..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/getUtxos.tsx
+++ /dev/null
@@ -1,94 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function GetUtxos() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` {\n`;
- example += ` "input": {\n`;
- example += ` "outputIndex": 0,\n`;
- example += ` "txHash": "16dcbb1f93b4f9d5e...9106c7b121463c210ba"\n`;
- example += ` },\n`;
- example += ` "output": {\n`;
- example += ` "address": "addr_test1qzag7whju08xwrq...z0fr8c3grjmysgaw9y8",\n`;
- example += ` "amount": [\n`;
- example += ` {\n`;
- example += ` "unit": "lovelace",\n`;
- example += ` "quantity": "1314550"\n`;
- example += ` },\n`;
- example += ` {\n`;
- example += ` "unit": "f05c91a850...3d824d657368546f6b656e3032",\n`;
- example += ` "quantity": "1"\n`;
- example += ` }\n`;
- example += ` ]\n`;
- example += ` }\n`;
- example += ` }\n`;
- example += `]\n`;
- return (
- <>
-
- Return a list of all UTXOs (unspent transaction outputs) controlled by
- the wallet. For example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- let results = await wallet.getUtxos();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get UTXOs
-
- Get UTXOs of the connected wallet
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/hero.tsx b/apps/mesh-web/components/pages/apis/browserwallet/hero.tsx
deleted file mode 100644
index 9c35a775d..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/hero.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-import { BanknotesIcon } from '@heroicons/react/24/solid';
-import Codeblock from '../../../ui/codeblock';
-
-export default function Hero() {
- let codeSnippet = '';
- codeSnippet += `// import BrowserWallet\n`;
- codeSnippet += `import { BrowserWallet } from '@meshsdk/core';\n\n`;
- codeSnippet += `// connect to a wallet\n`;
- codeSnippet += `const wallet = await BrowserWallet.enable('eternl');\n\n`;
- codeSnippet += `// get assets in wallet\n`;
- codeSnippet += `const assets = await wallet.getAssets();`;
-
- return (
- <>
-
-
-
-
- These wallets APIs are in accordance to{' '}
-
- CIP-30
-
- , which defines the API for dApps to communicate with the user's
- wallet. Additional utility functions provided for developers that
- are useful for building dApps.
-
-
-
- In this section, you can connect wallet and try APIs for dApps to
- communicate with your wallet. To start, import BrowserWallet:
-
-
-
-
- >
- //
- //
- //
- //
- // Browser Wallet
- //
- //
- // For connecting, queries and performs wallet functions. These wallets
- // APIs are in accordance to{' '}
- //
- // CIP-30
- //
- // , which defines the API for dApps to communicate with the user's
- // wallet. Additional utility functions provided for developers that
- // are useful for building dApps.
- //
- //
- //
- //
- //
- //
- //
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/index.tsx b/apps/mesh-web/components/pages/apis/browserwallet/index.tsx
deleted file mode 100644
index fe9a2194e..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/index.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import CommonLayout from '../../../common/layout';
-import GetInstalledWallets from './getInstalledWallets';
-import Hero from './hero';
-import ConnectWallet from './connectWallet';
-import GetBalance from './getBalance';
-import GetChangeAddress from './getChangeAddress';
-import GetNetworkId from './getNetworkId';
-import GetRewardAddresses from './getRewardAddresses';
-import GetUnusedAddresses from './getUnusedAddresses';
-import GetUsedAddresses from './getUsedAddresses';
-import GetUtxos from './getUtxos';
-import SignData from './signData';
-import SignTx from './signTx';
-import SubmitTransaction from './submitTx';
-import GetLovelace from './getLovelace';
-import GetAssets from './getAssets';
-import GetPolicyIds from './getPolicyIds';
-import GetPolicyIdAssets from './getPolicyIdAssets';
-import GetCollateral from './getCollateral';
-
-export default function BrowserWallet() {
- const sidebarItems = [
- { label: 'Get installed wallets', to: 'getInstallWallets' },
- { label: 'Connect wallet', to: 'connectWallet' },
- { label: 'Get balance', to: 'getBalance' },
- { label: 'Get change address', to: 'getChangeAddress' },
- { label: 'Get collateral', to: 'getCollateral' },
- { label: 'Get network ID', to: 'getNetworkId' },
- { label: 'Get reward addresses', to: 'getRewardAddresses' },
- { label: 'Get unused addresses', to: 'getUnusedAddresses' },
- { label: 'Get used addresses', to: 'getUsedAddresses' },
- { label: 'Get UTXOs', to: 'getUtxos' },
- { label: 'Sign data', to: 'signData' },
- { label: 'Sign transaction', to: 'signTx' },
- { label: 'Submit transaction', to: 'submitTx' },
- { label: 'Get assets', to: 'getAssets' },
- { label: 'Get lovelace', to: 'getLovelace' },
- { label: 'Get policy IDs', to: 'getPolicyIds' },
- { label: 'Get collection of assets', to: 'getPolicyIdAssets' },
- ];
- return (
-
-
-
-
- );
-}
-
-function Main() {
- return (
- <>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/signData.tsx b/apps/mesh-web/components/pages/apis/browserwallet/signData.tsx
deleted file mode 100644
index 488bb4a4b..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/signData.tsx
+++ /dev/null
@@ -1,114 +0,0 @@
-import { useState } from 'react';
-import { useWallet } from '@meshsdk/react';
-import Codeblock from '../../../ui/codeblock';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import Card from '../../../ui/card';
-import Input from '../../../ui/input';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-import Link from 'next/link';
-
-export default function SignData() {
- const [payload, setPayload] = useState('mesh');
-
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `{\n`;
- example += ` "signature": "845846a2012...f9119a18e8977d436385cecb08",\n`;
- example += ` "key": "a4010103272006215...b81a7f6ed4fa29cc7b33186c"\n`;
- example += `}\n`;
- return (
- <>
-
- This endpoint utilizes the{' '}
-
- CIP-8 - Message Signing
- {' '}
- to sign arbitrary data, to verify the data was signed by the owner of
- the private key.
-
-
- Here, we get the first wallet's address with{' '}
- wallet.getUsedAddresses()
, alternativelly you can use
- reward addresses (getRewardAddresses()
) too. It's really up
- to you as the developer which address you want to use in your
- application.
-
- Example of a response from the endpoint:
-
-
- Continue reading this{' '}
-
- guide
- {' '}
- to learn how to verify the signature.
-
- >
- );
-}
-
-function Right(payload, setPayload) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setLoading(true);
- try {
- // const addresses = await wallet.getRewardAddresses();
- const addresses = await wallet.getUsedAddresses();
- let results = await wallet.signData(addresses[0], payload);
- setResponse(results);
- } catch (error) {}
- setLoading(false);
- }
-
- let code = `const addresses = await wallet.getUsedAddresses();\n`;
- code += `const signature = await wallet.signData(addresses[0], '${payload}');`;
-
- return (
-
-
- Sign Data
-
- Use connected wallet to sign a payload
-
-
- setPayload(e.target.value)}
- placeholder="Payload"
- label="Payload"
- />
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/signTx.tsx b/apps/mesh-web/components/pages/apis/browserwallet/signTx.tsx
deleted file mode 100644
index 386f0a233..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/signTx.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import Link from 'next/link';
-import Codeblock from '../../../ui/codeblock';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import Card from '../../../ui/card';
-
-export default function SignTx() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- Requests user to sign the provided transaction (tx
). The
- wallet should ask the user for permission, and if given, try to sign the
- supplied body and return a signed transaction. partialSign
{' '}
- should be true
if the transaction provided requires
- multiple signatures.
-
- >
- );
-}
-
-function Right() {
- return (
-
-
- Sign Transaction
-
- Use connected wallet to sign a transaction
-
-
-
-
- Check out Transaction to learn
- more on how to use this API.
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/browserwallet/submitTx.tsx b/apps/mesh-web/components/pages/apis/browserwallet/submitTx.tsx
deleted file mode 100644
index 2086310dc..000000000
--- a/apps/mesh-web/components/pages/apis/browserwallet/submitTx.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import Link from 'next/link';
-import Codeblock from '../../../ui/codeblock';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import Card from '../../../ui/card';
-
-export default function SubmitTransaction() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- As wallets should already have this ability to submit transaction, we
- allow dApps to request that a transaction be sent through it. If the
- wallet accepts the transaction and tries to send it, it shall return the
- transaction ID for the dApp to track. The wallet can return error
- messages or failure if there was an error in sending it.
-
- >
- );
-}
-
-function Right() {
- return (
-
-
- Submit Transaction
-
- Use connected wallet to submit a transaction
-
-
-
-
- Check out Transaction to learn
- more on how to use this API.
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/common.ts b/apps/mesh-web/components/pages/apis/meshwallet/common.ts
deleted file mode 100644
index fe4aa1310..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/common.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import { BlockfrostProvider, MeshWallet } from '@meshsdk/core';
-
-export function getMeshWallet() {
- const blockchainProvider = new BlockfrostProvider(
- process.env.NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD!
- );
- const wallet = new MeshWallet({
- networkId: 0,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'mnemonic',
- words: [
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- 'solution',
- ],
- },
- });
- return wallet;
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/connectWallet.tsx b/apps/mesh-web/components/pages/apis/meshwallet/connectWallet.tsx
deleted file mode 100644
index 98b5a21f3..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/connectWallet.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { useWallet, useWalletList } from '@meshsdk/react';
-
-import ConnectCipWallet from '../../../common/connectCipWallet';
-
-export default function ConnectWallet() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- This is the entrypoint to start communication with the user's
- wallet. The wallet should request the user's permission to connect
- the web page to the user's wallet, and if permission has been
- granted, the wallet will be returned and exposing the full API for the
- dApp to use.
-
-
- Query BrowserWallet.getInstalledWallets()
to get a list of
- available wallets, then provide the wallet name
for which
- wallet the user would like to connect with.
-
- >
- );
-}
-
-function Right() {
- const { name } = useWallet();
-
- return (
-
-
- Connect Wallet
-
- Connect to a CIP30 compatible wallet
-
-
-
-
- { }
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/createCollateral.tsx b/apps/mesh-web/components/pages/apis/meshwallet/createCollateral.tsx
deleted file mode 100644
index da144c1f3..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/createCollateral.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function CreateCollateral() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- Collateral is used to guarantee that nodes are compensated for their
- work in case phase-2 validation fails. Thus, collateral is the monetary
- guarantee a user gives to assure that the contract has been carefully
- designed and thoroughly tested. The collateral amount is specified at
- the time of constructing the transaction. Not directly, but by adding
- collateral inputs to the transaction. The total balance in the UTXOs
- corresponding to these specially marked inputs is the transaction’s
- collateral amount. If the user fulfills the conditions of the guarantee,
- and a contract gets executed, the collateral is safe.
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.createCollateral();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Create Collateral UTXO
-
- Create a new UTXO that can be used as collateral in a transaction.
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/generateWallet.tsx b/apps/mesh-web/components/pages/apis/meshwallet/generateWallet.tsx
deleted file mode 100644
index 1e9b141a6..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/generateWallet.tsx
+++ /dev/null
@@ -1,90 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { MeshWallet } from '@meshsdk/core';
-
-export default function GenerateWallet() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- You can generate deterministic keys based on the{' '}
-
- Bitcoin BIP39
-
- . These mnemonic phrases allow you to recover your wallet.
-
-
-
- Once you have your mnemonic phrase, you can use it to generate your
- deterministic keys. It will typically generate a series of private keys
- and corresponding public keys, which you can use to manage your
- cryptocurrencies.
-
-
- You can also generate private keys directly by adding true in the brew
- function.
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [responseMnemonic, setResponseMnemonic] = useState(null);
-
- async function runDemoGetMnemonic() {
- setLoading(true);
- const mnemonic = MeshWallet.brew();
- setResponseMnemonic(mnemonic);
- setLoading(false);
- }
-
- return (
- <>
-
-
- Generate Wallet
-
- Generate new mnemonic phrases for your wallet
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getAssets.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getAssets.tsx
deleted file mode 100644
index 7ba798f99..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getAssets.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetAssets() {
- return (
-
- );
-}
-
-function Left() {
- let codeSample = `[\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "1207329a668cf5c42b80a220a8c85d5e82ac0b6f5ecedda4c07a8acc4d657368486f6e6f72546f6b656e2d3530343935",\n`;
- codeSample += ` "policyId": "1207329a668cf5c42b80a220a8c85d5e82ac0b6f5ecedda4c07a8acc",\n`;
- codeSample += ` "assetName": "Mesh Token Of Appreciation",\n`;
- codeSample += ` "fingerprint": "asset1dw74h0w0meqg9cxkc9sezp8zqcxu8nl93fzfpz",\n`;
- codeSample += ` "quantity": "1"\n`;
- codeSample += ` }\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d4d657368546f6b656e",\n`;
- codeSample += ` "policyId": "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d",\n`;
- codeSample += ` "assetName": "MeshToken",\n`;
- codeSample += ` "fingerprint": "asset177e7535dclmkkph8ewt9fsghllkwmpspa3n98p",\n`;
- codeSample += ` "quantity": "10"\n`;
- codeSample += ` }\n`;
- codeSample += `]\n`;
-
- return (
- <>
- Returns a list of assets in wallet excluding lovelace, example:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getAssets();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Assets
-
- Get assets in the connected wallet
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getBalance.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getBalance.tsx
deleted file mode 100644
index be1512603..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getBalance.tsx
+++ /dev/null
@@ -1,91 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetBalance() {
- return (
-
- );
-}
-
-function Left() {
- let codeSample = `[\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "lovelace",\n`;
- codeSample += ` "quantity": "796105407"\n`;
- codeSample += ` },\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "0f5560dbc05282e05507aedb02d823d9d9f0e583cce579b81f9d1cd8",\n`;
- codeSample += ` "quantity": "1"\n`;
- codeSample += ` },\n`;
- codeSample += ` {\n`;
- codeSample += ` "unit": "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d4d657368546f6b656e",\n`;
- codeSample += ` "quantity": "2"\n`;
- codeSample += ` },\n`;
- codeSample += `]\n`;
-
- return (
- <>
-
- Returns a list of assets in the wallet. This API will return every
- assets in the wallet. Each asset is an object with the following
- properties:
-
-
-
- A unit is provided to display asset's name on the user interface.
-
-
- A quantity is provided to display asset's quantity on the user
- interface.
-
-
- Example:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getBalance();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Balance
-
- Get all assets in the connected wallet
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getChangeAddress.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getChangeAddress.tsx
deleted file mode 100644
index 8c869d3cc..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getChangeAddress.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetChangeAddress() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- Returns an address owned by the wallet that should be used as a change
- address to return leftover assets during transaction creation back to
- the connected wallet.
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getChangeAddress();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Change Address
-
- Get address that should be used for transaction's change
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getCollateral.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getCollateral.tsx
deleted file mode 100644
index dcb2f5171..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getCollateral.tsx
+++ /dev/null
@@ -1,91 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetCollateral() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` {\n`;
- example += ` "input": {\n`;
- example += ` "outputIndex": 1,\n`;
- example += ` "txHash": "ff8d1e97c60989b4f...02ee937595ad741ff597af1"\n`;
- example += ` },\n`;
- example += ` "output": {\n`;
- example += ` "address": "addr_test1qzm...z0fr8c3grjmysm5e6yx",\n`;
- example += ` "amount": [ { "unit": "lovelace", "quantity": "5000000" } ]\n`;
- example += ` }\n`;
- example += ` }\n`;
- example += `]\n`;
- return (
- <>
-
- This function shall return a list of one or more UTXOs (unspent
- transaction outputs) controlled by the wallet that are required to reach
- AT LEAST the combined ADA value target specified in amount AND the best
- suitable to be used as collateral inputs for transactions with plutus
- script inputs (pure ADA-only UTXOs).
-
-
- If this cannot be attained, an error message with an explanation of the
- blocking problem shall be returned. NOTE: wallets are free to return
- UTXOs that add up to a greater total ADA value than requested in the
- amount parameter, but wallets must never return any result where UTXOs
- would sum up to a smaller total ADA value, instead in a case like that
- an error message must be returned.
-
- Example of a response returned by this endpoint:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getCollateral();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Collateral
-
- Get list of UTXOs that used as collateral inputs for transactions
- with plutus script inputs
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getInstalledWallets.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getInstalledWallets.tsx
deleted file mode 100644
index 0d69fd898..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getInstalledWallets.tsx
+++ /dev/null
@@ -1,75 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import { BrowserWallet } from '@meshsdk/core';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-
-export default function GetInstalledWallets() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` {\n`;
- example += ` "name": "eternl",\n`;
- example += ` "icon": "data:image/png;base64,ICONBASE64HERE=",\n`;
- example += ` "version": "0.1.0"\n`;
- example += ` }\n`;
- example += `]\n`;
-
- return (
- <>
-
- Returns a list of wallets installed on user's device. Each wallet is an object with the following properties:
-
-
- A name is provided to display wallet's name on the user interface.
- A version is provided to display wallet's version on the user interface.
- An icon is provided to display wallet's icon on the user interface.
-
-
- Example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- let results = BrowserWallet.getInstalledWallets();
- setResponse(results);
- setLoading(false);
- }
- return (
-
-
- Get Installed Wallets
-
- Get a list of wallets on user's device
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getLovelace.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getLovelace.tsx
deleted file mode 100644
index fe6099b5d..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getLovelace.tsx
+++ /dev/null
@@ -1,61 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetLovelace() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
- Return the lovelace balance in wallet. 1 ADA = 1000000 lovelace.
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getLovelace();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Lovelace
-
- Get amount of ADA in connected wallet
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getNetworkId.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getNetworkId.tsx
deleted file mode 100644
index 3e6885d27..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getNetworkId.tsx
+++ /dev/null
@@ -1,67 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetNetworkId() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- Returns the network ID of the currently connected account.{' '}
- 0
is testnet and 1
is mainnet but other
- networks can possibly be returned by wallets. Those other network ID
- values are not governed by CIP-30. This result will stay the same unless
- the connected account has changed.
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getNetworkId();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Network ID
-
- Get currently connected network
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getPolicyIdAssets.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getPolicyIdAssets.tsx
deleted file mode 100644
index 4735e8da4..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getPolicyIdAssets.tsx
+++ /dev/null
@@ -1,72 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import Input from '../../../ui/input';
-import { getMeshWallet } from './common';
-import { assetPolicyId } from '../../../../configs/demo';
-
-export default function GetPolicyIdAssets() {
- const [policyId, setPolicyId] = useState(assetPolicyId);
- return (
-
- );
-}
-
-function Left({ policyId }) {
- return (
- <>
-
- Returns a list of assets from a policy ID. If no assets in wallet
- belongs to the policy ID, an empty list is returned. Query for a list of
- assets' policy ID with wallet.getPolicyIds()
.
-
- >
- );
-}
-
-function Right({ policyId, setPolicyId }) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getPolicyIdAssets(policyId);
- setResponse(results);
- setLoading(false);
- }
- return (
-
-
- Get a Collection of Assets
-
- Get a list of assets belonging to the policy ID
-
-
- setPolicyId(e.target.value)}
- placeholder="Policy ID"
- label="Policy ID"
- />
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getPolicyIds.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getPolicyIds.tsx
deleted file mode 100644
index c75117a3b..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getPolicyIds.tsx
+++ /dev/null
@@ -1,69 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetPolicyIds() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` "0f5560dbc05282e05507aedb02d823d9d9f0e583cce579b81f9d1cd8",\n`;
- example += ` "5bed9e89299c69d9a54bbc82d88aa5a86698b2b7b9d0ed030fc4b0ff",\n`;
- example += ` "9c8e9da7f81e3ca90485f32ebefc98137c8ac260a072a00c4aaf142d",\n`;
- example += `]\n`;
- return (
- <>
- Return a list of assets' policy ID. An example response would be:
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getPolicyIds();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Policy IDs
-
- Get a list of policy IDs from all assets in wallet
-
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getRewardAddresses.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getRewardAddresses.tsx
deleted file mode 100644
index 9a0f9edbe..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getRewardAddresses.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetRewardAddresses() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` "stake_test1uzx0ksy9f4qnj2mzfdncqyjy84sszh64w43853nug5pedjgytgke9"\n`;
- example += `]\n`;
-
- return (
- <>
-
- Returns a list of reward addresses owned by the wallet. A reward address
- is a stake address that is used to receive rewards from staking,
- generally starts from `stake` prefix. Example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getRewardAddresses();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Reward Addresses
-
- Get stake addresses
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getUnusedAddresses.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getUnusedAddresses.tsx
deleted file mode 100644
index 9ef45d6be..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getUnusedAddresses.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetUnusedAddresses() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` "addr_test1qzk9x08mtre4jp8f7j8zu8802...r8c3grjmys7fl22c",\n`;
- example += ` "addr_test1qrmf35xyw2petfr0e0p4at0r7...8sc3grjmysm73dk8",\n`;
- example += ` "addr_test1qq6ts58hdaasd2q78fdjj0arm...i8c3grjmys85k8mf",\n`;
- example += `]\n`;
- return (
- <>
-
- Returns a list of unused addresses controlled by the wallet. For
- example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getUnusedAddresses();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Unused Addresses
-
- Get addresses that are unused
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getUsedAddresses.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getUsedAddresses.tsx
deleted file mode 100644
index 6819a05f2..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getUsedAddresses.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetUsedAddresses() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` "addr_test1qzk9x08mtre4jp8f7j8zu8802...r8c3grjmys7fl88a",\n`;
- example += ` "addr_test1qrmf35xyw2petfr0e0p4at0r7...8sc3grjmysm76gt3",\n`;
- example += ` "addr_test1qq6ts58hdaasd2q78fdjj0arm...i8c3grjmys85dn39",\n`;
- example += `]\n`;
- return (
- <>
-
- Returns a list of used addresses controlled by the wallet. For example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getUsedAddresses();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get Used Addresses
-
- Get addresses that are used
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/getUtxos.tsx b/apps/mesh-web/components/pages/apis/meshwallet/getUtxos.tsx
deleted file mode 100644
index 592f567f1..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/getUtxos.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import { getMeshWallet } from './common';
-
-export default function GetUtxos() {
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `[\n`;
- example += ` {\n`;
- example += ` "input": {\n`;
- example += ` "outputIndex": 0,\n`;
- example += ` "txHash": "16dcbb1f93b4f9d5e...9106c7b121463c210ba"\n`;
- example += ` },\n`;
- example += ` "output": {\n`;
- example += ` "address": "addr_test1qzag7whju08xwrq...z0fr8c3grjmysgaw9y8",\n`;
- example += ` "amount": [\n`;
- example += ` {\n`;
- example += ` "unit": "lovelace",\n`;
- example += ` "quantity": "1314550"\n`;
- example += ` },\n`;
- example += ` {\n`;
- example += ` "unit": "f05c91a850...3d824d657368546f6b656e3032",\n`;
- example += ` "quantity": "1"\n`;
- example += ` }\n`;
- example += ` ]\n`;
- example += ` }\n`;
- example += ` }\n`;
- example += `]\n`;
- return (
- <>
-
- Return a list of all UTXOs (unspent transaction outputs) controlled by
- the wallet. For example:
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- const wallet = getMeshWallet();
- let results = await wallet.getUtxos();
- setResponse(results);
- setLoading(false);
- }
- return (
- <>
-
-
- Get UTXOs
-
- Get UTXOs of the connected wallet
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/hero.tsx b/apps/mesh-web/components/pages/apis/meshwallet/hero.tsx
deleted file mode 100644
index a065f0449..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/hero.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import { WalletIcon } from '@heroicons/react/24/solid';
-
-export default function Hero() {
- return (
- <>
-
-
-
-
- Whether you are building a minting script, or an application that
- requires multi-signature, MeshWallet
is all you need to
- get started.
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/index.tsx b/apps/mesh-web/components/pages/apis/meshwallet/index.tsx
deleted file mode 100644
index 77bf76802..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/index.tsx
+++ /dev/null
@@ -1,74 +0,0 @@
-import CommonLayout from '../../../common/layout';
-import Hero from './hero';
-import GetBalance from './getBalance';
-import GetChangeAddress from './getChangeAddress';
-import GetNetworkId from './getNetworkId';
-import GetRewardAddresses from './getRewardAddresses';
-import GetUnusedAddresses from './getUnusedAddresses';
-import GetUsedAddresses from './getUsedAddresses';
-import GetUtxos from './getUtxos';
-import SignData from './signData';
-import SignTx from './signTx';
-import SubmitTransaction from './submitTx';
-import GetLovelace from './getLovelace';
-import GetAssets from './getAssets';
-import GetPolicyIds from './getPolicyIds';
-import GetPolicyIdAssets from './getPolicyIdAssets';
-import GetCollateral from './getCollateral';
-import LoadWallet from './loadWallet';
-import CreateCollateral from './createCollateral';
-import GenerateWallet from './generateWallet';
-
-export default function MeshWallet() {
- const sidebarItems = [
- { label: 'Initialize wallet', to: 'initWallet' },
- { label: 'Generate wallet', to: 'generateWallet' },
- { label: 'Get balance', to: 'getBalance' },
- { label: 'Get change address', to: 'getChangeAddress' },
- { label: 'Get collateral', to: 'getCollateral' },
- { label: 'Get network ID', to: 'getNetworkId' },
- { label: 'Get reward addresses', to: 'getRewardAddresses' },
- { label: 'Get unused addresses', to: 'getUnusedAddresses' },
- { label: 'Get used addresses', to: 'getUsedAddresses' },
- { label: 'Get UTXOs', to: 'getUtxos' },
- { label: 'Sign data', to: 'signData' },
- { label: 'Sign transaction', to: 'signTx' },
- { label: 'Submit transaction', to: 'submitTx' },
- { label: 'Create collateral', to: 'createCollateral' },
- { label: 'Get assets', to: 'getAssets' },
- { label: 'Get lovelace', to: 'getLovelace' },
- { label: 'Get policy IDs', to: 'getPolicyIds' },
- { label: 'Get collection of assets', to: 'getPolicyIdAssets' },
- ];
- return (
-
-
-
-
- );
-}
-
-function Main() {
- return (
- <>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/loadWallet.tsx b/apps/mesh-web/components/pages/apis/meshwallet/loadWallet.tsx
deleted file mode 100644
index 27d9e1c03..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/loadWallet.tsx
+++ /dev/null
@@ -1,344 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { MeshWallet, BlockfrostProvider } from '@meshsdk/core';
-import {
- demoMnemonic,
- demoPrivateKey,
- demoCLIKey,
-} from '../../../../configs/demo';
-import Input from '../../../ui/input';
-import Textarea from '../../../ui/textarea';
-import ButtonGroup from '../../../ui/buttongroup';
-import BlockchainProviderCodeSnippet from '../../../common/blockchainProvider';
-import useAppWallet from '../../../../contexts/appWallet';
-
-export default function LoadWallet() {
- const [demoMethod, setDemoMethod] = useState(0);
- const [mnemonic, setMnemonic] = useState(
- JSON.stringify(demoMnemonic, null, 2)
- );
- const [network, setNetwork] = useState(0);
- const [privatekey, setPrivatekey] = useState(demoPrivateKey);
- const [paymentSkey, setPaymentSkey] = useState(
- demoCLIKey.paymentSkey
- );
- const [stakeSkey, setStakeSkey] = useState(demoCLIKey.stakeSkey);
-
- return (
-
- );
-}
-
-function Left(mnemonic, network, privatekey, paymentSkey, stakeSkey) {
- let _mnemonic = JSON.stringify(demoMnemonic);
- try {
- _mnemonic = JSON.stringify(JSON.parse(mnemonic));
- } catch (e) {}
-
- let codeCommon = `import { MeshWallet } from '@meshsdk/core';\n\n`;
-
- let code1 = codeCommon;
- code1 += `const wallet = new MeshWallet({\n`;
- code1 += ` networkId: ${network},\n`;
- code1 += ` fetcher: blockchainProvider,\n`;
- code1 += ` submitter: blockchainProvider,\n`;
- code1 += ` key: {\n`;
- code1 += ` type: 'mnemonic',\n`;
- code1 += ` words: ${_mnemonic},\n`;
- code1 += ` },\n`;
- code1 += `});\n`;
-
- let code2 = `const address = wallet.getChangeAddress();`;
-
- let code3 = codeCommon;
- code3 += `const wallet = new MeshWallet({\n`;
- code3 += ` networkId: ${network},\n`;
- code3 += ` fetcher: blockchainProvider,\n`;
- code3 += ` submitter: blockchainProvider,\n`;
- code3 += ` key: {\n`;
- code3 += ` type: 'root',\n`;
- code3 += ` bech32: '${privatekey}',\n`;
- code3 += ` },\n`;
- code3 += `});\n`;
-
- return (
- <>
- You can initialize Mesh Wallet with:
-
- mnemonic phrases
- Cardano CLI generated keys
- private keys
-
- Lets import a blockchain provider:
-
- Mnemonic phrases
- We can load wallet with mnemonic phrases:
-
-
- With the wallet
loaded, you can sign transactions, we will
- see how to do this in the next section, for now lets get the wallet's
- address:
-
-
-
- Private keys
- We can load wallet with private keys:
-
- >
- );
-}
-
-function Right(
- demoMethod,
- setDemoMethod,
- network,
- setNetwork,
- mnemonic,
- setMnemonic,
- privatekey,
- setPrivatekey,
- paymentSkey,
- setPaymentSkey,
- stakeSkey,
- setStakeSkey
-) {
- const [loading, setLoading] = useState(false);
- const [responseAddress, setResponseAddress] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemoLoadWallet() {
- setLoading(true);
- setResponseError(null);
- setResponseAddress(null);
-
- const blockchainProvider = new BlockfrostProvider(
- process.env.NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD!
- );
-
- if (demoMethod == 0) {
- let _mnemonic = [];
- try {
- _mnemonic = JSON.parse(mnemonic);
- } catch (e) {
- setResponseError('Mnemonic input is not a valid array.');
- }
-
- try {
- if (_mnemonic.length) {
- const _wallet = new MeshWallet({
- networkId: network,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'mnemonic',
- words: _mnemonic,
- },
- });
-
- const address = _wallet.getChangeAddress();
- setResponseAddress(address);
- }
- } catch (error) {
- setResponseError(`${error}`);
- }
- }
- if (demoMethod == 1) {
- try {
- const _wallet = new MeshWallet({
- networkId: network,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'root',
- bech32: privatekey,
- },
- });
-
- const address = _wallet.getChangeAddress();
- setResponseAddress(address);
- } catch (error) {
- setResponseError(`${error}`);
- }
- }
- if (demoMethod == 2) {
- try {
- const stake = stakeSkey?.length > 0 ? stakeSkey : undefined;
- const _wallet = new MeshWallet({
- networkId: network,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'cli',
- payment: paymentSkey,
- stake,
- },
- });
-
- const address = _wallet.getChangeAddress();
- setResponseAddress(address);
- } catch (error) {
- setResponseError(`${error}`);
- }
- }
-
- setLoading(false);
- }
-
- return (
- <>
-
- setDemoMethod(0),
- },
- {
- key: 1,
- label: 'Private key',
- onClick: () => setDemoMethod(1),
- },
- {
- key: 2,
- label: 'CLI keys',
- onClick: () => setDemoMethod(2),
- },
- ]}
- currentSelected={demoMethod}
- />
-
-
-
-
-
-
- >
- );
-}
-
-function InputTable({
- demoMethod,
- network,
- setNetwork,
- mnemonic,
- setMnemonic,
- privatekey,
- setPrivatekey,
- paymentSkey,
- setPaymentSkey,
- stakeSkey,
- setStakeSkey,
-}) {
- return (
-
-
-
- Load wallet with {demoMethod == 0 && 'mnemonic phrases'}
- {demoMethod == 1 && 'private keys'}
- {demoMethod == 2 && 'CLI generated keys'}
-
- Provide the {demoMethod == 0 && 'mnemonic phrases'}
- {demoMethod == 1 && 'private keys'}
- {demoMethod == 2 && 'CLI generated keys'} to recover your wallet.
- After initializing the MeshWallet
, we will get the
- wallet's payment address.
-
-
- Note: Mesh Playground is safe if you really have to recover your
- Mainnet wallet, but recovering your testing wallet on Mesh
- Playground is recommended.
-
-
-
-
-
- {demoMethod == 0 && (
- <>
-
- Mnemonic phrases
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/signData.tsx b/apps/mesh-web/components/pages/apis/meshwallet/signData.tsx
deleted file mode 100644
index 3d8cc1585..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/signData.tsx
+++ /dev/null
@@ -1,106 +0,0 @@
-import { useState } from 'react';
-import { useWallet } from '@meshsdk/react';
-import Codeblock from '../../../ui/codeblock';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import Card from '../../../ui/card';
-import Input from '../../../ui/input';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import ConnectCipWallet from '../../../common/connectCipWallet';
-import Link from 'next/link';
-import { getMeshWallet } from './common';
-
-export default function SignData() {
- const [payload, setPayload] = useState('mesh');
-
- return (
-
- );
-}
-
-function Left() {
- let example = ``;
- example += `{\n`;
- example += ` "signature": "845846a2012...f9119a18e8977d436385cecb08",\n`;
- example += ` "key": "a4010103272006215...b81a7f6ed4fa29cc7b33186c"\n`;
- example += `}\n`;
- return (
- <>
-
- This endpoint utilizes the{' '}
-
- CIP-8 - Message Signing
- {' '}
- to sign arbitrary data, to verify the data was signed by the owner of
- the private key.
-
-
- Here, we get the first wallet's address with{' '}
- wallet.getUsedAddresses()
, alternativelly you can use
- reward addresses (getRewardAddresses()
) too. It's really up
- to you as the developer which address you want to use in your
- application.
-
- Example of a response from the endpoint:
-
-
- Continue reading this{' '}
-
- guide
- {' '}
- to learn how to verify the signature.
-
- >
- );
-}
-
-function Right(payload, setPayload) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- try {
- const wallet = getMeshWallet();
- let results = await wallet.signData(payload);
- setResponse(results);
- } catch (error) {}
- setLoading(false);
- }
-
- let code = ``;
- code += `const signature = await wallet.signData('${payload}');`;
-
- return (
-
-
- Sign Data
-
- Use connected wallet to sign a payload
-
-
- setPayload(e.target.value)}
- placeholder="Payload"
- label="Payload"
- />
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/signTx.tsx b/apps/mesh-web/components/pages/apis/meshwallet/signTx.tsx
deleted file mode 100644
index 386f0a233..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/signTx.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import Link from 'next/link';
-import Codeblock from '../../../ui/codeblock';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import Card from '../../../ui/card';
-
-export default function SignTx() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- Requests user to sign the provided transaction (tx
). The
- wallet should ask the user for permission, and if given, try to sign the
- supplied body and return a signed transaction. partialSign
{' '}
- should be true
if the transaction provided requires
- multiple signatures.
-
- >
- );
-}
-
-function Right() {
- return (
-
-
- Sign Transaction
-
- Use connected wallet to sign a transaction
-
-
-
-
- Check out Transaction to learn
- more on how to use this API.
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/meshwallet/submitTx.tsx b/apps/mesh-web/components/pages/apis/meshwallet/submitTx.tsx
deleted file mode 100644
index 2086310dc..000000000
--- a/apps/mesh-web/components/pages/apis/meshwallet/submitTx.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import Link from 'next/link';
-import Codeblock from '../../../ui/codeblock';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import Card from '../../../ui/card';
-
-export default function SubmitTransaction() {
- return (
-
- );
-}
-
-function Left() {
- return (
- <>
-
- As wallets should already have this ability to submit transaction, we
- allow dApps to request that a transaction be sent through it. If the
- wallet accepts the transaction and tries to send it, it shall return the
- transaction ID for the dApp to track. The wallet can return error
- messages or failure if there was an error in sending it.
-
- >
- );
-}
-
-function Right() {
- return (
-
-
- Submit Transaction
-
- Use connected wallet to submit a transaction
-
-
-
-
- Check out Transaction to learn
- more on how to use this API.
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/hero.tsx b/apps/mesh-web/components/pages/apis/resolvers/hero.tsx
deleted file mode 100644
index e6120e0cd..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/hero.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import { WrenchScrewdriverIcon } from '@heroicons/react/24/solid';
-
-export default function Hero() {
- return (
- <>
-
- {/*
-
-
Converting to data hashes or key hashes.
-
Lets see what what resolvers can do.
-
-
*/}
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/index.tsx b/apps/mesh-web/components/pages/apis/resolvers/index.tsx
deleted file mode 100644
index 1e6838012..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/index.tsx
+++ /dev/null
@@ -1,60 +0,0 @@
-import CommonLayout from '../../../common/layout';
-import ResolveDataHash from './resolveDataHash';
-import Hero from './hero';
-import ResolveFingerprint from './resolveFingerprint';
-import ResolvePrivateKey from './resolvePrivateKey';
-import ResolvePlutusScriptAddress from './resolvePlutusScriptAddress';
-import ResolvePlutusScriptHash from './resolvePlutusScriptHash';
-import ResolvePaymentKeyHash from './resolvePaymentKeyHash';
-import ResolveStakeAddress from './resolveStakeAddress';
-import ResolveStakeKeyHash from './resolveStakeKeyHash';
-import ResolveTxHash from './resolveTxHash';
-import ResolveEpochNo from './resolveEpochNo';
-import ResolveSlotNo from './resolveSlotNo';
-import ResolveNativeScriptHash from './resolveNativeScriptHash';
-import ResolveNativeScriptAddress from './resolveNativeScriptAddress';
-
-export default function Resolvers() {
- const sidebarItems = [
- { label: 'Data Hash', to: 'resolveDataHash' },
- { label: 'Fingerprint', to: 'resolveFingerprint' },
- { label: 'Native Script Address', to: 'resolveNativeScriptAddress' },
- { label: 'Native Script Hash', to: 'resolveNativeScriptHash' },
- { label: 'Payment Key Hash', to: 'resolvePaymentKeyHash' },
- { label: 'Plutus Script Address', to: 'resolvePlutusScriptAddress' },
- { label: 'Plutus Script Hash', to: 'resolvePlutusScriptHash' },
- { label: 'Private Key', to: 'resolvePrivateKey' },
- { label: 'Stake Address', to: 'resolveStakeAddress' },
- { label: 'Stake Key Hash', to: 'resolveStakeKeyHash' },
- { label: 'Tx Hash', to: 'resolveTxHash' },
- { label: 'Slot Number', to: 'resolveSlotNo' },
- { label: 'Epoch Number', to: 'resolveEpochNo' },
- ];
-
- return (
-
-
-
-
- );
-}
-
-function Main() {
- return (
- <>
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveDataHash.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveDataHash.tsx
deleted file mode 100644
index 46332757c..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveDataHash.tsx
+++ /dev/null
@@ -1,99 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolveDataHash } from '@meshsdk/core';
-import type { Data } from '@meshsdk/core';
-import Input from '../../../ui/input';
-import Link from 'next/link';
-
-export default function ResolveDataHash() {
- const [userinput, setUserinput] = useState('supersecretdatum');
- return (
-
- );
-}
-
-function isNumeric(value) {
- return /^\d+$/.test(value);
-}
-
-function Left(userinput) {
- if (isNumeric(userinput)) {
- userinput = parseInt(userinput);
- }
- let code1 = '';
- code1 += `import { resolveDataHash } from '@meshsdk/core';\n`;
- code1 += `import type { Data } from '@meshsdk/core';\n`;
- code1 += `const datum: Data = ${
- isNumeric(userinput) ? userinput : `'${userinput}'`
- };\n`;
- code1 += `const dataHash = resolveDataHash(datum);\n`;
-
- return (
- <>
-
- resolveDataHash
converts datum into hash. Getting the hash
- is useful when you need to query for the UTXO that contain the assets
- you need for your transaction's input.
-
-
- Explore Transaction to learn more
- about designing Datum, and learn how to query for UTXOs containing the
- datum hash.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
-
- try {
- if (isNumeric(userinput)) {
- userinput = parseInt(userinput);
- }
- const datum: Data = userinput;
- const dataHash = resolveDataHash(datum);
- setResponse(dataHash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Datum"
- label="Datum"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveEpochNo.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveEpochNo.tsx
deleted file mode 100644
index 809543808..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveEpochNo.tsx
+++ /dev/null
@@ -1,98 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolveEpochNo } from '@meshsdk/core';
-import Select from '../../../ui/select';
-
-export default function ResolveEpochNo() {
- const [userinput, setUserinput] = useState('mainnet');
-
- return (
-
- );
-}
-
-function Left(userinput) {
- let code1 = `import { resolveEpochNo } from '@meshsdk/core';\n`;
-
- let code2 = `${code1}const epoch = resolveEpochNo('${userinput}');`;
-
- let code3 = `${code1}`;
- code3 += `let oneYearFromNow = new Date();\n`;
- code3 += `oneYearFromNow.setFullYear(oneYearFromNow.getFullYear() + 1);\n`;
- code3 += `const epoch = resolveEpochNo('${userinput}', oneYearFromNow.getTime());`;
-
- return (
- <>
-
- With resolveEpochNo
, you can get the current epoch with:
-
-
-
- You can also provide date in milliseconds
to get epoch in
- the past or the future. For example, get the epoch 1 year from now:
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- const networks = {
- mainnet: 'Mainnet',
- preprod: 'Preprod',
- preview: 'Preview',
- testnet: 'Testnet',
- };
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
-
- // let oneYearFromNow = new Date();
- // oneYearFromNow.setFullYear(oneYearFromNow.getFullYear() + 1);
- // const epoch = resolveEpochNo('mainnet', oneYearFromNow.getTime());
-
- try {
- const epoch = resolveEpochNo(userinput);
- setResponse(epoch);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- label="Select network"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveFingerprint.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveFingerprint.tsx
deleted file mode 100644
index 1dc64154a..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveFingerprint.tsx
+++ /dev/null
@@ -1,95 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolveFingerprint } from '@meshsdk/core';
-import Input from '../../../ui/input';
-
-export default function ResolveFingerprint() {
- const [userinput, setUserinput] = useState(
- '426117329844ccb3b0ba877220ff06a5bdf21eab3fb33e2f3a3f8e69'
- );
- const [userinput2, setUserinput2] = useState('meshtoken');
-
- return (
-
- );
-}
-
-function Left(userinput, userinput2) {
- return (
- <>
-
- resolveFingerprint
takes policy ID and asset name, and
- return asset fingerprint based on{' '}
-
- CIP-14
-
- .
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput, userinput2, setUserinput2) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
-
- try {
- const policyId = userinput;
- const assetName = userinput2;
- const hash = resolveFingerprint(policyId, assetName);
- setResponse(hash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Policy ID"
- label="Policy ID"
- />
- setUserinput2(e.target.value)}
- placeholder="Asset name"
- label="Asset name"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveNativeScriptAddress.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveNativeScriptAddress.tsx
deleted file mode 100644
index 9f064eba7..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveNativeScriptAddress.tsx
+++ /dev/null
@@ -1,110 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import {
- resolveNativeScriptAddress,
- resolvePaymentKeyHash,
-} from '@meshsdk/core';
-import Input from '../../../ui/input';
-import type { NativeScript } from '@meshsdk/core';
-import { demoAddresses } from '../../../../configs/demo';
-
-export default function ResolveNativeScriptAddress() {
- const [userinput, setUserinput] = useState(demoAddresses.mainnet);
- const [userinput2, setUserinput2] = useState('meshtoken');
-
- return (
-
- );
-}
-
-function Left(userinput, userinput2) {
- let code1 = `import { resolveNativeScriptHash, resolvePaymentKeyHash, resolveSlotNo } from '@meshsdk/core';\n\n`;
- code1 += `const keyHash = resolvePaymentKeyHash('${userinput}');\n`;
- code1 += `\n`;
- code1 += `const nativeScript: NativeScript = {\n`;
- code1 += ` type: 'all',\n`;
- code1 += ` scripts: [\n`;
- code1 += ` {\n`;
- code1 += ` type: 'sig',\n`;
- code1 += ` keyHash: keyHash,\n`;
- code1 += ` },\n`;
- code1 += ` ],\n`;
- code1 += `};\n`;
- code1 += `\n`;
- code1 += `const address = resolveNativeScriptAddress(nativeScript, ${
- userinput.substring(0, 5) === 'addr1' ? 1 : 0
- });\n`;
-
- return (
- <>
-
- Converts NativeScript
into address.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput, userinput2, setUserinput2) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
-
- try {
- const keyHash = resolvePaymentKeyHash(userinput);
-
- const nativeScript: NativeScript = {
- type: 'all',
- scripts: [
- {
- type: 'sig',
- keyHash: keyHash,
- },
- ],
- };
-
- const address = resolveNativeScriptAddress(
- nativeScript,
- userinput.substring(0, 5) === 'addr1' ? 1 : 0
- );
- setResponse(address);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Address"
- label="Address"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveNativeScriptHash.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveNativeScriptHash.tsx
deleted file mode 100644
index eafebbcc7..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveNativeScriptHash.tsx
+++ /dev/null
@@ -1,102 +0,0 @@
-import { useState } from "react";
-import Codeblock from "../../../ui/codeblock";
-import Card from "../../../ui/card";
-import SectionTwoCol from "../../../common/sectionTwoCol";
-import RunDemoButton from "../../../common/runDemoButton";
-import RunDemoResult from "../../../common/runDemoResult";
-import { resolveNativeScriptHash, resolvePaymentKeyHash } from "@meshsdk/core";
-import Input from "../../../ui/input";
-import type { NativeScript } from "@meshsdk/core";
-import { demoAddresses } from "../../../../configs/demo";
-
-export default function ResolveNativeScriptHash() {
- const [userinput, setUserinput] = useState(demoAddresses.mainnet);
- const [userinput2, setUserinput2] = useState("meshtoken");
-
- return (
-
- );
-}
-
-function Left(userinput, userinput2) {
- let code1 = `import { resolveNativeScriptHash, resolvePaymentKeyHash, resolveSlotNo } from '@meshsdk/core';\n\n`;
- code1 += `const keyHash = resolvePaymentKeyHash('${userinput}');\n`;
- code1 += `\n`;
- code1 += `const nativeScript: NativeScript = {\n`;
- code1 += ` type: 'all',\n`;
- code1 += ` scripts: [\n`;
- code1 += ` {\n`;
- code1 += ` type: 'sig',\n`;
- code1 += ` keyHash: keyHash,\n`;
- code1 += ` },\n`;
- code1 += ` ],\n`;
- code1 += `};\n`;
- code1 += `\n`;
- code1 += `const hash = resolveNativeScriptHash(nativeScript);\n`;
-
- return (
- <>
-
- Converts NativeScript
into hash.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput, userinput2, setUserinput2) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
-
- try {
- const keyHash = resolvePaymentKeyHash(userinput);
-
- const nativeScript: NativeScript = {
- type: "all",
- scripts: [
- {
- type: "sig",
- keyHash: keyHash,
- },
- ],
- };
-
- const hash = resolveNativeScriptHash(nativeScript);
- setResponse(hash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Address"
- label="Address"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolvePaymentKeyHash.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolvePaymentKeyHash.tsx
deleted file mode 100644
index 17ad1e009..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolvePaymentKeyHash.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolvePaymentKeyHash } from '@meshsdk/core';
-import Input from '../../../ui/input';
-import { demoAddresses } from '../../../../configs/demo';
-
-export default function ResolvePaymentKeyHash() {
- const [userinput, setUserinput] = useState(demoAddresses.testnet);
-
- return (
-
- );
-}
-
-function Left(userinput) {
- let code = `import { resolvePaymentKeyHash } from '@meshsdk/core';\nconst hash = resolvePaymentKeyHash('${userinput}');`;
-
- return (
- <>
-
- Provide an address, and resolvePaymentKeyHash
will return
- the pub key hash of the payment key. This key hash is useful for building
- the NativeScript.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
- try {
- const hash = resolvePaymentKeyHash(userinput);
- setResponse(hash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Address"
- label="Address"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolvePlutusScriptAddress.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolvePlutusScriptAddress.tsx
deleted file mode 100644
index a499cf9f7..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolvePlutusScriptAddress.tsx
+++ /dev/null
@@ -1,102 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolvePlutusScriptAddress } from '@meshsdk/core';
-import Input from '../../../ui/input';
-import type { PlutusScript } from '@meshsdk/core';
-
-export default function ResolvePlutusScriptAddress() {
- const [userinput, setUserinput] = useState(0);
- const [userinput2, setUserinput2] = useState(
- '4e4d01000033222220051200120011'
- );
-
- return (
-
- );
-}
-
-function Left(userinput, userinput2) {
-
- let code = `import { resolvePlutusScriptAddress } from '@meshsdk/core';\n`;
- code += `import type { PlutusScript } from '@meshsdk/core';\n\n`;
-
- code += `const script: PlutusScript = {\n`;
- code += ` code: '${userinput2}',\n`;
- code += ` version: 'V1',\n`;
- code += `};\n`;
- code += `const address = resolvePlutusScriptAddress(script, ${userinput});\n`;
-
- return (
- <>
-
- Provide the Plutus script in CBOR, and{' '}
- resolvePlutusScriptAddress
will return a bech32 address of
- the script.
-
-
- For example, we can get the address of the always succeed
{' '}
- smart contract.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput, userinput2, setUserinput2) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
- try {
- const script: PlutusScript = {
- code: userinput2,
- version: 'V1',
- };
- const hash = resolvePlutusScriptAddress(script, userinput);
- setResponse(hash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Network ID"
- label="Network ID"
- type="number"
- />
- setUserinput2(e.target.value)}
- placeholder="Plutus script CBOR"
- label="Plutus script CBOR"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolvePlutusScriptHash.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolvePlutusScriptHash.tsx
deleted file mode 100644
index d3ae68753..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolvePlutusScriptHash.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolvePlutusScriptHash } from '@meshsdk/core';
-import Input from '../../../ui/input';
-
-export default function ResolvePlutusScriptHash() {
- const [userinput, setUserinput] = useState(
- 'addr_test1wpnlxv2xv9a9ucvnvzqakwepzl9ltx7jzgm53av2e9ncv4sysemm8'
- );
-
- return (
-
- );
-}
-
-function Left(userinput) {
- let code = `import { resolvePlutusScriptHash } from '@meshsdk/core';\nconst hash = resolvePlutusScriptHash('${userinput}');`;
-
- return (
- <>
-
- Provide the Plutus script address, and resolveScriptHash
{' '}
- will return a script hash. This script hash can be use for building
- minting transaction with Plutus contract.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
- try {
- const hash = resolvePlutusScriptHash(userinput);
- setResponse(hash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Plutus script address"
- label="Plutus script address"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolvePrivateKey.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolvePrivateKey.tsx
deleted file mode 100644
index c67ffec5a..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolvePrivateKey.tsx
+++ /dev/null
@@ -1,90 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolvePrivateKey } from '@meshsdk/core';
-import { demoMnemonic } from '../../../../configs/demo';
-import Textarea from '../../../ui/textarea';
-
-export default function ResolvePrivateKey() {
- const [userinput, setUserinput] = useState(
- JSON.stringify(demoMnemonic, null, 2)
- );
-
- return (
-
- );
-}
-
-function Left(userinput) {
- let _mnemonic = JSON.stringify(demoMnemonic);
- try {
- _mnemonic = JSON.stringify(JSON.parse(userinput));
- } catch (e) {}
-
- let code = `import { resolvePrivateKey } from '@meshsdk/core';\nconst dataHash = resolvePrivateKey(${_mnemonic});`;
-
- return (
- <>
-
- Provide the mnemonic phrases and resolvePrivateKey
will
- return a private key.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
-
- let _mnemonic = [];
- try {
- _mnemonic = JSON.parse(userinput);
- } catch (e) {
- setResponseError('Mnemonic input is not a valid array.');
- }
-
- try {
- const dataHash = resolvePrivateKey(_mnemonic);
- setResponse(dataHash);
- } catch (error) {
- setResponseError(`${error}`);
- }
-
- setLoading(false);
- }
-
- return (
- <>
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveSlotNo.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveSlotNo.tsx
deleted file mode 100644
index 060cf66b1..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveSlotNo.tsx
+++ /dev/null
@@ -1,100 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolveSlotNo } from '@meshsdk/core';
-import Select from '../../../ui/select';
-
-export default function ResolveSlotNo() {
- const [userinput, setUserinput] = useState('mainnet');
-
- return (
-
- );
-}
-
-function Left(userinput) {
- let code1 = `import { resolveSlotNo } from '@meshsdk/core';\n`;
-
- let code2 = `${code1}const slot = resolveSlotNo('${userinput}');`;
-
- let code3 = `${code1}`;
- code3 += `let oneYearFromNow = new Date();\n`;
- code3 += `oneYearFromNow.setFullYear(oneYearFromNow.getFullYear() + 1);\n`;
- code3 += `const slot = resolveSlotNo('${userinput}', oneYearFromNow.getTime());`;
-
- return (
- <>
-
- With resolveSlotNo
, you can get the current slot number
- with:
-
-
-
- You can also provide date in milliseconds
to get slots in
- the past or the future. For example, get the slot number 1 year from
- now:
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- const networks = {
- mainnet: 'Mainnet',
- preprod: 'Preprod',
- preview: 'Preview',
- testnet: 'Testnet',
- };
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
-
- // let oneYearFromNow = new Date();
- // oneYearFromNow.setFullYear(oneYearFromNow.getFullYear() + 1);
- // const slot = resolveSlotNo('mainnet', oneYearFromNow.getTime());
-
- try {
- const slot = resolveSlotNo(userinput);
- setResponse(slot);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- label="Select network"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveStakeAddress.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveStakeAddress.tsx
deleted file mode 100644
index 5b2f0a65f..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveStakeAddress.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolveRewardAddress } from '@meshsdk/core';
-import Input from '../../../ui/input';
-
-export default function ResolveStakeAddress() {
- const [userinput, setUserinput] = useState(
- 'addr_test1qzl2r3fpmav0fmh0vrry0e0tmzxxqwv32sylnlty2jj8dwg636sfudakhsh65qggs4ttjjsk8fuu3fkd65uaxcxv0tfqv3z0y3'
- );
-
- return (
-
- );
-}
-
-function Left(userinput) {
- let code = `import { resolveRewardAddress } from '@meshsdk/core';\nconst rewardAddress = resolveRewardAddress('${userinput}');`;
-
- return (
- <>
-
- Provide a wallet address, and resolveRewardAddress
will
- return a staking address in bech32 format.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
- try {
- const rewardAddress = resolveRewardAddress(userinput);
- setResponse(rewardAddress);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Address"
- label="Address"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveStakeKeyHash.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveStakeKeyHash.tsx
deleted file mode 100644
index d2187c47e..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveStakeKeyHash.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import { resolveStakeKeyHash } from '@meshsdk/core';
-import Input from '../../../ui/input';
-
-export default function ResolveStakeKeyHash() {
- const [userinput, setUserinput] = useState(
- 'stake1u93r8fsv43jyuw84yv4xwzfmka5sms5u5karqjysw2jszaq2kapyl'
- );
-
- return (
-
- );
-}
-
-function Left(userinput) {
- let code = `import { resolveStakeKeyHash } from '@meshsdk/core';\nconst hash = resolveStakeKeyHash('${userinput}');`;
-
- return (
- <>
-
- Provide a stake address, and resolveStakeKeyHash
will
- return the pub key hash of the stake address. This key hash is useful
- for building the NativeScript.
-
-
- >
- );
-}
-
-function Right(userinput, setUserinput) {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
- try {
- const hash = resolveStakeKeyHash(userinput);
- setResponse(hash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
- setUserinput(e.target.value)}
- placeholder="Address"
- label="Address"
- />
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/resolvers/resolveTxHash.tsx b/apps/mesh-web/components/pages/apis/resolvers/resolveTxHash.tsx
deleted file mode 100644
index 2fd2d3b9c..000000000
--- a/apps/mesh-web/components/pages/apis/resolvers/resolveTxHash.tsx
+++ /dev/null
@@ -1,95 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../ui/codeblock';
-import Card from '../../../ui/card';
-import SectionTwoCol from '../../../common/sectionTwoCol';
-import RunDemoButton from '../../../common/runDemoButton';
-import RunDemoResult from '../../../common/runDemoResult';
-import {
- resolveTxHash,
- Transaction,
- AppWallet,
- BlockfrostProvider,
-} from '@meshsdk/core';
-import { demoAddresses, demoPrivateKey } from '../../../../configs/demo';
-
-export default function ResolveTxHash() {
- return (
-
- );
-}
-
-function Left() {
- let code = `import { resolveTxHash } from '@meshsdk/core';\n`;
- code += `const tx = new Transaction({ initiator: wallet });\n`;
- code += `tx.sendLovelace(demoAddresses.testnet, '1500000');\n`;
- code += `const unsignedTx = await tx.build();\n`;
- code += `const hash1 = resolveTxHash(unsignedTx);\n`;
- code += `const signedTx = await wallet.signTx(unsignedTx, false);\n`;
- code += `const hash2 = resolveTxHash(signedTx);\n`;
- code += `const txHash = await wallet.submitTx(signedTx);\n`;
- code += `// txHash == hash1 == hash2`;
-
- return (
- <>
-
- Provide a cborTx
, resolveTxHash
will
- return the transaction hash.
-
-
- >
- );
-}
-
-function Right() {
- const [loading, setLoading] = useState(false);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setLoading(true);
- setResponse(null);
- setResponseError(null);
- try {
- const blockchainProvider = new BlockfrostProvider(
- process.env.NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD!
- );
- const wallet = new AppWallet({
- networkId: 0,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'root',
- bech32: demoPrivateKey,
- },
- });
- const tx = new Transaction({ initiator: wallet });
- tx.sendLovelace(demoAddresses.testnet, '1500000');
- const unsignedTx = await tx.build();
- const hash = resolveTxHash(unsignedTx);
- const signedTx = await wallet.signTx(unsignedTx, false);
- setResponse(hash);
- } catch (error) {
- setResponseError(`${error}`);
- }
- setLoading(false);
- }
-
- return (
- <>
-
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/coinSelection.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/coinSelection.tsx
deleted file mode 100644
index 6e873f95d..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/coinSelection.tsx
+++ /dev/null
@@ -1,142 +0,0 @@
-import Codeblock from '../../../../ui/codeblock';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { assetAsset } from '../../../../../configs/demo';
-// import { useWallet } from '@meshsdk/react';
-// import { largestFirstMultiAsset, keepRelevant } from '@meshsdk/core';
-// import type { Unit, Quantity } from '@meshsdk/core';
-// import ConnectCipWallet from '../../../../common/connectCipWallet';
-
-export default function CoinSelection() {
- return (
-
- );
-}
-
-function Left() {
- let codeSnippet1 = `import { largestFirst } from '@meshsdk/core';\n\n`;
- codeSnippet1 += `const utxos = await wallet.getUtxos();\n\n`;
- codeSnippet1 += `const costLovelace = '10000000';\n`;
- codeSnippet1 += `const selectedUtxos = largestFirst(costLovelace, utxos, true);`;
-
- let codeSnippet2 = `import { largestFirstMultiAsset } from '@meshsdk/core';\n`;
- codeSnippet2 += `import type { Unit, Quantity } from '@meshsdk/core';\n\n`;
- codeSnippet2 += `const utxos = await wallet.getUtxos();\n\n`;
- codeSnippet2 += `const assetMap = new Map();\n`;
- codeSnippet2 += `assetMap.set(\n`;
- codeSnippet2 += ` '${assetAsset}',\n`;
- codeSnippet2 += ` '1'\n`;
- codeSnippet2 += `);\n`;
- codeSnippet2 += `// if you need to include lovelace\n`;
- codeSnippet2 += `assetMap.set(\n`;
- codeSnippet2 += ` 'lovelace',\n`;
- codeSnippet2 += ` '10000000'\n`;
- codeSnippet2 += `);\n`;
- codeSnippet2 += `// if you need to include more than 1 native asset\n`;
- codeSnippet2 += `assetMap.set(\n`;
- codeSnippet2 += ` 'another asset unit',\n`;
- codeSnippet2 += ` '1'\n`;
- codeSnippet2 += `);\n\n`;
- codeSnippet2 += `const selectedUtxos = largestFirstMultiAsset(assetMap, utxos, true);`;
-
- let code3 = ``;
- code3 += `largestFirst = (\n`;
- code3 += ` lovelace: Quantity, initialUTxOSet: UTxO[], includeTxFees = false,\n`;
- code3 += ` { maxTxSize, minFeeA, minFeeB } = DEFAULT_PROTOCOL_PARAMETERS,\n`;
- code3 += `): UTxO[]`;
- let code4 = ``;
- code4 += `largestFirstMultiAsset = (\n`;
- code4 += ` requestedOutputSet: Map, initialUTxOSet: UTxO[],\n`;
- code4 += ` includeTxFees = false, parameters = DEFAULT_PROTOCOL_PARAMETERS,\n`;
- code4 += `): UTxO[]\n`;
-
- let codeKeepRelevant = ``;
- codeKeepRelevant += `import { keepRelevant } from '@meshsdk/core';\n`;
- codeKeepRelevant += `import type { Unit, Quantity } from '@meshsdk/core';\n`;
- codeKeepRelevant += `\n`;
- codeKeepRelevant += `const utxos = await wallet.getUtxos();\n\n`;
- codeKeepRelevant += `const assetMap = new Map();\n`;
- codeKeepRelevant += `assetMap.set(\n`;
- codeKeepRelevant += ` '${assetAsset}',\n`;
- codeKeepRelevant += ` '1'\n`;
- codeKeepRelevant += `);\n`;
- codeKeepRelevant += `// if you need to include lovelace\n`;
- codeKeepRelevant += `assetMap.set(\n`;
- codeKeepRelevant += ` 'lovelace',\n`;
- codeKeepRelevant += ` '10000000'\n`;
- codeKeepRelevant += `);\n\n`;
- codeKeepRelevant += `const selectedUtxos = keepRelevant(assetMap, utxos);\n`;
-
- let codeKeepRelevantDesc = ``;
- codeKeepRelevantDesc += `keepRelevant = (\n`;
- codeKeepRelevantDesc += ` requestedOutputSet: Map,\n`;
- codeKeepRelevantDesc += ` initialUTxOSet: UTxO[],\n`;
- codeKeepRelevantDesc += ` minimumLovelaceRequired = '5000000',\n`;
- codeKeepRelevantDesc += `);\n`;
-
- return (
- <>
- There are currently three coin selection algorithms available:
-
- Largest First
- Largest First Multi-Asset
- Keep Relevant
-
-
- Largest First
-
- To select UTXOs for transaction that only requires lovelace, use{' '}
- largestFirst
.
-
-
- For example, selecting the UTXOs for sending 10000000 lovelace:
-
-
- Largest First Multi-Asset
-
- largestFirstMultiAsset
allows you to define which native
- assets you require for sending out by defining a Map
. The
- Map is matches the Unit
with the quantity of each asset.
-
-
-
- Note that if lovelace, aside from the "minimum Ada" which in any case
- needs to accompany the other assets, this must be explicitly specified.
- This can also be useful in the case that your transaction only {' '}
- requires transfer of lovelace. In this case, the algorithm will exclude
- all multiasset UTxOs from the selection, which can result in more
- efficient selection of the required UTxOs.
-
-
-
- The third parameter is includeTxFees
. If True
,
- Mesh will calculate the fees required for the transaction, and include
- additional UTxOs to necessary to fulfill the fees requirements.
-
-
- Keep Relevant
-
- keepRelevant
is a two-step coin selection algorithm. First,
- given a Map (of requested assets and respective quantities) and a set of
- UTxOs, it tries to eliminate the irrelevant UTxOs from the set. Next, it
- checks that this UTxO set includes enough lovelace to cover all/any
- multi-assets in the set. If the set does not include enough lovelace,
- then it will try to also pick up another UTxO from the wallet,
- containing the largest amount of lovelace.
-
-
-
- Here is an example how you can use keepRelevant()
:
-
-
- >
- );
-}
-
-function Right() {
- return <>>;
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/getSize.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/getSize.tsx
deleted file mode 100644
index fd22462cc..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/getSize.tsx
+++ /dev/null
@@ -1,391 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import Input from '../../../../ui/input';
-import Button from '../../../../ui/button';
-import { PlusCircleIcon, TrashIcon } from '@heroicons/react/24/solid';
-import { demoAddresses, demoCLIKey } from '../../../../../configs/demo';
-import {
- AppWallet,
- Transaction,
- ForgeScript,
- AssetMetadata,
- BlockfrostProvider,
-} from '@meshsdk/core';
-import type { Mint } from '@meshsdk/core';
-import Textarea from '../../../../ui/textarea';
-import Link from 'next/link';
-
-const defaultMetadata = {
- name: 'Mesh Token',
- image: 'ipfs://QmRzicpReutwCkM6aotuKjErFCUD213DpwPq6ByuzMJaua',
- mediaType: 'image/jpg',
- description: 'This NFT was minted by Mesh (https://meshjs.dev/).',
-};
-
-export default function GetSize() {
- const [userInput, setUserInput] = useState<{}[]>([
- {
- address: demoAddresses.testnet,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- },
- ]);
-
- async function updateField(action, index, field, value) {
- let _address = demoAddresses.testnet;
-
- let updated = [...userInput];
- if (action == 'add') {
- updated.push({
- address: _address,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- });
- } else if (action == 'update') {
- if (value >= 1 || field == 'metadata') {
- updated[index][field] = value;
- }
- } else if (action == 'remove') {
- updated.splice(index, 1);
- }
- setUserInput(updated);
- }
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let codeSnippet = `import { Transaction, ForgeScript } from '@meshsdk/core';\n`;
- codeSnippet += `import type { Mint, AssetMetadata } from '@meshsdk/core';\n\n`;
-
- codeSnippet += `// prepare forgingScript\n`;
- codeSnippet += `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet += `const address = usedAddress[0];\n`;
- codeSnippet += `const forgingScript = ForgeScript.withOneSignature(address);\n\n`;
-
- codeSnippet += `const tx = new Transaction({ initiator: wallet });\n\n`;
-
- let counter = 1;
- for (const recipient of userInput) {
- let _metadata = JSON.stringify(
- { error: 'Not a valid javascript object' },
- null,
- 2
- );
- try {
- _metadata = JSON.stringify(JSON.parse(recipient.metadata), null, 2);
- } catch (error) {}
- codeSnippet += `// define asset#${counter} metadata\n`;
- codeSnippet += `const assetMetadata${counter}: AssetMetadata = ${_metadata};\n`;
- codeSnippet += `const asset${counter}: Mint = {\n`;
- codeSnippet += ` assetName: '${recipient.assetName}',\n`;
- codeSnippet += ` assetQuantity: '${recipient.quantity}',\n`;
- codeSnippet += ` metadata: assetMetadata${counter},\n`;
- codeSnippet += ` label: '${recipient.assetLabel}',\n`;
- codeSnippet += ` recipient: {\n`;
- codeSnippet += ` address: '${recipient.address}',\n`;
- codeSnippet += ` },\n`;
- codeSnippet += `};\n`;
- codeSnippet += `tx.mintAsset(\n`;
- codeSnippet += ` forgingScript,\n`;
- codeSnippet += ` asset${counter},\n`;
- codeSnippet += `);\n\n`;
- counter++;
- }
-
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- let codeSnippet1 = `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet1 += `const address = usedAddress[0];\n`;
- codeSnippet1 += `const forgingScript = ForgeScript.withOneSignature(address);`;
-
- let codeSnippet2 = `const assetMetadata: AssetMetadata = ${JSON.stringify(
- defaultMetadata,
- null,
- 2
- )};\n`;
- codeSnippet2 += `const asset: Mint = {\n`;
- codeSnippet2 += ` assetName: 'MeshToken',\n`;
- codeSnippet2 += ` assetQuantity: '1',\n`;
- codeSnippet2 += ` metadata: assetMetadata,\n`;
- codeSnippet2 += ` label: '721',\n`;
- codeSnippet2 += ` recipient: {\n`;
- codeSnippet2 += ` address: '${demoAddresses.testnet}',\n`;
- codeSnippet2 += ` },\n`;
- codeSnippet2 += `};\n`;
- codeSnippet2 += `tx.mintAsset(\n`;
- codeSnippet2 += ` forgingScript,\n`;
- codeSnippet2 += ` asset,\n`;
- codeSnippet2 += `);`;
-
- let codeSnippetNative = ``;
- codeSnippetNative += `import type { NativeScript } from '@meshsdk/core';\n`;
- codeSnippetNative += `\n`;
- codeSnippetNative += `const nativeScript: NativeScript = {\n`;
- codeSnippetNative += ` type: 'all',\n`;
- codeSnippetNative += ` scripts:\n`;
- codeSnippetNative += ` [\n`;
- codeSnippetNative += ` {\n`;
- codeSnippetNative += ` type: 'before',\n`;
- codeSnippetNative += ` slot: ''\n`;
- codeSnippetNative += ` },\n`;
- codeSnippetNative += ` {\n`;
- codeSnippetNative += ` type: 'sig',\n`;
- codeSnippetNative += ` keyHash: ''\n`;
- codeSnippetNative += ` }\n`;
- codeSnippetNative += ` ]\n`;
- codeSnippetNative += `};\n`;
- codeSnippetNative += `\n`;
- codeSnippetNative += `const forgingScript = ForgeScript.fromNativeScript(nativeScript);\n`;
-
- return (
- <>
-
- Firstly, we need to define the forgingScript
with{' '}
- ForgeScript
. We use the first wallet address as the
- "minting address" (you can use other addresses).
-
-
- Then, we define the metadata.
-
- Here is the full code:
-
-
- Additionally, you can include NativeScript
to define the
- forging script (for example if you want to have a policy locking
- script), you can do this:
-
-
-
- As for the keyHash
, you can get it using{' '}
- resolvePaymentKeyHash
, see{' '}
- Resolvers.
-
- >
- );
-}
-
-function Right({ userInput, updateField }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
-
- async function runDemo() {
- setState(1);
- setResponseError(null);
-
- try {
- const blockchainProvider = new BlockfrostProvider(
- process.env.NEXT_PUBLIC_BLOCKFROST_API_KEY_PREPROD!
- );
-
- const wallet = new AppWallet({
- networkId: 0,
- fetcher: blockchainProvider,
- submitter: blockchainProvider,
- key: {
- type: 'cli',
- payment: demoCLIKey.paymentSkey,
- stake: demoCLIKey.stakeSkey,
- },
- });
-
- const walletAddress = wallet.getPaymentAddress();
- const forgingScript = ForgeScript.withOneSignature(walletAddress);
-
- const tx = new Transaction({ initiator: wallet });
-
- for (const recipient of userInput) {
- let assetMetadata: undefined | AssetMetadata = undefined;
- try {
- assetMetadata = JSON.parse(recipient.metadata);
- } catch (error) {
- setResponseError(
- 'Problem parsing metadata. Must be a valid JavaScript object.'
- );
- setState(0);
- }
- if (assetMetadata == undefined) {
- return;
- }
-
- const asset: Mint = {
- assetName: recipient.assetName,
- assetQuantity: recipient.quantity.toString(),
- metadata: assetMetadata,
- label: recipient.assetLabel,
- recipient: {
- address: recipient.address,
- },
- };
- tx.mintAsset(forgingScript, asset);
- }
-
- setState(2);
- } catch (error) {
- setResponseError(`${error}`);
- setState(0);
- }
- }
-
- return (
-
-
-
-
-
-
- );
-}
-
-function InputTable({ userInput, updateField }) {
- return (
-
-
-
- Mint assets and send to recipients
-
- Add or remove recipients, input the address and define the asset
- metadata before minting and sending.
-
-
-
-
-
- Recipients
-
-
-
-
- {userInput.map((row, i) => {
- return (
-
-
-
-
- Recipient #{i + 1}
-
-
- updateField('remove', i)}
- style="error"
- >
-
-
-
-
-
- updateField('update', i, 'address', e.target.value)
- }
- placeholder="Address"
- label="Address"
- />
-
- updateField('update', i, 'assetName', e.target.value)
- }
- placeholder="Asset name"
- label="Asset name"
- />
-
- Metadata
-
-
-
- );
- })}
-
-
- updateField('add')}>
-
- Add recipient
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/sendAda.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/sendAda.tsx
deleted file mode 100644
index a5503837e..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/sendAda.tsx
+++ /dev/null
@@ -1,260 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import Button from '../../../../ui/button';
-import { PlusCircleIcon, TrashIcon } from '@heroicons/react/24/solid';
-import { demoAddresses } from '../../../../../configs/demo';
-import { Transaction } from '@meshsdk/core';
-import { useWallet, useWalletList } from '@meshsdk/react';
-
-export default function SendAda() {
- const { wallet, connected } = useWallet();
- const [userInput, setUserInput] = useState<
- { address: string; assets: { lovelace: number } }[]
- >([
- {
- address: demoAddresses.testnet,
- assets: {
- lovelace: 1000000,
- },
- },
- ]);
-
- useEffect(() => {
- async function init() {
- const newRecipents = [
- {
- address:
- (await wallet.getNetworkId()) === 1
- ? demoAddresses.mainnet
- : demoAddresses.testnet,
- assets: {
- lovelace: 1000000,
- },
- },
- ];
- setUserInput(newRecipents);
- }
- if (connected) {
- init();
- }
- }, [connected]);
-
- function updateField(action, index, field, value) {
- let updated = [...userInput];
- if (action == 'add') {
- updated.push({ address: '', assets: { lovelace: 1000000 } });
- } else if (action == 'update') {
- if (field == 'address') {
- updated[index].address = value;
- } else if (field == 'lovelace') {
- if (value >= 1000000) {
- updated[index].assets.lovelace = value;
- }
- }
- } else if (action == 'remove') {
- updated.splice(index, 1);
- }
- setUserInput(updated);
- }
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let codeSnippet = `import { Transaction } from '@meshsdk/core';\n\n`;
- codeSnippet += `const tx = new Transaction({ initiator: wallet })\n`;
- for (const recipient of userInput) {
- codeSnippet += ` .sendLovelace(\n`;
- codeSnippet += ` '${recipient.address}',\n`;
- codeSnippet += ` '${recipient.assets.lovelace}'\n`;
- codeSnippet += ` )\n`;
- }
- codeSnippet += `;\n\n`;
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- let codeRecipient = ``;
- codeRecipient += `Recipient = string | {\n`;
- codeRecipient += ` address: string;\n`;
- codeRecipient += ` datum?: {\n`;
- codeRecipient += ` value: Data;\n`;
- codeRecipient += ` inline?: boolean | undefined;\n`;
- codeRecipient += ` } | undefined;\n`;
- codeRecipient += ` script?: NativeScript | PlutusScript | undefined;\n`;
- codeRecipient += `}\n`;
-
- return (
- <>
-
- You can chain the component to send to multiple recipients. For each
- recipients, append:
-
-
-
-
- Where Recipient
is a string or an object with the following
- properties:
-
-
-
-
-
- .build()
constructs the transaction and returns a
- transaction CBOR. Behind the scenes, it selects all of the necessary inputs
- belonging to the wallet, calculates the fee for this transaction and
- returns the remaining assets to the change address. Use{' '}
- wallet.signTx()
to sign transaction CBOR.
-
-
- >
- );
-}
-
-function Right({ userInput, updateField }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
- const wallets = useWalletList();
- const hasAvailableWallets = wallets.length > 0;
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const tx = new Transaction({ initiator: wallet });
- for (const recipient of userInput) {
- if (recipient.assets.lovelace) {
- tx.sendLovelace(
- recipient.address,
- recipient.assets.lovelace.toString()
- );
- }
- }
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
- {hasAvailableWallets && (
- <>
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
- >
- )}
-
-
- );
-}
-
-function InputTable({ userInput, updateField }) {
- return (
-
-
-
- Send ADA to recipients
-
- Add or remove recipients, input the address and the amount of ADA to
- send.
-
-
-
-
-
- Recipients
-
-
-
-
- {userInput.map((row, i) => {
- return (
-
-
-
-
- Recipient #{i + 1}
-
-
- updateField('remove', i)}
- style="error"
- >
-
-
-
-
-
- updateField('update', i, 'address', e.target.value)
- }
- placeholder="Address"
- label="Address"
- />
-
- updateField('update', i, 'lovelace', e.target.value)
- }
- placeholder="Amount in Lovelace"
- label="Amount in Lovelace"
- />
-
-
- );
- })}
-
-
- updateField('add')}>
-
- Add recipient
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/sendAdaHandler.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/sendAdaHandler.tsx
deleted file mode 100644
index 042649a4e..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/sendAdaHandler.tsx
+++ /dev/null
@@ -1,190 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import { KoiosProvider, Transaction } from '@meshsdk/core';
-import Link from 'next/link';
-
-export default function SendAdaHandler() {
- const [userInput, setUserInput] = useState<
- { address: string; assets: { lovelace: number } }[]
- >([
- {
- address: 'jingles',
- assets: {
- lovelace: 1000000,
- },
- },
- ]);
-
- function updateField(action, index, field, value) {
- let updated = [...userInput];
- if (action == 'add') {
- updated.push({ address: '', assets: { lovelace: 1000000 } });
- } else if (action == 'update') {
- if (field == 'address') {
- updated[index].address = value;
- } else if (field == 'lovelace') {
- if (value >= 1000000) {
- updated[index].assets.lovelace = value;
- }
- }
- } else if (action == 'remove') {
- updated.splice(index, 1);
- }
- setUserInput(updated);
- }
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let code2 = `import { KoiosProvider, Transaction } from '@meshsdk/core';\n\n`;
- code2 += `const koios = new KoiosProvider('api');\n`;
- code2 += `\n`;
- code2 += `const tx = new Transaction({ initiator: wallet })\n`;
- code2 += ` .sendLovelace(\n`;
- code2 += ` await koios.fetchHandleAddress('${userInput[0].address}'),\n`;
- code2 += ` '${userInput[0].assets.lovelace}'\n`;
- code2 += `);\n\n`;
- code2 += `const unsignedTx = await tx.build();\n`;
- code2 += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- code2 += `const txHash = await wallet.submitTx(signedTx);\n`;
-
- let code1 = `import { KoiosProvider } from '@meshsdk/core';\n\n`;
- code1 += `const koios = new KoiosProvider('api');\n`;
- code1 += `const address = await koios.fetchHandleAddress('${userInput[0].address}');`;
-
- return (
- <>
- Send assets to a handler.
-
- We can get the{' '}
-
- ADA Handle
-
- 's address with fetchHandleAddress()
:
-
-
-
- Next, we can create a transactions, for instance, lets send some
- lovelace to {userInput[0].address}:
-
-
- >
- );
-}
-
-function Right({ userInput, updateField }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const koiosProvider = new KoiosProvider('api');
-
- const tx = new Transaction({ initiator: wallet });
- tx.sendLovelace(
- await koiosProvider.fetchHandleAddress(userInput[0].address),
- userInput[0].assets.lovelace.toString()
- );
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
-
- );
-}
-
-function InputTable({ userInput, updateField }) {
- return (
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/sendAssets.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/sendAssets.tsx
deleted file mode 100644
index 80c35e8d1..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/sendAssets.tsx
+++ /dev/null
@@ -1,305 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import Button from '../../../../ui/button';
-import { PlusCircleIcon, TrashIcon } from '@heroicons/react/24/solid';
-import { assetAsset, demoAddresses } from '../../../../../configs/demo';
-import FetchSelectAssets from '../../../../common/fetchSelectAssets';
-import { Transaction } from '@meshsdk/core';
-import type { Asset } from '@meshsdk/core';
-
-export default function SendAssets() {
- const { wallet, connected } = useWallet();
- const [userInput, setUserInput] = useState<
- { address: string; assets: { [unit: string]: number } }[]
- >([
- {
- address: demoAddresses.testnet,
- assets: {
- lovelace: 1000000,
- [assetAsset]: 1,
- },
- },
- ]);
-
- useEffect(() => {
- async function init() {
- const newRecipents = [
- {
- address:
- (await wallet.getNetworkId()) === 1
- ? demoAddresses.mainnet
- : demoAddresses.testnet,
- assets: {},
- },
- ];
- setUserInput(newRecipents);
- }
- if (connected) {
- init();
- }
- }, [connected]);
-
- function updateField(action, index, field, value) {
- let updated = [...userInput];
- if (action == 'add') {
- updated.push({ address: '', assets: { lovelace: 1000000 } });
- } else if (action == 'update') {
- if (field == 'address') {
- updated[index].address = value;
- } else {
- if (value == 0) {
- delete updated[index].assets[field];
- } else {
- if (value >= 0) {
- updated[index].assets[field] = value;
- }
- }
- }
- } else if (action == 'remove') {
- updated.splice(index, 1);
- }
- setUserInput(updated);
- }
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let codeSnippet = `import { Transaction } from '@meshsdk/core';\n`;
- codeSnippet += `import type { Asset } from '@meshsdk/core';\n\n`;
-
- codeSnippet += `const tx = new Transaction({ initiator: wallet })`;
- for (const recipient of userInput) {
- if ('lovelace' in recipient.assets && recipient.assets.lovelace > 0) {
- codeSnippet += `\n .sendLovelace(\n '${recipient.address}',\n '${recipient.assets.lovelace}'\n )`;
- }
-
- let nativeAssets = Object.keys(recipient.assets).filter((assetId) => {
- return assetId != 'lovelace' && recipient.assets[assetId] > 0;
- });
- if (nativeAssets.length) {
- codeSnippet += `\n .sendAssets(\n '${recipient.address}',`;
- codeSnippet += `\n [`;
- for (const asset of nativeAssets) {
- if (recipient.assets[asset] > 0) {
- codeSnippet += `\n {`;
- codeSnippet += `\n unit: '${asset}',`;
- codeSnippet += `\n quantity: '1',`;
- codeSnippet += `\n },`;
- }
- }
- codeSnippet += `\n ]`;
- codeSnippet += `\n )`;
- }
- }
- codeSnippet += `;\n\n`;
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- let codeSnippet1 = `import type { Asset } from '@meshsdk/core';\n\n`;
- codeSnippet1 += `let assets: Asset[] = [];\n`;
- codeSnippet1 += `for (const asset of nativeAssets) {\n`;
- codeSnippet1 += ` let thisAsset = {\n`;
- codeSnippet1 += ` unit: assetAsset,\n`;
- codeSnippet1 += ` quantity: '1',\n`;
- codeSnippet1 += ` };\n`;
- codeSnippet1 += ` assets.push(thisAsset);\n`;
- codeSnippet1 += `}\n`;
- codeSnippet1 += `tx.sendAssets(recipient.address, assets);`;
-
- let codeParams = `tx.sendAssets(recipient: Recipient, assets: Asset[])`;
-
- return (
- <>
-
- Use sendAssets()
to send native assets to one or more
- recipients:
-
-
-
- For each recipient, we define a list of Asset
to send:
-
-
-
- We can chain a series of tx.sendAssets()
and{' '}
- tx.sendLovelace()
to send multiple assets to multiple
- recipients.
-
-
- >
- );
-}
-
-function Right({ userInput, updateField }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const tx = new Transaction({ initiator: wallet });
-
- for (const recipient of userInput) {
- if (recipient.assets.lovelace) {
- tx.sendLovelace(
- { address: recipient.address },
- recipient.assets.lovelace.toString()
- );
- }
- let nativeAssets = Object.keys(recipient.assets).filter((assetId) => {
- return assetId != 'lovelace';
- });
- if (nativeAssets.length) {
- let assets: Asset[] = [];
- for (const asset of nativeAssets) {
- let thisAsset: Asset = {
- unit: asset,
- quantity: '1',
- };
- assets.push(thisAsset);
- }
- tx.sendAssets({ address: recipient.address }, assets);
- }
- }
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
-
- );
-}
-
-function InputTable({ userInput, updateField }) {
- const { connected } = useWallet();
-
- function selectAsset(id, unit) {
- if (unit in userInput[id].assets) {
- updateField('update', id, unit, 0);
- } else {
- updateField('update', id, unit, 1);
- }
- }
-
- return (
-
-
-
- Send multi-assets to recipients
-
- Add or remove recipients, input the address and the amount of ADA to
- send.
-
-
-
-
-
- Recipients
-
-
-
-
- {userInput.map((row, i) => {
- return (
-
-
-
-
- Recipient #{i + 1}
-
-
- updateField('remove', i)}
- style="error"
- >
-
-
-
-
-
- updateField('update', i, 'address', e.target.value)
- }
- placeholder="Address"
- label="Address"
- />
-
- updateField('update', i, 'lovelace', e.target.value)
- }
- placeholder="Amount in Lovelace"
- label="Lovelace"
- />
- <>
-
- >
-
-
- );
- })}
-
-
- updateField('add')}>
-
- Add recipient
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/sendToken.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/sendToken.tsx
deleted file mode 100644
index 65c27e63e..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/sendToken.tsx
+++ /dev/null
@@ -1,270 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import Button from '../../../../ui/button';
-import { PlusCircleIcon, TrashIcon } from '@heroicons/react/24/solid';
-import { demoAddresses } from '../../../../../configs/demo';
-import { Transaction } from '@meshsdk/core';
-import Select from '../../../../ui/select';
-
-export default function SendToken() {
- const { wallet, connected } = useWallet();
- const [userInput, setUserInput] = useState<
- { address: string; token: string; quantity: number }[]
- >([
- {
- address: demoAddresses.testnet,
- token: 'DJED',
- quantity: 1000000,
- },
- ]);
-
- useEffect(() => {
- async function init() {
- const newRecipents = [
- {
- address:
- (await wallet.getNetworkId()) === 1
- ? demoAddresses.mainnet
- : demoAddresses.testnet,
- token: 'DJED',
- quantity: 1000000,
- },
- ];
- setUserInput(newRecipents);
- }
- if (connected) {
- init();
- }
- }, [connected]);
-
- function updateField(action, index, field, value) {
- let updated = [...userInput];
- if (action == 'add') {
- updated.push({ address: '', token: 'DJED', quantity: 0 });
- } else if (action == 'update') {
- updated[index][field] = value;
- } else if (action == 'remove') {
- updated.splice(index, 1);
- }
- setUserInput(updated);
- }
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let codeSnippet = `import { Transaction } from '@meshsdk/core';\n\n`;
-
- codeSnippet += `const tx = new Transaction({ initiator: wallet })\n`;
- for (const recipient of userInput) {
- codeSnippet += ` .sendToken(\n`;
- codeSnippet += ` '${recipient.address}', \n`;
- codeSnippet += ` '${recipient.token}', \n`;
- codeSnippet += ` '${recipient.quantity}'\n`;
- codeSnippet += ` )\n`;
- }
- codeSnippet += `;\n\n`;
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- return (
- <>
-
- We can chain sendToken()
commands to send to multiple recipients.
- For each recipient, append like so:
-
-
-
- Like sendAssets()
, we can chain sendToken()
{' '}
- together with tx.sendAssets()
to send multiple assets to
- multiple recipients.
-
-
- >
- );
-}
-
-function Right({ userInput, updateField }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const tx = new Transaction({ initiator: wallet });
-
- for (const recipient of userInput) {
- tx.sendToken(
- recipient.address,
- recipient.token,
- recipient.quantity.toString()
- );
- }
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- console.error(error);
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
-
- );
-}
-
-function InputTable({ userInput, updateField }) {
- return (
-
-
-
- Send tokens to recipients
-
- Add or remove recipients, input the address and the amount tokens to send.
-
-
-
-
-
- Recipients
-
-
-
-
- {userInput.map((row, i) => {
- return (
-
-
-
-
- Recipient #{i + 1}
-
-
- updateField('remove', i)}
- style="error"
- >
-
-
-
-
-
- updateField('update', i, 'address', e.target.value)
- }
- placeholder="Address"
- label="Address"
- />
-
-
- updateField('update', i, 'token', e.target.value)
- }
- label="Select token"
- />
-
-
- updateField('update', i, 'quantity', e.target.value)
- }
- placeholder="Amount in Lovelace"
- label="Quantity"
- />
-
-
- );
- })}
-
-
- updateField('add')}>
-
- Add recipient
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/sendValue.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/sendValue.tsx
deleted file mode 100644
index d253416bf..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/sendValue.tsx
+++ /dev/null
@@ -1,62 +0,0 @@
-import Codeblock from '../../../../ui/codeblock';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-
-export default function SendValue() {
- return (
-
- );
-}
-
-function Left({}) {
- let codeSnippet = `import { Transaction } from '@meshsdk/core';\n\n`;
- codeSnippet += `const tx = new Transaction({ initiator: wallet })\n`;
- codeSnippet += ` .sendValue(recipient, UTxO);\n`;
- codeSnippet += `\n`;
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- let codeUtxo = ``;
- codeUtxo += `{\n`;
- codeUtxo += ` input: {\n`;
- codeUtxo += ` outputIndex: number;\n`;
- codeUtxo += ` txHash: string;\n`;
- codeUtxo += ` };\n`;
- codeUtxo += ` output: {\n`;
- codeUtxo += ` address: string;\n`;
- codeUtxo += ` amount: Asset[];\n`;
- codeUtxo += ` dataHash?: string;\n`;
- codeUtxo += ` plutusData?: string;\n`;
- codeUtxo += ` scriptRef?: string;\n`;
- codeUtxo += ` };\n`;
- codeUtxo += `}\n`;
-
- return (
- <>
-
- Specify an output for the transaction. This funcion allows you to design
- the output UTXOs, either by splitting the outputs from multiple UTxOs or
- by creating reference inputs.
-
-
-
-
-
- where UTxO
has the following format (use one of our providers):
-
-
- >
- );
-}
-
-function Right({}) {
- return <>>;
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/setCollateral.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/setCollateral.tsx
deleted file mode 100644
index a4adf6777..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/setCollateral.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-import Codeblock from '../../../../ui/codeblock';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import Link from 'next/link';
-
-export default function SetCollateral() {
- return (
-
- );
-}
-
-function Left() {
- let code1 = `setCollateral(collateral: UTxO[])`;
-
- return (
- <>
-
- Specify the UTXOs that you want to use as collateral. This is especially
- useful if you are using App Wallet.
-
-
-
- >
- );
-}
-
-function Right() {
- return <>>;
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/setMetadata.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/setMetadata.tsx
deleted file mode 100644
index 621937211..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/setMetadata.tsx
+++ /dev/null
@@ -1,130 +0,0 @@
-import { useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import { Transaction } from '@meshsdk/core';
-import { demoAddresses } from '../../../../../configs/demo';
-
-export default function TxSetMetadata() {
- const [userInput, setUserInput] = useState('Transaction message');
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let code1 = `import { Transaction } from '@meshsdk/core';\n\n`;
- code1 += `const tx = new Transaction({ initiator: wallet });\n`;
- code1 += `tx.sendLovelace(\n`;
- code1 += ` '${demoAddresses.testnet}',\n`;
- code1 += ` '1000000'\n`;
- code1 += `);\n`;
- code1 += `tx.setMetadata(0, '${userInput}');\n`;
-
- return (
- <>
-
- Cardano Transaction Metadata specifies that any transaction can include
- arbitrary metadata which is then stored immutably in the blockchain.
- Metadata take the form of text, specific structured text, numbers, hashes,
- any combination of these, etc. If the content of metadata should remain
- secret, then it is the responsibility of the sender to first encrypt it.
- There are many use cases: for example, when combined with off-chain
- infrastructure (eg physical identifiers), metadata can act as a confirmation
- or assurance of authenticity. The current protocol parameters define the
- maximum size of metadata permitted to accompany each transaction.
-
- Some uses for metadata:
-
-
- Validation and verification . Checking and verifying external
- physical objects and legitimate content, for example by coupling with a
- physical identifier such as a QR-code. This can be especially
- beneficial for low-cost supply chain tracking of fast-moving consumer goods.
-
-
- Authentication and attribution . Confirming the authenticity of
- credentials received from an educational institution or membership
- group, using the fact that metadata can serve as an immutable and always-accessible
- evidence of certification.
-
-
- Secure record of information . Saving vital information, so nobody
- one can alter it afterwards, meaning it will last as long as the Cardano blockchain
- exists.
-
-
-
- You can insert metadata into a transaction with{' '}
- setMetadata(key, value)
. The key
is a number,
- and value
is a string.
-
-
- >
- );
-}
-
-function Right({ userInput, setUserInput }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const tx = new Transaction({ initiator: wallet });
- tx.sendLovelace(demoAddresses.testnet, '1000000');
- tx.setMetadata(0, userInput);
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
- {/* */}
- setUserInput(e.target.value)}
- placeholder="Metadata"
- label="Metadata"
- />
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/setNativeScriptInput.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/setNativeScriptInput.tsx
deleted file mode 100644
index 55ada1818..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/setNativeScriptInput.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import Codeblock from '../../../../ui/codeblock';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-
-export default function SetNativeScriptInput() {
- return (
-
- );
-}
-
-function Left({}) {
- let codeSnippet = ``;
- codeSnippet += `import { Transaction } from '@meshsdk/core';\n`;
- codeSnippet += `\n`;
- codeSnippet += `const tx = new Transaction({ initiator: wallet });\n`;
- codeSnippet += `tx.setNativeScriptInput(nativeScript, utxo);\n`;
-
- let codeUtxo = ``;
- codeUtxo += `{\n`;
- codeUtxo += ` input: {\n`;
- codeUtxo += ` outputIndex: number;\n`;
- codeUtxo += ` txHash: string;\n`;
- codeUtxo += ` };\n`;
- codeUtxo += ` output: {\n`;
- codeUtxo += ` address: string;\n`;
- codeUtxo += ` amount: Asset[];\n`;
- codeUtxo += ` dataHash?: string;\n`;
- codeUtxo += ` plutusData?: string;\n`;
- codeUtxo += ` scriptRef?: string;\n`;
- codeUtxo += ` };\n`;
- codeUtxo += `}\n`;
-
- let codeScript = ``;
- codeScript += `import type { NativeScript } from '@meshsdk/core';\n`;
- codeScript += `\n`;
- codeScript += `const nativeScript: NativeScript = {\n`;
- codeScript += ` type: 'all',\n`;
- codeScript += ` scripts:\n`;
- codeScript += ` [\n`;
- codeScript += ` {\n`;
- codeScript += ` type: 'before',\n`;
- codeScript += ` slot: ''\n`;
- codeScript += ` },\n`;
- codeScript += ` {\n`;
- codeScript += ` type: 'sig',\n`;
- codeScript += ` keyHash: ''\n`;
- codeScript += ` }\n`;
- codeScript += ` ]\n`;
- codeScript += `};\n`;
-
- return (
- <>
-
- This function allows you to set the Native Script input for the
- transaction.
-
-
-
- where NativeScript
has the following format:
-
-
-
- where UTxO
has the following format (use one of our providers):
-
-
- >
- );
-}
-
-function Right({}) {
- return <>>;
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/setRequiredSigners.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/setRequiredSigners.tsx
deleted file mode 100644
index 1e56ef8a9..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/setRequiredSigners.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-import Codeblock from '../../../../ui/codeblock';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import Link from 'next/link';
-
-export default function SetRequiredSigners() {
- return (
-
- );
-}
-
-function Left() {
- let code1 = `setRequiredSigners(addresses: string[])`;
-
- return (
- <>
-
- Sets the required signers for the transaction. This is useful if you are
- using App Wallet or in a
- multi-signature transaction.
-
-
-
- >
- );
-}
-
-function Right() {
- return <>>;
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/basic/setTimeLimit.tsx b/apps/mesh-web/components/pages/apis/transaction/basic/setTimeLimit.tsx
deleted file mode 100644
index 75bb071a4..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/basic/setTimeLimit.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import Codeblock from '../../../../ui/codeblock';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-
-export default function SetTimeLimit() {
- return (
-
- );
-}
-
-function Left() {
- let code1 = `import { resolveSlotNo } from '@meshsdk/core';\n`;
- code1 += `let minutes = 5; // add 5 minutes\n`;
- code1 += `let nowDateTime = new Date();\n`;
- code1 += `let dateTimeAdd5Min = new Date(nowDateTime.getTime() + minutes*60000);\n`;
- code1 += `const slot = resolveSlotNo('mainnet', dateTimeAdd5Min.getTime());\n`;
-
- let codeExpire = `const tx = new Transaction({ initiator: wallet });\n`;
- codeExpire += `// do tx.sendLovelace() or any transactions actions\n`;
- codeExpire += `tx.setTimeToExpire(slot)\n`;
- codeExpire += `const unsignedTx = await tx.build();\n`;
-
- let codeValid = `const tx = new Transaction({ initiator: wallet });\n`;
- codeValid += `// do tx.sendLovelace() or any transactions actions\n`;
- codeValid += `tx.setTimeToStart(slot)\n`;
- codeValid += `const unsignedTx = await tx.build();\n`;
-
- return (
- <>
-
- We can define the time-to-live (TTL) for the transaction. TTL is the
- time limit for our transaction to be included in a blockchain, if it is
- not in a blockchain by then the transaction will be cancelled. This time
- limit is defined as slot
.
-
-
- In order to get the slot
of the time you wish the
- transaction would expire, you can use resolveSlotNo
. For
- example, if you would like the transaction to expire in 5 minutes, you
- can get the slot
in the following way:
-
-
-
- Next, we set the TTL with setTimeToExpire
and providing the{' '}
- slot
, this means that if the transaction is submitted after
- after slot
will not be valid.
-
-
-
- Likewise, we can set a "validity start interval" for the transaction,
- where it is the time the transaction will be valid. We can define the
- start time with setTimeToStart
and providing the{' '}
- slot
:
-
-
-
- Note that, if you are using a policy locking script, you must define{' '}
- setTimeToExpire
before the expiry; otherwise, you will
- catch the ScriptWitnessNotValidatingUTXOW
error.
-
- >
- );
-}
-
-function Right() {
- return <>>;
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/InvalidInterval.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/InvalidInterval.tsx
deleted file mode 100644
index fa7f112b7..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/InvalidInterval.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function InvalidInterval() {
- return (
-
- );
-}
-
-function Content() {
- let codeBefore = `mesh
- .invalidBefore(slot: number)`;
- let codeAfter = `mesh
- .invalidHereafter(slot: number)`;
-
- return (
- <>
-
- Use .invalidBefore()
to set the transaction validity interval
- to be valid only after the specified slot:
-
-
-
-
-
- Use .invalidHereafter()
to set the transaction validity
- interval to be valid only before the specified slot:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/changeAddress.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/changeAddress.tsx
deleted file mode 100644
index 0edf28651..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/changeAddress.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function ChangeAddress() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .changeAddress(address: string)`;
-
- return (
- <>
-
- Use changeAddress()
to set the change address:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/complete.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/complete.tsx
deleted file mode 100644
index ec68a412a..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/complete.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function Complete() {
- return (
-
- );
-}
-
-function Content() {
- let code = `await mesh
- .complete(customizedTx?: MeshTxBuilderBody)`;
- let codeSync = `mesh
- .completeSync(customizedTx?: MeshTxBuilderBody)`;
- let codeSign = `const signedTx = mesh
- .completeSigning()`;
-
- return (
- <>
-
- In the Mesh lower-level API, the transaction building process is concluded
- by using either the .complete()
or .completeSync()
method,
- at which point the MeshTxBuilder
instance analyses and completes the serialization
- of the built transaction so that (if it is valid) it is ready to be submitted to the blockchain.
-
-
- You can also directly supply the optional parameter in{' '}
- MeshTxBuilderBody
to build the transaction using the supplied object.
-
-
- Use .complete()
(an async method) to complete the
- transaction building process:
-
-
-
-
-
- Use .completeSync()
to complete the transaction building
- process without indexing the blockchain:
-
-
-
-
-
- Use .completeSigning()
to add private key signing to the
- witness set process without indexing the blockchain:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/delegateStakeCertificate.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/delegateStakeCertificate.tsx
deleted file mode 100644
index a56e92b0d..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/delegateStakeCertificate.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function DeregisterCertificate() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .delegateStakeCertificate(stakeKeyHash: string, poolId: string)`;
-
- return (
- <>
-
- Use .delegateStakeCertificate()
to delegate a stake to a
- pool:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/deregisterCertificate.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/deregisterCertificate.tsx
deleted file mode 100644
index 070781248..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/deregisterCertificate.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function DeregisterCertificate() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .deregisterStakeCertificate(stakeKeyHash: string)`;
-
- return (
- <>
-
- Use .deregisterStakeCertificate()
to deregister a stake
- certificate:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/metadataValue.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/metadataValue.tsx
deleted file mode 100644
index 1c13b96d2..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/metadataValue.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function MetadataValue() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .metadataValue(tag: string, metadata: object)`;
-
- return (
- <>
-
- Use .metadataValue()
to add metadata to the transaction:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/mintNative.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/mintNative.tsx
deleted file mode 100644
index 7abee46eb..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/mintNative.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function Mint() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .mint(quantity: string, policy: string, name: string)
- .mintingScript(scriptCbor: string)
-`;
-
- return (
- <>
-
- When minting tokens using a 'native script' as input, there are 2 steps:
-
-
- 1. Providing the minting value (quantity, policy and name) using{' '}
- .mint()
-
-
- 2. Providing the script source using
- .mintingScript()
-
- {/*
-
- (i) Reference script
- .mintTxInReference()
-
- (ii) Supplying script
- .mintingScript()
-
-
*/}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/mintPlutus.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/mintPlutus.tsx
deleted file mode 100644
index 2c52d180d..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/mintPlutus.tsx
+++ /dev/null
@@ -1,60 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function Mint() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .mintPlutusScriptV2()
- .mint(quantity: string, policy: string, name: string)
- .mintTxInReference(txHash: string, txIndex: number) // or .mintingScript(scriptCbor: string)
- .mintRedeemerValue(redeemer: Data | object | string, exUnits?: Budget, type?: "Mesh" | "CBOR" | "JSON")
-`;
-
- return (
- <>
-
- When minting tokens with a Plutus script as input, there are 3 steps:
-
-
- 1. Notifying the current instance that we are minting using a Plutus
- Script
-
-
- 2. Providing minting value (quantity, policy, name) with{' '}
- .mint()
-
- 3. Providing minting information, which consists of:
-
-
(a) the script source, supplied by either
-
- (i) providing a Reference script with
- .mintTxInReference()
or
-
- (ii) Supplying script source (cbor string) directly with
- .mintingScript()
-
-
-
-
(b) the redeemer source with
-
- `Note that the data provided can be the in type of "Mesh", "CBOR" or
- "JSON" (the JSON representation of PlutusData in DetailedSchema)`
-
-
- .mintRedeemerValue()
-
-
- Example of minting a token using a Plutus script:
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/readOnlyTxInReference.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/readOnlyTxInReference.tsx
deleted file mode 100644
index c2611ca44..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/readOnlyTxInReference.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function ReadOnlyTxInReference() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .readOnlyTxInReference(txHash: string, txIndex: number)`;
-
- return (
- <>
-
- Use .readOnlyTxInReference()
to specify a read-only
- reference input:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/registerCertificate.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/registerCertificate.tsx
deleted file mode 100644
index a94b155b7..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/registerCertificate.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function RegisterCertificate() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .registerStakeCertificate(stakeKeyHash: string)`;
-
- return (
- <>
-
- Use .registerStakeCertificate()
to register a stake
- certificate:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/registerPoolCertificate.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/registerPoolCertificate.tsx
deleted file mode 100644
index 460b3bcf9..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/registerPoolCertificate.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function RegisterPoolCertificate() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .registerPoolCertificate(poolParams: PoolParams)`;
-
- return (
- <>
-
- Use .registerPoolCertificate()
to register a pool
- certificate:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/requiredSignerHash.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/requiredSignerHash.tsx
deleted file mode 100644
index 4b55ea590..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/requiredSignerHash.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function RequiredSignerHash() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .requiredSignerHash(pubKeyHash: string)`;
-
- return (
- <>
-
- Use .requiredSignerHash()
to set a required signer for the
- transaction:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/retirePoolCertificate.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/retirePoolCertificate.tsx
deleted file mode 100644
index c52ba4919..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/retirePoolCertificate.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function RetirePoolCertificate() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .retirePoolCertificate(poolId: string, epoch: number)`;
-
- return (
- <>
-
- Use .retirePoolCertificate()
to retire a pool certificate:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/schemas.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/schemas.tsx
deleted file mode 100644
index 7486ddcaa..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/schemas.tsx
+++ /dev/null
@@ -1,212 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function Schemas() {
- return ;
-}
-
-function Content() {
- let codeMeshTxBuilderBody = `MeshTxBuilderBody = {
- inputs: TxIn[];
- outputs: Output[];
- extraInputs: UTxO[];
- selectionThreshold: number;
- collaterals: PubKeyTxIn[];
- requiredSignatures: string[];
- referenceInputs: RefTxIn[];
- mints: MintItem[];
- changeAddress: string;
- metadata: Metadata[];
- validityRange: ValidityRange;
- certificates: Certificate[];
- signingKey: string[];
-}`;
-
- let codeInput = `TxIn = PubKeyTxIn | ScriptTxIn;`;
-
- let codePubKeyTxIn = `PubKeyTxIn = {
- type: 'PubKey';
- txIn: {
- txHash: string;
- txIndex: number;
- amount?: Asset[];
- address?: string;
- }
-}`;
-
- let codeScriptTxIn = `ScriptTxIn = {
- type: 'Script';
- txIn: {
- txHash: string;
- txIndex: number;
- amount?: Asset[];
- address?: string;
- }
- scriptTxIn: {
- scriptSource?:
- | {
- type: 'Provided';
- script: PlutusScript;
- }
- | {
- type: 'Inline';
- txInInfo: ScriptSourceInfo;
- };
- datumSource?:
- | {
- type: 'Provided';
- data: BuilderData;
- }
- | {
- type: 'Inline';
- txHash: string;
- txIndex: number;
- };
- redeemer?: {
- data: BuilderData;
- exUnits: Budget;
- };
- }
-}`;
-
- let codeScriptSourceInfo = `ScriptSourceInfo = {
- txHash: string;
- txIndex: number;
- spendingScriptHash?: string;
- version: LanguageVersion;
-}
-`;
-
- let codeRefTxIn = `RefTxIn = {
- txHash: string;
- txIndex: number;
-}
-`;
-
- let codeOutput = ``;
- codeOutput += `Output = {
- address: string;
- amount: Asset[];
- datum?: {
- type: 'Hash' | 'Inline';
- data: BuilderData;
- };
- referenceScript?: PlutusScript;
-}`;
-
- let codeMintItem = `MintItem = {
- type: 'Plutus' | 'Native';
- policyId: string;
- assetName: string;
- amount: string;
- redeemer?: Redeemer;
- scriptSource?:
- | {
- type: 'Provided';
- script: PlutusScript;
- }
- | {
- type: 'Reference Script';
- txHash: string;
- txIndex: number;
- version: LanguageVersion;
- };
-}`;
-
- let codeValidityRange = `ValidityRange = {
- invalidBefore?: number;
- invalidHereafter?: number;
-}`;
-
- let codeBuilderData = `BuilderData =
- | {
- type: 'Mesh';
- content: Data;
- }
- | {
- type: 'JSON';
- content: string;
- }
- | {
- type: 'CBOR';
- content: string;
- };`;
-
- let codeRedeemer = `Redeemer = {
- data: BuilderData;
- exUnits: Budget;
-}`;
-
- let codeMetadata = `Metadata = {
- tag: string;
- metadata: object;
-}`;
-
- let codeAsset = ``;
- codeAsset += `Asset = {\n`;
- codeAsset += ` unit: string;\n`;
- codeAsset += ` quantity: string;\n`;
- codeAsset += `}\n`;
-
- let codeData = ``;
- codeData += `Data = string |\n`;
- codeData += ` number |\n`;
- codeData += ` Array |\n`;
- codeData += ` Map |\n`;
- codeData += ` {\n`;
- codeData += ` alternative: number;\n`;
- codeData += ` fields: Array;\n`;
- codeData += ` }`;
-
- let codePlutusScript = `PlutusScript = {
- version: LanguageVersion;
- code: string;
-}`;
- let codeLanguageVersion = `LanguageVersion = "V1" | "V2"`;
-
- return (
- <>
-
- All the schemas used in the Mesh lower-level APIs can be found here.
-
-
-
-
-
- Details of all the types which construct the{' '}
- MeshTxBuilderBody
- can be found below:
-
- TxIn
-
- PubKeyTxIn
-
- ScriptTxIn
-
- ScriptSourceInfo
-
- RefTxIn
-
- Output
-
- MintItem
-
- ValidityRange
-
- BuilderData
-
- Redeemer
-
- Metadata
-
- Asset
-
- Data
-
- PlutusScript
-
- LanguageVersion
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/scriptTxIn.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/scriptTxIn.tsx
deleted file mode 100644
index 5d0500d89..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/scriptTxIn.tsx
+++ /dev/null
@@ -1,80 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function ScriptTxIn() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .spendingPlutusScriptV2()
- .txIn(txHash: string, txIndex: number, amount?: Asset[], address?: string)
- .txInInlineDatumPresent() // or .txInDatumValue(datum: Data | string | object)
- .txInRedeemerValue(redeemer: Data | object | string, exUnits?: Budget, type?: string)
- .spendingTxInReference(txHash: string, txIndex: number, spendingScriptHash?: string) // or supplying script
-`;
-
- return (
- <>
-
- There are 3 steps to utilise a script as part of the input for a
- transaction:
-
-
- 1. Notifying the current instance that we intend to spend a script input
-
-
- 2. Providing input information using .txIn()
-
-
- 3. Providing the necessary supplementary "spending" script information,
- which consists of:
-
-
-
(a) the script using one of
-
- (i) Reference script
- .spendingTxInReference()
-
- (ii) Supplying script
- .txInScript(scriptCbor: string)
-
-
-
-
(b) the redeemer using
-
- `Note that the data provided can be the in type of "Mesh", "CBOR" or
- "JSON" (the JSON representation of PlutusData in DetailedSchema)`
-
-
-
- .txInRedeemerValue(redeemer: Data | object | string, exUnits?:
- Budget, type: "Mesh" | "CBOR" | "JSON")
-
-
-
-
-
(c) the datum using one of
-
- (i) Referencing inline datum
- .txInInlineDatumPresent()
-
- (ii) Supplying datum{' '}
-
- .txInDatumValue(datum: Data | object | string, type?: "Mesh" |
- "CBOR" | "JSON")
-
-
-
-
- Example of utilising a script for input:
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/signingKey.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/signingKey.tsx
deleted file mode 100644
index e024611af..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/signingKey.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function SigningKey() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .signingKey(skeyHex: string)`;
-
- return (
- <>
-
- Use .signingKey()
to sign the transaction with the private
- key (provided in cbor hex format):
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/spendingPlutusScriptV2.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/spendingPlutusScriptV2.tsx
deleted file mode 100644
index 4b7fb2d67..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/spendingPlutusScriptV2.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function SpendingPlutusScriptV2() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh.spendingPlutusScriptV2()`;
-
- return (
- <>
-
- Use spendingPlutusScriptV2()
to set the instruction that it
- is currently using V2 Plutus spending scripts:
-
-
-
-
- This flag should signal a start to a script input. The next step after
- will be to add a tx-in. After which, we will REQUIRE, script, datum and
- redeemer info for unlocking this particular input
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/spendingReferenceTxInRedeemerValue.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/spendingReferenceTxInRedeemerValue.tsx
deleted file mode 100644
index 9e69911e8..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/spendingReferenceTxInRedeemerValue.tsx
+++ /dev/null
@@ -1,61 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function SpendingReferenceTxInRedeemerValue() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh.spendingReferenceTxInRedeemerValue(redeemer: Data, exUnits: Budget)`;
-
- let codeData = ``;
- codeData += `Data = string |\n`;
- codeData += ` number |\n`;
- codeData += ` Array |\n`;
- codeData += ` Map |\n`;
- codeData += ` {\n`;
- codeData += ` alternative: number;\n`;
- codeData += ` fields: Array;\n`;
- codeData += ` }`;
-
- let codeBudget = ``;
- codeBudget += `Budget = {\n`;
- codeBudget += ` mem: number;\n`;
- codeBudget += ` steps: number;\n`;
- codeBudget += `}`;
-
- return (
- <>
-
- Use spendingReferenceTxInRedeemerValue()
to set the
- redeemer for the reference input to be spent in same transaction.
-
-
-
-
-
- This reference input is not witnessing anything it is simply provided in
- the plutus script context.
-
-
-
- Where Data
is a string, a number, an array of Data, a map
- of Data, or an object with the following properties:
-
-
-
-
-
- Where Budget
is an object with the following properties:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/spendingTxInReference.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/spendingTxInReference.tsx
deleted file mode 100644
index 0eba774cf..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/spendingTxInReference.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function SpendingTxInReference() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh.spendingTxInReference(txHash: string, txIndex: number, spendingScriptHash?: string)`;
-
- return (
- <>
-
- Use spendingTxInReference()
to set the reference input
- where it would also be spent in the transaction:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/txIn.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/txIn.tsx
deleted file mode 100644
index c47601404..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/txIn.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function TxIn() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .txIn(txHash: string, txIndex: number, amount?: Asset[], address?: string)`;
-
- return (
- <>
-
- txIn()
is used to set the input for a transaction.{' '}
- amount
and address
are optional flags which can be used if you
- have supplied the fetcher
instance (which enables blockchain
- indexing)
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/txInCollateral.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/txInCollateral.tsx
deleted file mode 100644
index 9ece89d43..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/txInCollateral.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function TxInCollateral() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .txInCollateral(txHash: string, txIndex: number, amount?: Asset[], address?: string)`;
-
- return (
- <>
-
- Use .txInCollateral()
to set the collateral UTxO for the
- transaction. Just as with .txIn()
, you can optionally
- provide the amount and address information:
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builder/txOut.tsx b/apps/mesh-web/components/pages/apis/transaction/builder/txOut.tsx
deleted file mode 100644
index 158ec863a..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builder/txOut.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function TxOut() {
- return (
-
- );
-}
-
-function Content() {
- let code = `mesh
- .txOut(address: string, amount: Asset[])`;
- let codeWithScript = `mesh
- .txOut(address: string, amount: Asset[])
- .txOutReferenceScript(scriptCbor: string)`;
-
- let codeWithDatum = `mesh
- .txOut(address: string, amount: Asset[])
- .txOutDatumHashValue(datum: Data | object | string, type?: type: "Mesh" | "CBOR" | "JSON")
- // or .txOutInlineDatumValue(datum: Data | object | string, type?: "Mesh" | "CBOR" | "JSON")
-`;
-
- return (
- <>
-
- txOut()
is used in its basic form as follows. You could
- provide empty array or only native token to amount: Asset[]
- , in that case the minUTxO needed would be calculated automatically at
- complete.
-
-
-
- Attaching datum in output
-
- You can attach datum to this transaction output by using either
- .txOutDatumHashValue()
or{' '}
- .txOutInlineDatumValue()
-
-
- Attaching script in output for referencing
-
- You can attach a reference script to the output using
- .txOutReferenceScript()
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/complexTransaction.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/complexTransaction.tsx
deleted file mode 100644
index 0bbb92d8a..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/complexTransaction.tsx
+++ /dev/null
@@ -1,48 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function ComplexTransaction() {
- return (
-
- );
-}
-
-function Content() {
- const codeSnippet = `await mesh
- .txIn(txInHash, txInId)
- .spendingPlutusScriptV2()
- .txIn(validatorInput.txHash, validatorInput.outputIndex)
- .txInInlineDatumPresent()
- .txInRedeemerValue(mConStr0([]))
- .txInScript(getScriptCbor("Spending"))
- .mintPlutusScriptV2()
- .mint("1", policyId, tokenName)
- .mintingScript(mintingScript)
- .mintRedeemerValue(mConStr0([]))
- .txOut(this.constants.walletAddress, [{ unit: policyId + tokenName, quantity: "1" }])
- .changeAddress(this.constants.walletAddress)
- .txInCollateral(this.constants.collateralUTxO.txHash, this.constants.collateralUTxO.outputIndex)
- .signingKey(this.constants.skey)
- .complete();
-
-const signedTx = mesh.completeSigning()`;
-
- return (
- <>
-
- The following shows a simple example of building a transaction of both
- unlocking from script and minting tokens:
-
-
-
-
- Full Code Snippet in Github
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/gettingStarted.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/gettingStarted.tsx
deleted file mode 100644
index 658edbc27..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/gettingStarted.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function GettingStarted() {
- return (
-
- );
-}
-
-function Content() {
- let codeSnippet = ``;
- codeSnippet += `const maestro = new MaestroProvider({\n`;
- codeSnippet += ` network: 'Preprod',\n`;
- codeSnippet += ` apiKey: MAESTRO_API_KEY,\n`;
- codeSnippet += `});\n`;
- codeSnippet += `const mesh = new MeshTxBuilder({\n`;
- codeSnippet += ` fetcher: maestro,\n`;
- codeSnippet += ` submitter: maestro,\n`;
- codeSnippet += ` evaluator: maestro,\n`;
- codeSnippet += `});\n`;
-
- return (
- <>
-
- To start building an customized transaction, you need to first
- initialize MeshTxBuilder
with MaestroProvider
:
-
-
-
-
-
- There are 4 optional fields to pass in to initialized the lower level
- APIs instance:
-
-
-
- 1. fetcher
: When you build the transaction without
- sufficient fields as required by the serialization library, we would
- index the blockchain to fill the information for you. Affected APIs are
- txIn
,txInCollateral
,
- spendingTxInReference
.
-
-
-
- 2. submitter
: It is used if you would like to use the{' '}
- fetcher
submitTx API directly from the instance.
-
-
-
- 3. evaluator
: It would perform redeemer execution unit
- optimization.
-
-
-
- 4. isHydra
: Use another set of default protocol parameters
- for building transactions
-
-
- {`Below provides some examples of transaction building. Complete working
- examples can be found in `}
-
- mesh-lower-level-api-demo
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/lockFund.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/lockFund.tsx
deleted file mode 100644
index 14692fd56..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/lockFund.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function LockFund() {
- return (
-
- );
-}
-
-function Content() {
- const codeSnippet = `await mesh
- .txIn(txInHash, txInId)
- .txOut(validatorAddress, [])
- .txOutInlineDatumValue(1618)
- .changeAddress(this.constants.walletAddress)
- .signingKey(this.constants.skey)
- .complete();
-
-const signedTx = mesh.completeSigning()`;
-
- return (
- <>
-
- The following shows a simple example of building a transaction to lock
- fund in a smart contact. It is equivalent to the following CLI command
- in PPBL Module 102.4
- .
-
-
-
-
- Full Code Snippet in Github
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/mintToken.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/mintToken.tsx
deleted file mode 100644
index c11179317..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/mintToken.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function MintToken() {
- return (
-
- );
-}
-
-function Content() {
- const codeSnippet = `await mesh
- .txIn(txInHash, txInId)
- .mintPlutusScriptV2()
- .mint("1", policyId, tokenName)
- .mintingScript(mintingScript)
- .mintRedeemerValue(mConStr0([]))
- .txOut(this.constants.walletAddress, [{ unit: policyId + tokenName, quantity: "1" }])
- .changeAddress(this.constants.walletAddress)
- .txInCollateral(this.constants.collateralUTxO.txHash, this.constants.collateralUTxO.outputIndex)
- .signingKey(this.constants.skey)
- .complete();
-
-const signedTx = mesh.completeSigning()`;
-
- return (
- <>
-
- The following shows a simple example of building a transaction to mint a
- token with smart contract:
-
-
-
-
- Full Code Snippet in Github
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/sendValues.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/sendValues.tsx
deleted file mode 100644
index 7f93c7e8d..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/sendValues.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function SendValues() {
- return (
-
- );
-}
-
-function Content() {
- const codeSnippet = `await mesh
- .txIn(txInHash, txInId)
- .txOut(this.constants.walletAddress, [{ unit: "lovelace", quantity: amount.toString() }])
- .changeAddress(this.constants.walletAddress)
- .signingKey(this.constants.skey)
- .complete();
-
-const signedTx = mesh.completeSigning()`;
-
- return (
- <>
-
- The following shows a simple example of building a transaction to send
- values to a recipient:
-
-
-
-
- Full Code Snippet in Github
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/staking.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/staking.tsx
deleted file mode 100644
index b604068f7..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/staking.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function Staking() {
- return (
-
- );
-}
-
-function Content() {
- const codeSnippet = `const usedAddress = await wallet.getUnusedAddresses();
-const { stakeCredential } = serializeBech32Address(usedAddress[0]);
-await mesh
- .txIn(txInHash, txInId)
- .registerStakeCertificate(stakeCredential) // Skip this line if you are not staking for the first time
- .delegateStakeCertificate(
- stakeCredential,
- 'poolxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
- )
- .changeAddress(changeAddress)
- .complete();
-
-const signedTx = mesh.completeSigning()`;
-
- return (
- <>
-
- The following shows a simple example of building a transaction to
- (register stake certificate and) delegate stake to a pool for the first
- time.
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/unlockFund.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/unlockFund.tsx
deleted file mode 100644
index 44d002d8c..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/unlockFund.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function UnlockFund() {
- return (
-
- );
-}
-
-function Content() {
- const codeSnippet = `await mesh
- .txIn(txInHash, txInId)
- .spendingPlutusScriptV2()
- .txIn(validatorInput.txHash, validatorInput.outputIndex)
- .txInInlineDatumPresent()
- .txInRedeemerValue(mConStr0([]))
- .txInScript(getScriptCbor("Spending"))
- .txOut(this.constants.walletAddress, [])
- .changeAddress(this.constants.walletAddress)
- .txInCollateral(this.constants.collateralUTxO.txHash, this.constants.collateralUTxO.outputIndex)
- .signingKey(this.constants.skey)
- .complete();
-
-const signedTx = mesh.completeSigning()`;
-
- return (
- <>
-
- The following shows a simple example of building a transaction to unlock
- fund from a smart contract. It is equivalent to the following CLI
- command in{' '}
- PPBL Module 102.5
-
-
-
-
- Full Code Snippet in Github
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/withObject.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/withObject.tsx
deleted file mode 100644
index 0097ad9cc..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/withObject.tsx
+++ /dev/null
@@ -1,90 +0,0 @@
-import Link from 'next/link';
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-import { Link as SmoothLink } from 'react-scroll';
-
-export default function TransactionWithObject() {
- return (
-
- );
-}
-
-function Content() {
- let codeSnippet = `const meshTxBody: MeshTxBuilderBody = {
- inputs: [
- {
- type: "PubKey",
- txIn: {
- txHash: txHash1,
- txIndex: txIndex1,
- },
- },
- {
- type: "PubKey",
- txIn: {
- txHash: txHash2,
- txIndex: txIndex2,
- },
- },
- ],
- outputs: [
- {
- address: walletAddress,
- amount: [{ unit: "lovelace", quantity: "1000000" }],
- },
- ],
- collaterals: [
- {
- type: "PubKey",
- txIn: {
- txHash: "ee8369ffadd6ed6efdd939639b393f08974fca388b2c43d03a96a1fa4840c5f8",
- txIndex: 0,
- },
- },
- ],
- requiredSignatures: [],
- referenceInputs: [],
- mints: [],
- changeAddress: walletAddress,
- metadata: [],
- validityRange: {},
- signingKey: [skey],
-};
-
-await mesh.complete(meshTxBody);
-const signedTx = mesh.completeSigning();`;
-
- return (
- <>
-
- One alternative to use the lower level APIs is to build the transaction
- with an object in type{' '}
- MeshTxBuilderBody.
-
-
-
- The following shows a example of building the same transaction in the{' '}
-
- Build a transaction without any dependency
- {' '}
- section with an object:
-
-
-
-
- Full Code Snippet in Github
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/builderExample/withoutDependency.tsx b/apps/mesh-web/components/pages/apis/transaction/builderExample/withoutDependency.tsx
deleted file mode 100644
index 83075e160..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/builderExample/withoutDependency.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import Section from '../../../../common/section';
-import Codeblock from '../../../../ui/codeblock';
-
-export default function TransactionWithoutDependency() {
- return (
-
- );
-}
-
-function Content() {
- let codeSnippet = ``;
- codeSnippet += `const signedTx = mesh\n`;
- codeSnippet += ` .txIn('572bca237e440b596f4f71374b4b610a995095c6b62a6dcc8549089b93ba0e33', 0, [{ unit: 'lovelace', quantity: '2000000' }], myAddress)\n`;
- codeSnippet += ` .txIn('572bca237e440b596f4f71374b4b610a995095c6b62a6dcc8549089b93ba0e33', 3, [{ unit: 'lovelace', quantity: '2000000' }], myAddress)\n`;
- codeSnippet += ` .txOut(recipient, [\n`;
- codeSnippet += ` { unit: 'lovelace', quantity: '2000000' },\n`;
- codeSnippet += ` { unit: policyIdHex + tokenNameHex, quantity: '1' },\n`;
- codeSnippet += ` ])\n`;
- codeSnippet += ` .changeAddress(walletAddress)\n`;
- codeSnippet += ` .txInCollateral('3fbdf2b0b4213855dd9b87f7c94a50cf352ba6edfdded85ecb22cf9ceb75f814', 6, [{ unit: 'lovelace', quantity: '5000000' }], myAddress)\n`;
- codeSnippet += ` .signingKey(privateKey)\n`;
- codeSnippet += ` .completeSync();\n`;
- codeSnippet += ` .completeSigning();\n`;
-
- return (
- <>
-
- The following shows a example of building transaction without any
- dependency:
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/commonHero.tsx b/apps/mesh-web/components/pages/apis/transaction/commonHero.tsx
deleted file mode 100644
index 7fa2ff957..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/commonHero.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-export default function CommonHero({
- children,
- title,
- desc,
- icon,
-}: {
- children?;
- title: string;
- desc: string;
- icon;
-}) {
- return (
- <>
-
-
-
-
-
- {desc}
-
- {children && children}
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/hero.tsx b/apps/mesh-web/components/pages/apis/transaction/hero.tsx
deleted file mode 100644
index a6cbd8517..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/hero.tsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import { PuzzlePieceIcon } from '@heroicons/react/24/solid';
-import Codeblock from '../../../ui/codeblock';
-
-export default function Hero() {
- let codeSnippet = '';
- codeSnippet += `// import Transaction and BrowserWallet\n`;
- codeSnippet += `import { Transaction, BrowserWallet } from '@meshsdk/core';\n\n`;
- codeSnippet += `// connect to a wallet\n`;
- codeSnippet += `const wallet = await BrowserWallet.enable('eternl');\n\n`;
- codeSnippet += `// initiate a new Transaction with the connected wallet\n`;
- codeSnippet += `const tx = new Transaction({ initiator: wallet });`;
-
- return (
- <>
-
-
-
-
- With Mesh, you can chain to create complex transactions. You can
- send ADA and NFTS to multiple addresses, lock and unlock from smart
- contract, all with a single transaction.
-
-
- In this section, let's create some transactions with Mesh. We need
- the following to create a transaction:
-
-
-
-
- >
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/minting/burning.tsx b/apps/mesh-web/components/pages/apis/transaction/minting/burning.tsx
deleted file mode 100644
index 935827cee..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/minting/burning.tsx
+++ /dev/null
@@ -1,247 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import { Transaction, ForgeScript } from '@meshsdk/core';
-import type { Asset, AssetExtended } from '@meshsdk/core';
-import { assetAsset } from '../../../../../configs/demo';
-
-export default function Burning() {
- const { wallet, connected } = useWallet();
- const [userInput, setUserInput] = useState<{}>({
- [assetAsset]: 1,
- });
- const [walletAssets, setWalletAssets] = useState([
- {
- unit: assetAsset,
- policyId: '64af286e2ad0df4de2e7de15f8ff5b3d27faecf4ab2757056d860a42',
- assetName: 'MeshToken',
- fingerprint: 'asset1vy4dlqfc42r49jtvz5v4ek3s7wz96s0azur5xx',
- quantity: '10',
- },
- {
- unit: '8f78a4388b1a3e1a1435257e9356fa0c2cc0d3a5999d63b5886c964354657374746f6b656e',
- policyId: '8f78a4388b1a3e1a1435257e9356fa0c2cc0d3a5999d63b5886c9643',
- assetName: 'MeshToken',
- fingerprint: 'asset1mdkjgeufm9lk4yzszckq6r7t5p4vzhwz2dz90k',
- quantity: '5',
- },
- ]);
-
- useEffect(() => {
- async function init() {
- const _assets = await wallet.getAssets();
- setWalletAssets(_assets.slice(0, 9));
- }
- if (connected) {
- init();
- }
- }, [connected]);
-
- function updateField(action, unit, value) {
- let updated = { ...userInput };
- if (action == 'update') {
- if (value <= 0) {
- delete updated[unit];
- } else {
- const thisAsset = walletAssets.find((asset) => {
- return asset.unit == unit;
- });
- if (thisAsset) {
- if (value <= parseInt(thisAsset.quantity)) {
- updated[unit] = value;
- }
- }
- }
- setUserInput(updated);
- }
- }
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let codeSnippet = `import { Transaction, ForgeScript } from '@meshsdk/core';\n`;
- codeSnippet += `import type { Asset } from '@meshsdk/core';\n\n`;
-
- codeSnippet += `// prepare forgingScript\n`;
- codeSnippet += `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet += `const address = usedAddress[0];\n`;
- codeSnippet += `const forgingScript = ForgeScript.withOneSignature(address);\n\n`;
-
- codeSnippet += `const tx = new Transaction({ initiator: wallet });\n\n`;
-
- let counter = 1;
- for (const unit in userInput) {
- codeSnippet += `// burn asset#${counter}\n`;
- codeSnippet += `const asset${counter}: Asset = {\n`;
- codeSnippet += ` unit: '${unit}',\n`;
- codeSnippet += ` quantity: '${userInput[unit]}',\n`;
- codeSnippet += `};\n`;
- codeSnippet += `tx.burnAsset(forgingScript, asset${counter});\n\n`;
- counter++;
- }
-
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- let codeSnippet1 = `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet1 += `const address = usedAddress[0];\n`;
- codeSnippet1 += `const forgingScript = ForgeScript.withOneSignature(address);`;
-
- let codeSnippet2 = `const asset: Asset = {\n`;
- codeSnippet2 += ` unit: assetAsset,\n`;
- codeSnippet2 += ` quantity: '1',\n`;
- codeSnippet2 += `};\n`;
- codeSnippet2 += `tx.burnAsset(forgingScript, asset);`;
-
- return (
- <>
-
- Like minting assets, we need to define the forgingScript
{' '}
- with ForgeScript
. We use the first wallet address as the
- "minting address". Note that, assets can only be burned by its minting
- address.
-
-
-
- Then, we define Asset
and set tx.burnAsset()
-
-
- Here is the full code:
-
- >
- );
-}
-
-function Right({ userInput, updateField, walletAssets }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const usedAddress = await wallet.getUsedAddresses();
- const address = usedAddress[0];
- const forgingScript = ForgeScript.withOneSignature(address);
-
- const tx = new Transaction({ initiator: wallet });
-
- for (const unit in userInput) {
- const asset: Asset = {
- unit: unit,
- quantity: userInput[unit],
- };
- tx.burnAsset(forgingScript, asset);
- }
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
-
-
- );
-}
-
-function InputTable({ userInput, updateField, walletAssets }) {
- return (
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/minting/minting.tsx b/apps/mesh-web/components/pages/apis/transaction/minting/minting.tsx
deleted file mode 100644
index 4dd638575..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/minting/minting.tsx
+++ /dev/null
@@ -1,417 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import Button from '../../../../ui/button';
-import { PlusCircleIcon, TrashIcon } from '@heroicons/react/24/solid';
-import { demoAddresses } from '../../../../../configs/demo';
-import { Transaction, ForgeScript, AssetMetadata } from '@meshsdk/core';
-import type { Mint } from '@meshsdk/core';
-import Textarea from '../../../../ui/textarea';
-import Link from 'next/link';
-import { resolveNativeScriptHash } from '@meshsdk/core';
-
-const defaultMetadata = {
- name: 'Mesh Token',
- image: 'ipfs://QmRzicpReutwCkM6aotuKjErFCUD213DpwPq6ByuzMJaua',
- mediaType: 'image/jpg',
- description: 'This NFT was minted by Mesh (https://meshjs.dev/).',
-};
-
-export default function Minting() {
- const { wallet, connected } = useWallet();
-
- const [userInput, setUserInput] = useState<{}[]>([
- {
- address: demoAddresses.testnet,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- },
- ]);
-
- async function updateField(action, index, field, value) {
- let _address = demoAddresses.testnet;
- if (connected) {
- _address =
- (await wallet.getNetworkId()) === 1
- ? demoAddresses.mainnet
- : demoAddresses.testnet;
- }
-
- let updated = [...userInput];
- if (action == 'add') {
- updated.push({
- address: _address,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- });
- } else if (action == 'update') {
- if (
- field == 'metadata' ||
- field == 'assetName' ||
- field == 'address' ||
- field == 'assetLabel' ||
- field == 'quantity'
- ) {
- updated[index][field] = value;
- }
- } else if (action == 'remove') {
- updated.splice(index, 1);
- }
- setUserInput(updated);
- }
-
- useEffect(() => {
- async function init() {
- const usedAddress = await wallet.getUsedAddresses();
- const address = usedAddress[0];
- let updated = [
- {
- address: address,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- },
- ];
- setUserInput(updated);
- }
- if (connected) {
- init();
- }
- }, [connected]);
-
- return (
-
- );
-}
-
-function Left({ userInput }) {
- let codeSnippet = `import { Transaction, ForgeScript } from '@meshsdk/core';\n`;
- codeSnippet += `import type { Mint, AssetMetadata } from '@meshsdk/core';\n\n`;
-
- codeSnippet += `// prepare forgingScript\n`;
- codeSnippet += `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet += `const address = usedAddress[0];\n`;
- codeSnippet += `const forgingScript = ForgeScript.withOneSignature(address);\n\n`;
-
- codeSnippet += `const tx = new Transaction({ initiator: wallet });\n\n`;
-
- let counter = 1;
- for (const recipient of userInput) {
- let _metadata = JSON.stringify(
- { error: 'Not a valid javascript object' },
- null,
- 2
- );
- try {
- _metadata = JSON.stringify(JSON.parse(recipient.metadata), null, 2);
- } catch (error) {}
- codeSnippet += `// define asset#${counter} metadata\n`;
- codeSnippet += `const assetMetadata${counter}: AssetMetadata = ${_metadata};\n`;
- codeSnippet += `const asset${counter}: Mint = {\n`;
- codeSnippet += ` assetName: '${recipient.assetName}',\n`;
- codeSnippet += ` assetQuantity: '${recipient.quantity}',\n`;
- codeSnippet += ` metadata: assetMetadata${counter},\n`;
- codeSnippet += ` label: '${recipient.assetLabel}',\n`;
- codeSnippet += ` recipient: '${recipient.address}',\n`;
- codeSnippet += `};\n`;
- codeSnippet += `tx.mintAsset(\n`;
- codeSnippet += ` forgingScript,\n`;
- codeSnippet += ` asset${counter},\n`;
- codeSnippet += `);\n\n`;
- counter++;
- }
-
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- let codeSnippet1 = ``;
- codeSnippet1 += `// use browser wallet to get address\n`;
- codeSnippet1 += `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet1 += `const address = usedAddress[0];\n`;
- codeSnippet1 += `// use app wallet to get address\n`;
- codeSnippet1 += `const address = wallet.getPaymentAddress();\n\n`;
- codeSnippet1 += `// create forgingScript\n`;
- codeSnippet1 += `const forgingScript = ForgeScript.withOneSignature(address);`;
-
- let codeSnippet2 = `const assetMetadata: AssetMetadata = ${JSON.stringify(
- defaultMetadata,
- null,
- 2
- )};\n`;
- codeSnippet2 += `const asset: Mint = {\n`;
- codeSnippet2 += ` assetName: 'MeshToken',\n`;
- codeSnippet2 += ` assetQuantity: '1',\n`;
- codeSnippet2 += ` metadata: assetMetadata,\n`;
- codeSnippet2 += ` label: '721',\n`;
- codeSnippet2 += ` recipient: '${demoAddresses.testnet}' \n`;
- codeSnippet2 += `};\n`;
- codeSnippet2 += `tx.mintAsset(\n`;
- codeSnippet2 += ` forgingScript,\n`;
- codeSnippet2 += ` asset,\n`;
- codeSnippet2 += `);`;
-
- let codeSnippetNative = ``;
- codeSnippetNative += `import type { NativeScript } from '@meshsdk/core';\n`;
- codeSnippetNative += `\n`;
- codeSnippetNative += `const nativeScript: NativeScript = {\n`;
- codeSnippetNative += ` type: 'all',\n`;
- codeSnippetNative += ` scripts:\n`;
- codeSnippetNative += ` [\n`;
- codeSnippetNative += ` {\n`;
- codeSnippetNative += ` type: 'before',\n`;
- codeSnippetNative += ` slot: ''\n`;
- codeSnippetNative += ` },\n`;
- codeSnippetNative += ` {\n`;
- codeSnippetNative += ` type: 'sig',\n`;
- codeSnippetNative += ` keyHash: ''\n`;
- codeSnippetNative += ` }\n`;
- codeSnippetNative += ` ]\n`;
- codeSnippetNative += `};\n`;
- codeSnippetNative += `\n`;
- codeSnippetNative += `const forgingScript = ForgeScript.fromNativeScript(nativeScript);\n`;
-
- return (
- <>
-
- In this section, we will see how to mint native assets with a{' '}
- ForgeScript
. For minting assets with smart contract, visit{' '}
-
- Transaction - Smart Contract - Minting Assets with Smart Contract
-
- .
-
-
- Firstly, we need to define the forgingScript
with{' '}
- ForgeScript
. We use the first wallet address as the
- "minting address" (you can use other addresses).
-
-
- Then, we define the metadata.
-
- Here is the full code:
-
- >
- );
-}
-
-function Right({ userInput, updateField }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const usedAddress = await wallet.getUsedAddresses();
- const address = usedAddress[0];
- const forgingScript = ForgeScript.withOneSignature(address);
-
- const tx = new Transaction({ initiator: wallet });
-
- for (const recipient of userInput) {
- let assetMetadata: undefined | AssetMetadata = undefined;
- try {
- assetMetadata = JSON.parse(recipient.metadata);
- } catch (error) {
- setResponseError(
- 'Problem parsing metadata. Must be a valid JavaScript object.'
- );
- setState(0);
- }
- if (assetMetadata == undefined) {
- return;
- }
-
- const asset: Mint = {
- assetName: recipient.assetName,
- assetQuantity: recipient.quantity.toString(),
- metadata: assetMetadata,
- label: recipient.assetLabel,
- recipient: recipient.address,
- };
-
- tx.mintAsset(forgingScript, asset);
- }
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
-
- );
-}
-
-function InputTable({ userInput, updateField }) {
- return (
-
-
-
- Mint assets and send to recipients
-
- Add or remove recipients, input the address and define the asset
- metadata before minting and sending.
-
-
-
-
-
- Recipients
-
-
-
-
- {userInput.map((row, i) => {
- return (
-
-
-
-
- Recipient #{i + 1}
-
-
- updateField('remove', i)}
- style="error"
- >
-
-
-
-
-
- updateField('update', i, 'address', e.target.value)
- }
- placeholder="Address"
- label="Address"
- />
-
- updateField('update', i, 'assetName', e.target.value)
- }
- placeholder="Asset name"
- label="Asset name"
- />
-
- Metadata
-
-
-
- );
- })}
-
-
- updateField('add')}>
-
- Add recipient
-
-
-
-
-
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/minting/mintingNativeScript.tsx b/apps/mesh-web/components/pages/apis/transaction/minting/mintingNativeScript.tsx
deleted file mode 100644
index 47b570769..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/minting/mintingNativeScript.tsx
+++ /dev/null
@@ -1,467 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import Button from '../../../../ui/button';
-import { PlusCircleIcon, TrashIcon } from '@heroicons/react/24/solid';
-import { demoAddresses } from '../../../../../configs/demo';
-import {
- Transaction,
- ForgeScript,
- AssetMetadata,
- NativeScript,
- Mint,
- resolvePaymentKeyHash,
- resolveNativeScriptHash,
-} from '@meshsdk/core';
-import Textarea from '../../../../ui/textarea';
-import Link from 'next/link';
-
-const defaultMetadata = {
- name: 'Mesh Token',
- image: 'ipfs://QmRzicpReutwCkM6aotuKjErFCUD213DpwPq6ByuzMJaua',
- mediaType: 'image/jpg',
- description: 'This NFT was minted by Mesh (https://meshjs.dev/).',
-};
-
-export default function MintingNativeScript() {
- const { wallet, connected } = useWallet();
-
- const [slot, setSlot] = useState('99999999');
-
- const [userInput, setUserInput] = useState<{}[]>([
- {
- address: demoAddresses.testnet,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- },
- ]);
-
- async function updateField(action, index, field, value) {
- let _address = demoAddresses.testnet;
- if (connected) {
- _address =
- (await wallet.getNetworkId()) === 1
- ? demoAddresses.mainnet
- : demoAddresses.testnet;
- }
-
- let updated = [...userInput];
- if (action == 'add') {
- updated.push({
- address: _address,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- });
- } else if (action == 'update') {
- if (
- field == 'metadata' ||
- field == 'assetName' ||
- field == 'address' ||
- field == 'assetLabel' ||
- field == 'quantity'
- ) {
- updated[index][field] = value;
- }
- } else if (action == 'remove') {
- updated.splice(index, 1);
- }
- setUserInput(updated);
- }
-
- useEffect(() => {
- async function init() {
- const usedAddress = await wallet.getUsedAddresses();
- const address = usedAddress[0];
- let updated = [
- {
- address: address,
- assetName: 'MeshToken',
- metadata: JSON.stringify(defaultMetadata, null, 2),
- assetLabel: '721',
- quantity: 1,
- },
- ];
- setUserInput(updated);
- }
- if (connected) {
- init();
- }
- }, [connected]);
-
- return (
-
- );
-}
-
-function Left({ userInput, slot }) {
- let codeSnippet = `import { Transaction, ForgeScript, Mint, AssetMetadata, resolvePaymentKeyHash } from '@meshsdk/core';\n\n`;
-
- codeSnippet += `// prepare forgingScript\n`;
- codeSnippet += `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet += `const address = usedAddress[0];\n\n`;
-
- codeSnippet += `const keyHash = resolvePaymentKeyHash(address);\n`;
- codeSnippet += `\n`;
- codeSnippet += `const nativeScript: NativeScript = {\n`;
- codeSnippet += ` type: 'all',\n`;
- codeSnippet += ` scripts: [\n`;
- codeSnippet += ` {\n`;
- codeSnippet += ` type: 'before',\n`;
- codeSnippet += ` slot: '${slot}',\n`;
- codeSnippet += ` },\n`;
- codeSnippet += ` {\n`;
- codeSnippet += ` type: 'sig',\n`;
- codeSnippet += ` keyHash: keyHash,\n`;
- codeSnippet += ` },\n`;
- codeSnippet += ` ],\n`;
- codeSnippet += `};\n`;
- codeSnippet += `\n`;
- codeSnippet += `const forgingScript = ForgeScript.fromNativeScript(nativeScript);\n\n`;
-
- codeSnippet += `const tx = new Transaction({ initiator: wallet });\n\n`;
-
- let counter = 1;
- for (const recipient of userInput) {
- let _metadata = JSON.stringify(
- { error: 'Not a valid javascript object' },
- null,
- 2
- );
- try {
- _metadata = JSON.stringify(JSON.parse(recipient.metadata), null, 2);
- } catch (error) {}
- codeSnippet += `// define asset#${counter} metadata\n`;
- codeSnippet += `const assetMetadata${counter}: AssetMetadata = ${_metadata};\n`;
- codeSnippet += `const asset${counter}: Mint = {\n`;
- codeSnippet += ` assetName: '${recipient.assetName}',\n`;
- codeSnippet += ` assetQuantity: '${recipient.quantity}',\n`;
- codeSnippet += ` metadata: assetMetadata${counter},\n`;
- codeSnippet += ` label: '${recipient.assetLabel}',\n`;
- codeSnippet += ` recipient: '${recipient.address}',\n`;
- codeSnippet += `};\n`;
- codeSnippet += `tx.mintAsset(\n`;
- codeSnippet += ` forgingScript,\n`;
- codeSnippet += ` asset${counter},\n`;
- codeSnippet += `);\n\n`;
- counter++;
- }
-
- codeSnippet += `tx.setTimeToExpire('${slot}');\n\n`;
-
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);`;
-
- let codeSnippetNative = ``;
- codeSnippetNative += `import type { NativeScript } from '@meshsdk/core';\n`;
- codeSnippetNative += `\n`;
- codeSnippetNative += `const nativeScript: NativeScript = {\n`;
- codeSnippetNative += ` type: 'all',\n`;
- codeSnippetNative += ` scripts:\n`;
- codeSnippetNative += ` [\n`;
- codeSnippetNative += ` {\n`;
- codeSnippetNative += ` type: 'before',\n`;
- codeSnippetNative += ` slot: ''\n`;
- codeSnippetNative += ` },\n`;
- codeSnippetNative += ` {\n`;
- codeSnippetNative += ` type: 'sig',\n`;
- codeSnippetNative += ` keyHash: ''\n`;
- codeSnippetNative += ` }\n`;
- codeSnippetNative += ` ]\n`;
- codeSnippetNative += `};\n`;
- codeSnippetNative += `\n`;
- codeSnippetNative += `const forgingScript = ForgeScript.fromNativeScript(nativeScript);\n`;
-
- return (
- <>
-
- Additionally, you can define the forging script with{' '}
- NativeScript
. For example if you want to have a policy
- locking script, you can create a new ForgeScript
with{' '}
- NativeScript
:
-
-
-
- To get the keyHash
, use the{' '}
- resolvePaymentKeyHash()
. To get the slot, use the{' '}
- resolveSlotNo()
. Check out{' '}
- Resolvers on how to use these
- functions.
-
-
- Important: if you are using a policy locking script, you must define{' '}
- setTimeToExpire
before the expiry; otherwise, you will
- catch the ScriptWitnessNotValidatingUTXOW
error. See{' '}
-
- Transaction - setTimeLimit
-
- .
-
-
- You can get the policy ID for this Native Script with{' '}
- resolveNativeScriptHash
:
-
-
-
-
- Here is the full code:
-
- >
- );
-}
-
-function Right({ userInput, updateField, slot, setSlot }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const usedAddress = await wallet.getUsedAddresses();
- const address = usedAddress[0];
- const keyHash = resolvePaymentKeyHash(address);
-
- const nativeScript: NativeScript = {
- type: 'all',
- scripts: [
- {
- type: 'before',
- slot: slot,
- },
- {
- type: 'sig',
- keyHash: keyHash,
- },
- ],
- };
-
- const forgingScript = ForgeScript.fromNativeScript(nativeScript);
-
- const tx = new Transaction({ initiator: wallet });
-
- for (const recipient of userInput) {
- let assetMetadata: undefined | AssetMetadata = undefined;
- try {
- assetMetadata = JSON.parse(recipient.metadata);
- } catch (error) {
- setResponseError(
- 'Problem parsing metadata. Must be a valid JavaScript object.'
- );
- setState(0);
- }
- if (assetMetadata == undefined) {
- return;
- }
-
- const asset: Mint = {
- assetName: recipient.assetName,
- assetQuantity: recipient.quantity.toString(),
- metadata: assetMetadata,
- label: recipient.assetLabel,
- recipient: recipient.address,
- };
-
- tx.mintAsset(forgingScript, asset);
- }
-
- tx.setTimeToExpire(slot);
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
- {connected ? (
- <>
-
-
- >
- ) : (
-
- )}
-
-
- );
-}
-
-function InputTable({ userInput, updateField, slot, setSlot }) {
- return (
-
- );
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/minting/mintingPlutusScript.tsx b/apps/mesh-web/components/pages/apis/transaction/minting/mintingPlutusScript.tsx
deleted file mode 100644
index 9b7ad951b..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/minting/mintingPlutusScript.tsx
+++ /dev/null
@@ -1,86 +0,0 @@
-import Codeblock from '../../../../ui/codeblock';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-
-export default function MintinPlutusScript() {
- return (
-
- );
-}
-
-function Left() {
- let codeSnippetPlutusScript = ``;
- codeSnippetPlutusScript += `const script: PlutusScript = {\n`;
- codeSnippetPlutusScript += ` code: '',\n`;
- codeSnippetPlutusScript += ` version: "V2",\n`;
- codeSnippetPlutusScript += `};\n`;
-
- let codeSnippetRedeemer = ``;
- codeSnippetRedeemer += `const redeemer = {\n`;
- codeSnippetRedeemer += ` data: { alternative: 0, fields: ["mesh"] },\n`;
- codeSnippetRedeemer += ` tag: "MINT",\n`;
- codeSnippetRedeemer += `};\n`;
-
- let codeSnippetTransaction = ``;
- codeSnippetTransaction += `const tx = new Transaction({ initiator: wallet })\n`;
- codeSnippetTransaction += ` .mintAsset(script, asset, redeemer)\n`;
- codeSnippetTransaction += ` .setRequiredSigners([address]);\n`;
-
- let codeSnippetFull = ``;
- codeSnippetFull += `const address = (await wallet.getUsedAddresses())[0];\n`;
- codeSnippetFull += `\n`;
- codeSnippetFull += `const script: PlutusScript = {\n`;
- codeSnippetFull += ` code: '',\n`;
- codeSnippetFull += ` version: "V2",\n`;
- codeSnippetFull += `};\n`;
- codeSnippetFull += `\n`;
- codeSnippetFull += `const redeemer = {\n`;
- codeSnippetFull += ` data: { alternative: 0, fields: [] },\n`;
- codeSnippetFull += ` tag: "MINT",\n`;
- codeSnippetFull += `};\n`;
- codeSnippetFull += `\n`;
- codeSnippetFull += `const asset: Mint = {\n`;
- codeSnippetFull += ` assetName: "MeshToken",\n`;
- codeSnippetFull += ` assetQuantity: "1",\n`;
- codeSnippetFull += ` metadata: assetMetadata,\n`;
- codeSnippetFull += ` label: "721",\n`;
- codeSnippetFull += ` recipient: address,\n`;
- codeSnippetFull += `};\n`;
- codeSnippetFull += `\n`;
- codeSnippetFull += `const tx = new Transaction({ initiator: wallet })\n`;
- codeSnippetFull += ` .mintAsset(script, asset, redeemer)\n`;
- codeSnippetFull += ` .setRequiredSigners([address]);\n`;
- codeSnippetFull += `\n`;
- codeSnippetFull += `const unsignedTx = await tx.build();\n`;
- codeSnippetFull += `const signedTx = await wallet.signTx(unsignedTx, true);\n`;
- codeSnippetFull += `const txHash = await wallet.submitTx(signedTx);\n`;
-
- return (
- <>
-
- For minting assets with a Plutus Script, you need to define the{' '}
- PlutusScript
:
-
-
-
- You also need to define the Redeemer
:
-
-
-
- Then you can create the transaction with the Transaction
{' '}
- class:
-
-
- Here is the full code:
-
- >
- );
-}
-
-function Right() {
- return <>>;
-}
diff --git a/apps/mesh-web/components/pages/apis/transaction/minting/mintingRoyaltyToken.tsx b/apps/mesh-web/components/pages/apis/transaction/minting/mintingRoyaltyToken.tsx
deleted file mode 100644
index 4464d9870..000000000
--- a/apps/mesh-web/components/pages/apis/transaction/minting/mintingRoyaltyToken.tsx
+++ /dev/null
@@ -1,157 +0,0 @@
-import { useEffect, useState } from 'react';
-import Codeblock from '../../../../ui/codeblock';
-import Card from '../../../../ui/card';
-import RunDemoButton from '../../../../common/runDemoButton';
-import RunDemoResult from '../../../../common/runDemoResult';
-import SectionTwoCol from '../../../../common/sectionTwoCol';
-import { useWallet } from '@meshsdk/react';
-import ConnectCipWallet from '../../../../common/connectCipWallet';
-import Input from '../../../../ui/input';
-import { demoAddresses } from '../../../../../configs/demo';
-import { Transaction, ForgeScript, Mint } from '@meshsdk/core';
-
-export default function MintingRoyaltyToken() {
- const [rate, setRate] = useState('0.2');
- const [addr, setAddr] = useState(demoAddresses.testnet);
-
- return (
-
- );
-}
-
-function Left({ rate, addr }) {
- let codeSnippet = ``;
- codeSnippet += `const usedAddress = await wallet.getUsedAddresses();\n`;
- codeSnippet += `const address = usedAddress[0];\n`;
- codeSnippet += `\n`;
- codeSnippet += `// create forgingScript, you can also use native script here\n`;
- codeSnippet += `const forgingScript = ForgeScript.withOneSignature(address);\n`;
- codeSnippet += `\n`;
- codeSnippet += `const tx = new Transaction({ initiator: wallet });\n`;
- codeSnippet += `\n`;
- codeSnippet += `const _assetMetadata = {\n`;
- codeSnippet += ` rate: '${rate}',\n`;
- codeSnippet += ` addr: '${addr}'\n`;
- codeSnippet += `};\n`;
- codeSnippet += `const asset: Mint = {\n`;
- codeSnippet += ` assetName: '',\n`;
- codeSnippet += ` assetQuantity: '1',\n`;
- codeSnippet += ` metadata: _assetMetadata,\n`;
- codeSnippet += ` label: '777',\n`;
- codeSnippet += ` recipient: address,\n`;
- codeSnippet += `};\n`;
- codeSnippet += `\n`;
- codeSnippet += `tx.mintAsset(forgingScript, asset);\n`;
- codeSnippet += `\n`;
- codeSnippet += `const unsignedTx = await tx.build();\n`;
- codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
- codeSnippet += `const txHash = await wallet.submitTx(signedTx);\n`;
-
- return (
- <>
-
- Royalty tokens is a special type of token that allows the creator to
- collect a royalty fee, this proposed standard will allow for uniform
- royalties' distributions across the secondary market space. Read{' '}
-
- CIP-27
- {' '}
- for more information.
-
-
- The implementation of royalty tokens is very simple, minting a token
- with 777
label, with "rate" and "addr" in the metadata.
-
-
- Here is the full code:
-
- >
- );
-}
-
-function Right({ rate, setRate, addr, setAddr }) {
- const [state, setState] = useState(0);
- const [response, setResponse] = useState(null);
- const [responseError, setResponseError] = useState(null);
- const { wallet, connected } = useWallet();
-
- async function runDemo() {
- setState(1);
- setResponse(null);
- setResponseError(null);
-
- try {
- const usedAddress = await wallet.getUsedAddresses();
- const address = usedAddress[0];
-
- const forgingScript = ForgeScript.withOneSignature(address);
-
- const tx = new Transaction({ initiator: wallet });
-
- const _assetMetadata = { rate: rate, addr: addr };
- const asset: Mint = {
- assetName: '',
- assetQuantity: '1',
- metadata: _assetMetadata,
- label: '777',
- recipient: address,
- };
-
- tx.mintAsset(forgingScript, asset);
-
- const unsignedTx = await tx.build();
- const signedTx = await wallet.signTx(unsignedTx);
- const txHash = await wallet.submitTx(signedTx);
- setResponse(txHash);
- setState(2);
- } catch (error) {
- setResponseError(JSON.stringify(error));
- setState(0);
- }
- }
-
- return (
-
-
- Minting Royalty Token
-