1 | import { type Client } from "../client";
|
2 | import { AtomicAsset, AtomicAssetSchema } from "../types/campaign";
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare class AtomicAssetsService {
|
12 | private readonly client;
|
13 | constructor(client: Client);
|
14 | /**
|
15 | * Retrieve atomic assets from the atomicassets contract for the given account
|
16 | * @param account eosio account name
|
17 | * @returns {Promise<AtomicAsset[]>} Returns an array of atomic assets
|
18 | */
|
19 | getAccountAssets: (account: string) => Promise<AtomicAsset[]>;
|
20 | |
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | getAsset: (account: string, assetId: string, deserializeAsset?: boolean) => Promise<AtomicAsset>;
|
27 | getCollection: (collectionName: string) => Promise<any>;
|
28 | getSchema: (collectionName: string, schemaName: string) => Promise<AtomicAssetSchema>;
|
29 | |
30 |
|
31 |
|
32 |
|
33 | mintAsset: () => Promise<any>;
|
34 | }
|