@ecency/sdk 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +145 -10
- package/dist/browser/index.d.ts +216 -75
- package/dist/browser/index.js +1041 -237
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +1088 -238
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.mjs +1041 -233
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @ecency/sdk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Framework-agnostic data layer for Hive apps with first-class React Query support.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## What’s Inside
|
|
6
6
|
|
|
7
7
|
- Query and mutation option builders powered by [@tanstack/react-query](https://tanstack.com/query)
|
|
8
|
-
-
|
|
9
|
-
-
|
|
8
|
+
- Modular APIs: accounts, posts, communities, market, wallet, notifications, analytics, integrations, core, auth, bridge, games, hive-engine, operations, points, private-api, promotions, proposals, resource-credits, search, spk, witnesses
|
|
9
|
+
- Central configuration via `CONFIG` / `ConfigManager` (RPC client, QueryClient)
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
@@ -16,15 +16,150 @@ yarn add @ecency/sdk
|
|
|
16
16
|
npm install @ecency/sdk
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Quick Start (React Query)
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
|
-
import { getAccountFullQueryOptions
|
|
23
|
-
import { useQuery } from
|
|
22
|
+
import { getAccountFullQueryOptions } from "@ecency/sdk";
|
|
23
|
+
import { useQuery } from "@tanstack/react-query";
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
const { data, isLoading } = useQuery(getAccountFullQueryOptions("ecency"));
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Configuration
|
|
29
|
+
|
|
30
|
+
The SDK uses a shared configuration singleton for the Hive RPC client and query client.
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
import { ConfigManager, makeQueryClient } from "@ecency/sdk";
|
|
34
|
+
|
|
35
|
+
// Optional: provide your own QueryClient
|
|
36
|
+
ConfigManager.setQueryClient(makeQueryClient());
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If your app sets up a custom Hive client, configure it at startup so all SDK
|
|
40
|
+
modules share the same instance.
|
|
41
|
+
|
|
42
|
+
## Query Options vs Direct Calls
|
|
43
|
+
|
|
44
|
+
Most APIs are exposed as **query option builders** to keep caching consistent:
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import { getPostsRankedQueryOptions } from "@ecency/sdk";
|
|
27
48
|
|
|
28
|
-
|
|
49
|
+
// Use in React Query hooks
|
|
50
|
+
useQuery(getPostsRankedQueryOptions("trending", "", "", 20));
|
|
29
51
|
```
|
|
30
52
|
|
|
53
|
+
Direct request helpers still exist for non-React contexts (e.g., server jobs).
|
|
54
|
+
Prefer query options in UI code.
|
|
55
|
+
|
|
56
|
+
## Mutations
|
|
57
|
+
|
|
58
|
+
Mutations are provided as hooks that wrap `useMutation`:
|
|
59
|
+
|
|
60
|
+
```ts
|
|
61
|
+
import { useAccountUpdate } from "@ecency/sdk";
|
|
62
|
+
|
|
63
|
+
const auth = {
|
|
64
|
+
accessToken,
|
|
65
|
+
postingKey,
|
|
66
|
+
loginType
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const { mutateAsync } = useAccountUpdate(username, auth);
|
|
70
|
+
await mutateAsync({ metadata });
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
`AuthContext` properties are optional. The example above works without an
|
|
74
|
+
explicit `broadcast` function; the SDK will use `postingKey` or `accessToken`
|
|
75
|
+
if provided. If your app needs custom broadcasting (Keychain, HiveAuth, mobile),
|
|
76
|
+
add the optional `broadcast` function as shown below.
|
|
77
|
+
|
|
78
|
+
## Broadcasting and Auth Context
|
|
79
|
+
|
|
80
|
+
The SDK does not manage storage or platform-specific signers. Instead, it uses an
|
|
81
|
+
`AuthContext` that you pass from the app:
|
|
82
|
+
|
|
83
|
+
```ts
|
|
84
|
+
import type { AuthContext } from "@ecency/sdk";
|
|
85
|
+
|
|
86
|
+
const auth: AuthContext = {
|
|
87
|
+
accessToken,
|
|
88
|
+
postingKey,
|
|
89
|
+
loginType,
|
|
90
|
+
broadcast: async (operations, authority = "posting") => {
|
|
91
|
+
// App-specific broadcaster (Keychain, HiveAuth, mobile wallet)
|
|
92
|
+
return myBroadcaster(operations, authority);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
If `auth.broadcast` is provided, the SDK will call it for posting broadcasts and
|
|
98
|
+
keychain/hiveauth flows. Otherwise it falls back to:
|
|
99
|
+
|
|
100
|
+
- `postingKey` (direct signing via dhive)
|
|
101
|
+
- `accessToken` (Hivesigner)
|
|
102
|
+
|
|
103
|
+
## Active/Owner Key Signing
|
|
104
|
+
|
|
105
|
+
For operations that must be signed with Active or Owner authority, use
|
|
106
|
+
`useSignOperationByKey` and pass the appropriate private key:
|
|
107
|
+
|
|
108
|
+
```ts
|
|
109
|
+
import { useSignOperationByKey } from "@ecency/sdk";
|
|
110
|
+
|
|
111
|
+
const { mutateAsync } = useSignOperationByKey(username);
|
|
112
|
+
await mutateAsync({
|
|
113
|
+
operation: ["account_update", { /* ... */ }],
|
|
114
|
+
keyOrSeed: activeKey
|
|
115
|
+
});
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
If you want the SDK to broadcast Active/Owner operations through an external
|
|
119
|
+
signer (Keychain, HiveAuth, mobile), provide an `auth.broadcast` handler and
|
|
120
|
+
use the `authority` argument:
|
|
121
|
+
|
|
122
|
+
```ts
|
|
123
|
+
const auth = {
|
|
124
|
+
broadcast: (ops, authority = "posting") => {
|
|
125
|
+
return myBroadcaster(ops, authority);
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Module Layout
|
|
131
|
+
|
|
132
|
+
```text
|
|
133
|
+
src/modules/
|
|
134
|
+
accounts/ account data, relationships, mutations
|
|
135
|
+
analytics/ activity tracking and stats
|
|
136
|
+
auth/ login, tokens, and auth helpers
|
|
137
|
+
bridge/ bridge API helpers
|
|
138
|
+
communities/ community queries and utils
|
|
139
|
+
core/ config, client, query manager, helpers
|
|
140
|
+
games/ game-related endpoints
|
|
141
|
+
hive-engine/ hive-engine data helpers
|
|
142
|
+
integrations/ external integrations (hivesigner, 3speak, etc.)
|
|
143
|
+
market/ market data and pricing
|
|
144
|
+
notifications/ notification queries and enums
|
|
145
|
+
operations/ operation signing helpers
|
|
146
|
+
points/ points queries and mutations
|
|
147
|
+
posts/ post queries, mutations, utils
|
|
148
|
+
private-api/ private API helpers
|
|
149
|
+
promotions/ promotion queries
|
|
150
|
+
proposals/ proposal queries and mutations
|
|
151
|
+
resource-credits/ RC stats helpers
|
|
152
|
+
search/ search queries
|
|
153
|
+
spk/ SPK data helpers
|
|
154
|
+
wallet/ wallet-related queries and types
|
|
155
|
+
witnesses/ witness queries and votes
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## SSR / RSC Notes
|
|
159
|
+
|
|
160
|
+
- Query options are safe to use on the server, but hooks are client-only.
|
|
161
|
+
- If you use Next.js App Router, keep hook usage in client components.
|
|
162
|
+
|
|
163
|
+
## Versioning
|
|
164
|
+
|
|
165
|
+
See `CHANGELOG.md` for release notes.
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseMutationOptions, MutationKey, QueryClient, QueryKey, InfiniteData, UseQueryOptions, UseInfiniteQueryOptions } from '@tanstack/react-query';
|
|
3
3
|
import * as _hiveio_dhive from '@hiveio/dhive';
|
|
4
|
-
import { Authority, SMTAsset, PrivateKey, AuthorityType, PublicKey,
|
|
4
|
+
import { Operation, Authority, SMTAsset, PrivateKey, AuthorityType, PublicKey, Client } from '@hiveio/dhive';
|
|
5
5
|
import * as _hiveio_dhive_lib_chain_rc from '@hiveio/dhive/lib/chain/rc';
|
|
6
|
+
import { RCAccount } from '@hiveio/dhive/lib/chain/rc';
|
|
7
|
+
|
|
8
|
+
interface DynamicProps {
|
|
9
|
+
hivePerMVests: number;
|
|
10
|
+
base: number;
|
|
11
|
+
quote: number;
|
|
12
|
+
fundRewardBalance: number;
|
|
13
|
+
fundRecentClaims: number;
|
|
14
|
+
hbdPrintRate: number;
|
|
15
|
+
hbdInterestRate: number;
|
|
16
|
+
headBlock: number;
|
|
17
|
+
totalVestingFund: number;
|
|
18
|
+
totalVestingShares: number;
|
|
19
|
+
virtualSupply: number;
|
|
20
|
+
vestingRewardPercent: number;
|
|
21
|
+
accountCreationFee: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface AuthContext {
|
|
25
|
+
accessToken?: string;
|
|
26
|
+
postingKey?: string | null;
|
|
27
|
+
loginType?: string | null;
|
|
28
|
+
broadcast?: (operations: Operation[], authority?: "active" | "posting" | "owner" | "memo") => Promise<unknown>;
|
|
29
|
+
}
|
|
6
30
|
|
|
7
31
|
interface AccountFollowStats {
|
|
8
32
|
follower_count: number;
|
|
@@ -390,13 +414,10 @@ interface Payload$4 {
|
|
|
390
414
|
profile: Partial<AccountProfile>;
|
|
391
415
|
tokens: AccountProfile["tokens"];
|
|
392
416
|
}
|
|
393
|
-
declare function useAccountUpdate(username: string,
|
|
394
|
-
postingKey?: string | null;
|
|
395
|
-
loginType?: string | null;
|
|
396
|
-
}): _tanstack_react_query.UseMutationResult<unknown, Error, Partial<Payload$4>, unknown>;
|
|
417
|
+
declare function useAccountUpdate(username: string, auth?: AuthContext): _tanstack_react_query.UseMutationResult<unknown, Error, Partial<Payload$4>, unknown>;
|
|
397
418
|
|
|
398
419
|
type Kind = "toggle-ignore" | "toggle-follow";
|
|
399
|
-
declare function useAccountRelationsUpdate(reference: string | undefined, target: string | undefined, onSuccess: (data: Partial<AccountRelationship> | undefined) => void, onError: (e: Error) => void): _tanstack_react_query.UseMutationResult<{
|
|
420
|
+
declare function useAccountRelationsUpdate(reference: string | undefined, target: string | undefined, auth: AuthContext | undefined, onSuccess: (data: Partial<AccountRelationship> | undefined) => void, onError: (e: Error) => void): _tanstack_react_query.UseMutationResult<{
|
|
400
421
|
ignores: boolean | undefined;
|
|
401
422
|
follows: boolean | undefined;
|
|
402
423
|
is_blacklisted?: boolean | undefined;
|
|
@@ -449,7 +470,7 @@ interface CommonPayload$1 {
|
|
|
449
470
|
key?: PrivateKey;
|
|
450
471
|
}
|
|
451
472
|
type RevokePostingOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload$1>, "onSuccess" | "onError">;
|
|
452
|
-
declare function useAccountRevokePosting(username: string | undefined, options: RevokePostingOptions): _tanstack_react_query.UseMutationResult<
|
|
473
|
+
declare function useAccountRevokePosting(username: string | undefined, options: RevokePostingOptions, auth?: AuthContext): _tanstack_react_query.UseMutationResult<unknown, Error, CommonPayload$1, unknown>;
|
|
453
474
|
|
|
454
475
|
type SignType = "key" | "keychain" | "hivesigner" | "ecency";
|
|
455
476
|
interface CommonPayload {
|
|
@@ -459,7 +480,7 @@ interface CommonPayload {
|
|
|
459
480
|
email?: string;
|
|
460
481
|
}
|
|
461
482
|
type UpdateRecoveryOptions = Pick<UseMutationOptions<unknown, Error, CommonPayload>, "onSuccess" | "onError">;
|
|
462
|
-
declare function useAccountUpdateRecovery(username: string | undefined, code: string | undefined, options: UpdateRecoveryOptions): _tanstack_react_query.UseMutationResult<unknown, Error, CommonPayload, unknown>;
|
|
483
|
+
declare function useAccountUpdateRecovery(username: string | undefined, code: string | undefined, options: UpdateRecoveryOptions, auth?: AuthContext): _tanstack_react_query.UseMutationResult<unknown, Error, CommonPayload, unknown>;
|
|
463
484
|
|
|
464
485
|
interface Payload {
|
|
465
486
|
currentKey: PrivateKey;
|
|
@@ -652,13 +673,10 @@ declare function getAccountFullQueryOptions(username: string | undefined): _tans
|
|
|
652
673
|
};
|
|
653
674
|
};
|
|
654
675
|
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
*/
|
|
658
|
-
declare function getAccountsQueryOptions(usernames: string[]): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FullAccount[], Error, FullAccount[], (string | string[])[]>, "queryFn"> & {
|
|
659
|
-
queryFn?: _tanstack_react_query.QueryFunction<FullAccount[], (string | string[])[], never> | undefined;
|
|
676
|
+
declare function getAccountsQueryOptions(usernames: string[]): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FullAccount[], Error, FullAccount[], string[]>, "queryFn"> & {
|
|
677
|
+
queryFn?: _tanstack_react_query.QueryFunction<FullAccount[], string[], never> | undefined;
|
|
660
678
|
} & {
|
|
661
|
-
queryKey:
|
|
679
|
+
queryKey: string[] & {
|
|
662
680
|
[dataTagSymbol]: FullAccount[];
|
|
663
681
|
[dataTagErrorSymbol]: Error;
|
|
664
682
|
};
|
|
@@ -810,6 +828,15 @@ declare function getAccountPendingRecoveryQueryOptions(username: string | undefi
|
|
|
810
828
|
};
|
|
811
829
|
};
|
|
812
830
|
|
|
831
|
+
declare function getAccountReputationsQueryOptions(query: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AccountReputation[], Error, AccountReputation[], (string | number)[]>, "queryFn"> & {
|
|
832
|
+
queryFn?: _tanstack_react_query.QueryFunction<AccountReputation[], (string | number)[], never> | undefined;
|
|
833
|
+
} & {
|
|
834
|
+
queryKey: (string | number)[] & {
|
|
835
|
+
[dataTagSymbol]: AccountReputation[];
|
|
836
|
+
[dataTagErrorSymbol]: Error;
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
|
|
813
840
|
declare const ACCOUNT_OPERATION_GROUPS: Record<OperationGroup, number[]>;
|
|
814
841
|
declare const ALL_ACCOUNT_OPERATIONS: number[];
|
|
815
842
|
type TxPage = Transaction[];
|
|
@@ -1126,6 +1153,15 @@ declare function getAccountVoteHistoryInfiniteQueryOptions<F>(username: string,
|
|
|
1126
1153
|
};
|
|
1127
1154
|
};
|
|
1128
1155
|
|
|
1156
|
+
declare function getProfilesQueryOptions(accounts: string[], observer?: string, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Profile[], Error, Profile[], (string | string[])[]>, "queryFn"> & {
|
|
1157
|
+
queryFn?: _tanstack_react_query.QueryFunction<Profile[], (string | string[])[], never> | undefined;
|
|
1158
|
+
} & {
|
|
1159
|
+
queryKey: (string | string[])[] & {
|
|
1160
|
+
[dataTagSymbol]: Profile[];
|
|
1161
|
+
[dataTagErrorSymbol]: Error;
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1129
1165
|
type ProfileTokens = AccountProfile["tokens"];
|
|
1130
1166
|
interface BuildProfileMetadataArgs {
|
|
1131
1167
|
existingProfile?: AccountProfile;
|
|
@@ -1142,29 +1178,18 @@ declare function buildProfileMetadata({ existingProfile, profile, tokens, }: Bui
|
|
|
1142
1178
|
*/
|
|
1143
1179
|
declare function parseAccounts(rawAccounts: any[]): FullAccount[];
|
|
1144
1180
|
|
|
1181
|
+
declare function votingPower(account: FullAccount): number;
|
|
1182
|
+
declare function powerRechargeTime(power: number): number;
|
|
1183
|
+
declare function downVotingPower(account: FullAccount): number;
|
|
1184
|
+
declare function rcPower(account: RCAccount): number;
|
|
1185
|
+
declare function votingValue(account: FullAccount, dynamicProps: DynamicProps, votingPowerValue: number, weight?: number): number;
|
|
1186
|
+
|
|
1145
1187
|
declare function useSignOperationByKey(username: string | undefined): _tanstack_react_query.UseMutationResult<_hiveio_dhive.TransactionConfirmation, Error, {
|
|
1146
1188
|
operation: Operation;
|
|
1147
1189
|
keyOrSeed: string;
|
|
1148
1190
|
}, unknown>;
|
|
1149
1191
|
|
|
1150
|
-
|
|
1151
|
-
interface TxResponse {
|
|
1152
|
-
success: boolean;
|
|
1153
|
-
result: string;
|
|
1154
|
-
}
|
|
1155
|
-
declare function handshake(): Promise<void>;
|
|
1156
|
-
declare const broadcast: (account: string, operations: Operation[], key: KeychainAuthorityTypes, rpc?: string | null) => Promise<TxResponse>;
|
|
1157
|
-
declare const customJson: (account: string, id: string, key: KeychainAuthorityTypes, json: string, display_msg: string, rpc?: string | null) => Promise<TxResponse>;
|
|
1158
|
-
|
|
1159
|
-
type keychain_KeychainAuthorityTypes = KeychainAuthorityTypes;
|
|
1160
|
-
declare const keychain_broadcast: typeof broadcast;
|
|
1161
|
-
declare const keychain_customJson: typeof customJson;
|
|
1162
|
-
declare const keychain_handshake: typeof handshake;
|
|
1163
|
-
declare namespace keychain {
|
|
1164
|
-
export { type keychain_KeychainAuthorityTypes as KeychainAuthorityTypes, keychain_broadcast as broadcast, keychain_customJson as customJson, keychain_handshake as handshake };
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
declare function useSignOperationByKeychain(username: string | undefined, keyType?: KeychainAuthorityTypes): _tanstack_react_query.UseMutationResult<any, Error, {
|
|
1192
|
+
declare function useSignOperationByKeychain(username: string | undefined, auth?: AuthContext, keyType?: "owner" | "active" | "posting" | "memo"): _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
1168
1193
|
operation: Operation;
|
|
1169
1194
|
}, unknown>;
|
|
1170
1195
|
|
|
@@ -1181,37 +1206,13 @@ declare function getChainPropertiesQueryOptions(): _tanstack_react_query.OmitKey
|
|
|
1181
1206
|
};
|
|
1182
1207
|
};
|
|
1183
1208
|
|
|
1184
|
-
declare function useBroadcastMutation<T>(mutationKey: MutationKey | undefined, username: string | undefined,
|
|
1185
|
-
postingKey?: string | null;
|
|
1186
|
-
loginType?: string | null;
|
|
1187
|
-
}): _tanstack_react_query.UseMutationResult<unknown, Error, T, unknown>;
|
|
1188
|
-
|
|
1189
|
-
declare function broadcastJson<T>(username: string | undefined, id: string, payload: T, accessToken?: string, auth?: {
|
|
1190
|
-
postingKey?: string | null;
|
|
1191
|
-
loginType?: string | null;
|
|
1192
|
-
}): Promise<any>;
|
|
1193
|
-
|
|
1194
|
-
interface StoringUser {
|
|
1195
|
-
username: string;
|
|
1196
|
-
accessToken: string;
|
|
1197
|
-
refreshToken: string;
|
|
1198
|
-
expiresIn: number;
|
|
1199
|
-
postingKey: null | undefined | string;
|
|
1200
|
-
loginType: null | undefined | string;
|
|
1201
|
-
index?: number;
|
|
1202
|
-
}
|
|
1209
|
+
declare function useBroadcastMutation<T>(mutationKey: MutationKey | undefined, username: string | undefined, operations: (payload: T) => Operation[], onSuccess?: UseMutationOptions<unknown, Error, T>["onSuccess"], auth?: AuthContext): _tanstack_react_query.UseMutationResult<unknown, Error, T, unknown>;
|
|
1203
1210
|
|
|
1204
|
-
declare
|
|
1205
|
-
declare const getAccessToken: (username: string) => string | undefined;
|
|
1206
|
-
declare const getPostingKey: (username: string) => null | undefined | string;
|
|
1207
|
-
declare const getLoginType: (username: string) => null | undefined | string;
|
|
1208
|
-
declare const getRefreshToken: (username: string) => string | undefined;
|
|
1211
|
+
declare function broadcastJson<T>(username: string | undefined, id: string, payload: T, auth?: AuthContext): Promise<any>;
|
|
1209
1212
|
|
|
1210
1213
|
declare const CONFIG: {
|
|
1211
1214
|
privateApiHost: string;
|
|
1212
1215
|
imageHost: string;
|
|
1213
|
-
storage: Storage;
|
|
1214
|
-
storagePrefix: string;
|
|
1215
1216
|
hiveClient: Client;
|
|
1216
1217
|
heliusApiKey: string | undefined;
|
|
1217
1218
|
queryClient: QueryClient;
|
|
@@ -1266,22 +1267,6 @@ declare namespace EcencyQueriesManager {
|
|
|
1266
1267
|
};
|
|
1267
1268
|
}
|
|
1268
1269
|
|
|
1269
|
-
interface DynamicProps {
|
|
1270
|
-
hivePerMVests: number;
|
|
1271
|
-
base: number;
|
|
1272
|
-
quote: number;
|
|
1273
|
-
fundRewardBalance: number;
|
|
1274
|
-
fundRecentClaims: number;
|
|
1275
|
-
hbdPrintRate: number;
|
|
1276
|
-
hbdInterestRate: number;
|
|
1277
|
-
headBlock: number;
|
|
1278
|
-
totalVestingFund: number;
|
|
1279
|
-
totalVestingShares: number;
|
|
1280
|
-
virtualSupply: number;
|
|
1281
|
-
vestingRewardPercent: number;
|
|
1282
|
-
accountCreationFee: string;
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
1270
|
declare function getDynamicPropsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<DynamicProps, Error, DynamicProps, string[]>, "queryFn"> & {
|
|
1286
1271
|
queryFn?: _tanstack_react_query.QueryFunction<DynamicProps, string[], never> | undefined;
|
|
1287
1272
|
} & {
|
|
@@ -1368,6 +1353,24 @@ declare function getEntryActiveVotesQueryOptions(entry?: Entry$1): _tanstack_rea
|
|
|
1368
1353
|
};
|
|
1369
1354
|
};
|
|
1370
1355
|
|
|
1356
|
+
declare function getContentQueryOptions(author: string, permlink: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Entry$1, Error, Entry$1, string[]>, "queryFn"> & {
|
|
1357
|
+
queryFn?: _tanstack_react_query.QueryFunction<Entry$1, string[], never> | undefined;
|
|
1358
|
+
} & {
|
|
1359
|
+
queryKey: string[] & {
|
|
1360
|
+
[dataTagSymbol]: Entry$1;
|
|
1361
|
+
[dataTagErrorSymbol]: Error;
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
declare function getContentRepliesQueryOptions(author: string, permlink: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Entry$1[], Error, Entry$1[], string[]>, "queryFn"> & {
|
|
1366
|
+
queryFn?: _tanstack_react_query.QueryFunction<Entry$1[], string[], never> | undefined;
|
|
1367
|
+
} & {
|
|
1368
|
+
queryKey: string[] & {
|
|
1369
|
+
[dataTagSymbol]: Entry$1[];
|
|
1370
|
+
[dataTagErrorSymbol]: Error;
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
|
|
1371
1374
|
declare function getPostHeaderQueryOptions(author: string, permlink: string): Omit<_tanstack_react_query.UseQueryOptions<Entry$1 | null, Error, Entry$1 | null, string[]>, "queryFn"> & {
|
|
1372
1375
|
initialData: Entry$1 | (() => Entry$1 | null) | null;
|
|
1373
1376
|
queryFn?: _tanstack_react_query.QueryFunction<Entry$1 | null, string[]> | undefined;
|
|
@@ -1402,6 +1405,14 @@ declare function getDiscussionsQueryOptions(entry: Entry$1, order?: SortOrder, e
|
|
|
1402
1405
|
[dataTagErrorSymbol]: Error;
|
|
1403
1406
|
};
|
|
1404
1407
|
};
|
|
1408
|
+
declare function getDiscussionQueryOptions(author: string, permlink: string, observer?: string, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Record<string, Entry$1> | null, Error, Record<string, Entry$1> | null, string[]>, "queryFn"> & {
|
|
1409
|
+
queryFn?: _tanstack_react_query.QueryFunction<Record<string, Entry$1> | null, string[], never> | undefined;
|
|
1410
|
+
} & {
|
|
1411
|
+
queryKey: string[] & {
|
|
1412
|
+
[dataTagSymbol]: Record<string, Entry$1> | null;
|
|
1413
|
+
[dataTagErrorSymbol]: Error;
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1405
1416
|
|
|
1406
1417
|
type PageParam$2 = {
|
|
1407
1418
|
author: string | undefined;
|
|
@@ -1417,6 +1428,14 @@ declare function getAccountPostsInfiniteQueryOptions(username: string | undefine
|
|
|
1417
1428
|
[dataTagErrorSymbol]: Error;
|
|
1418
1429
|
};
|
|
1419
1430
|
};
|
|
1431
|
+
declare function getAccountPostsQueryOptions(username: string | undefined, filter?: string, start_author?: string, start_permlink?: string, limit?: number, observer?: string, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Entry$1[], Error, Entry$1[], (string | number)[]>, "queryFn"> & {
|
|
1432
|
+
queryFn?: _tanstack_react_query.QueryFunction<Entry$1[], (string | number)[], never> | undefined;
|
|
1433
|
+
} & {
|
|
1434
|
+
queryKey: (string | number)[] & {
|
|
1435
|
+
[dataTagSymbol]: Entry$1[];
|
|
1436
|
+
[dataTagErrorSymbol]: Error;
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1420
1439
|
|
|
1421
1440
|
type PageParam$1 = {
|
|
1422
1441
|
author: string | undefined;
|
|
@@ -1434,6 +1453,14 @@ declare function getPostsRankedInfiniteQueryOptions(sort: string, tag: string, l
|
|
|
1434
1453
|
[dataTagErrorSymbol]: Error;
|
|
1435
1454
|
};
|
|
1436
1455
|
};
|
|
1456
|
+
declare function getPostsRankedQueryOptions(sort: string, start_author?: string, start_permlink?: string, limit?: number, tag?: string, observer?: string, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Entry$1[], Error, Entry$1[], (string | number)[]>, "queryFn"> & {
|
|
1457
|
+
queryFn?: _tanstack_react_query.QueryFunction<Entry$1[], (string | number)[], never> | undefined;
|
|
1458
|
+
} & {
|
|
1459
|
+
queryKey: (string | number)[] & {
|
|
1460
|
+
[dataTagSymbol]: Entry$1[];
|
|
1461
|
+
[dataTagErrorSymbol]: Error;
|
|
1462
|
+
};
|
|
1463
|
+
};
|
|
1437
1464
|
|
|
1438
1465
|
interface BlogEntry {
|
|
1439
1466
|
author: string;
|
|
@@ -1575,6 +1602,18 @@ declare function getWavesTrendingTagsQueryOptions(host: string, hours?: number):
|
|
|
1575
1602
|
};
|
|
1576
1603
|
};
|
|
1577
1604
|
|
|
1605
|
+
declare function getNormalizePostQueryOptions(post: {
|
|
1606
|
+
author?: string;
|
|
1607
|
+
permlink?: string;
|
|
1608
|
+
} | undefined, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Entry$1 | null, Error, Entry$1 | null, string[]>, "queryFn"> & {
|
|
1609
|
+
queryFn?: _tanstack_react_query.QueryFunction<Entry$1 | null, string[], never> | undefined;
|
|
1610
|
+
} & {
|
|
1611
|
+
queryKey: string[] & {
|
|
1612
|
+
[dataTagSymbol]: Entry$1 | null;
|
|
1613
|
+
[dataTagErrorSymbol]: Error;
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
|
|
1578
1617
|
declare function useAddFragment(username: string, code: string | undefined): _tanstack_react_query.UseMutationResult<Fragment, Error, {
|
|
1579
1618
|
title: string;
|
|
1580
1619
|
body: string;
|
|
@@ -1599,6 +1638,11 @@ declare function toEntryArray(x: unknown): Entry$1[];
|
|
|
1599
1638
|
declare function getVisibleFirstLevelThreadItems(container: WaveEntry): Promise<Entry$1[]>;
|
|
1600
1639
|
declare function mapThreadItemsToWaveEntries(items: Entry$1[], container: WaveEntry, host: string): WaveEntry[];
|
|
1601
1640
|
|
|
1641
|
+
type ValidatePostCreatingOptions = {
|
|
1642
|
+
delays?: number[];
|
|
1643
|
+
};
|
|
1644
|
+
declare function validatePostCreating(author: string, permlink: string, attempts?: number, options?: ValidatePostCreatingOptions): Promise<void>;
|
|
1645
|
+
|
|
1602
1646
|
type ActivityType = "post-created" | "post-updated" | "post-scheduled" | "draft-created" | "video-published" | "legacy-post-created" | "legacy-post-updated" | "legacy-post-scheduled" | "legacy-draft-created" | "legacy-video-published" | "perks-points-by-qr" | "perks-account-boost" | "perks-promote" | "perks-boost-plus" | "points-claimed" | "spin-rolled" | "signed-up-with-wallets" | "signed-up-with-email";
|
|
1603
1647
|
declare function useRecordActivity(username: string | undefined, activityType: ActivityType): _tanstack_react_query.UseMutationResult<void, Error, void, unknown>;
|
|
1604
1648
|
|
|
@@ -2035,6 +2079,15 @@ declare function getCommunityContextQueryOptions(username: string | undefined, c
|
|
|
2035
2079
|
};
|
|
2036
2080
|
};
|
|
2037
2081
|
|
|
2082
|
+
declare function getCommunityQueryOptions(name: string | undefined, observer?: string | undefined, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Community | null, Error, Community | null, (string | undefined)[]>, "queryFn"> & {
|
|
2083
|
+
queryFn?: _tanstack_react_query.QueryFunction<Community | null, (string | undefined)[], never> | undefined;
|
|
2084
|
+
} & {
|
|
2085
|
+
queryKey: (string | undefined)[] & {
|
|
2086
|
+
[dataTagSymbol]: Community | null;
|
|
2087
|
+
[dataTagErrorSymbol]: Error;
|
|
2088
|
+
};
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2038
2091
|
/**
|
|
2039
2092
|
* Get list of subscribers for a community
|
|
2040
2093
|
*
|
|
@@ -2512,6 +2565,14 @@ interface RcDirectDelegationsResponse {
|
|
|
2512
2565
|
next_start?: [string, string] | null;
|
|
2513
2566
|
}
|
|
2514
2567
|
|
|
2568
|
+
interface IncomingRcDelegation {
|
|
2569
|
+
sender: string;
|
|
2570
|
+
amount: string;
|
|
2571
|
+
}
|
|
2572
|
+
interface IncomingRcResponse {
|
|
2573
|
+
list: IncomingRcDelegation[];
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2515
2576
|
interface ReceivedVestingShare {
|
|
2516
2577
|
delegatee: string;
|
|
2517
2578
|
delegator: string;
|
|
@@ -2622,6 +2683,15 @@ declare function getOutgoingRcDelegationsInfiniteQueryOptions(username: string,
|
|
|
2622
2683
|
};
|
|
2623
2684
|
};
|
|
2624
2685
|
|
|
2686
|
+
declare function getIncomingRcQueryOptions(username: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<IncomingRcResponse, Error, IncomingRcResponse, (string | undefined)[]>, "queryFn"> & {
|
|
2687
|
+
queryFn?: _tanstack_react_query.QueryFunction<IncomingRcResponse, (string | undefined)[], never> | undefined;
|
|
2688
|
+
} & {
|
|
2689
|
+
queryKey: (string | undefined)[] & {
|
|
2690
|
+
[dataTagSymbol]: IncomingRcResponse;
|
|
2691
|
+
[dataTagErrorSymbol]: Error;
|
|
2692
|
+
};
|
|
2693
|
+
};
|
|
2694
|
+
|
|
2625
2695
|
declare function getReceivedVestingSharesQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ReceivedVestingShare[], Error, ReceivedVestingShare[], string[]>, "queryFn"> & {
|
|
2626
2696
|
queryFn?: _tanstack_react_query.QueryFunction<ReceivedVestingShare[], string[], never> | undefined;
|
|
2627
2697
|
} & {
|
|
@@ -2795,6 +2865,15 @@ declare function getMarketDataQueryOptions(coin: string, vsCurrency: string, fro
|
|
|
2795
2865
|
};
|
|
2796
2866
|
};
|
|
2797
2867
|
|
|
2868
|
+
declare function getTradeHistoryQueryOptions(limit?: number, startDate?: Date, endDate?: Date): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<OrdersDataItem[], Error, OrdersDataItem[], (string | number)[]>, "queryFn"> & {
|
|
2869
|
+
queryFn?: _tanstack_react_query.QueryFunction<OrdersDataItem[], (string | number)[], never> | undefined;
|
|
2870
|
+
} & {
|
|
2871
|
+
queryKey: (string | number)[] & {
|
|
2872
|
+
[dataTagSymbol]: OrdersDataItem[];
|
|
2873
|
+
[dataTagErrorSymbol]: Error;
|
|
2874
|
+
};
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2798
2877
|
interface ApiResponse<T> {
|
|
2799
2878
|
status: number;
|
|
2800
2879
|
data: T;
|
|
@@ -2815,6 +2894,11 @@ declare function getMarketData(coin: string, vsCurrency: string, fromTs: string,
|
|
|
2815
2894
|
declare function getCurrencyRate(cur: string): Promise<number>;
|
|
2816
2895
|
declare function getCurrencyTokenRate(currency: string, token: string): Promise<number>;
|
|
2817
2896
|
declare function getCurrencyRates(): Promise<CurrencyRates>;
|
|
2897
|
+
declare function getHivePrice(): Promise<{
|
|
2898
|
+
hive: {
|
|
2899
|
+
usd: number;
|
|
2900
|
+
};
|
|
2901
|
+
}>;
|
|
2818
2902
|
|
|
2819
2903
|
interface PointTransaction {
|
|
2820
2904
|
id: number;
|
|
@@ -2964,6 +3048,11 @@ declare function getSearchPathQueryOptions(q: string): _tanstack_react_query.Omi
|
|
|
2964
3048
|
};
|
|
2965
3049
|
};
|
|
2966
3050
|
|
|
3051
|
+
declare function search(q: string, sort: string, hideLow: string, since?: string, scroll_id?: string, votes?: number): Promise<SearchResponse>;
|
|
3052
|
+
declare function searchAccount(q?: string, limit?: number, random?: number): Promise<AccountSearchResult[]>;
|
|
3053
|
+
declare function searchTag(q?: string, limit?: number, random?: number): Promise<TagSearchResult[]>;
|
|
3054
|
+
declare function searchPath(q: string): Promise<string[]>;
|
|
3055
|
+
|
|
2967
3056
|
interface PromotePrice {
|
|
2968
3057
|
duration: number;
|
|
2969
3058
|
price: number;
|
|
@@ -3000,6 +3089,22 @@ declare function getBoostPlusAccountPricesQueryOptions(account: string, accessTo
|
|
|
3000
3089
|
};
|
|
3001
3090
|
};
|
|
3002
3091
|
|
|
3092
|
+
type BridgeParams = Record<string, unknown> | unknown[];
|
|
3093
|
+
declare function bridgeApiCall<T>(endpoint: string, params: BridgeParams): Promise<T>;
|
|
3094
|
+
declare function resolvePost(post: Entry$1, observer: string, num?: number): Promise<Entry$1>;
|
|
3095
|
+
declare function getPostsRanked(sort: string, start_author?: string, start_permlink?: string, limit?: number, tag?: string, observer?: string): Promise<Entry$1[] | null>;
|
|
3096
|
+
declare function getAccountPosts(sort: string, account: string, start_author?: string, start_permlink?: string, limit?: number, observer?: string): Promise<Entry$1[] | null>;
|
|
3097
|
+
declare function getPost(author?: string, permlink?: string, observer?: string, num?: number): Promise<Entry$1 | undefined>;
|
|
3098
|
+
declare function getPostHeader(author?: string, permlink?: string): Promise<Entry$1 | null>;
|
|
3099
|
+
declare function getDiscussion(author: string, permlink: string, observer?: string): Promise<Record<string, Entry$1> | null>;
|
|
3100
|
+
declare function getCommunity(name: string, observer?: string | undefined): Promise<Community | null>;
|
|
3101
|
+
declare function getCommunities(last?: string, limit?: number, query?: string | null, sort?: string, observer?: string): Promise<Community[] | null>;
|
|
3102
|
+
declare function normalizePost(post: unknown): Promise<Entry$1 | null>;
|
|
3103
|
+
declare function getSubscriptions(account: string): Promise<Subscription[] | null>;
|
|
3104
|
+
declare function getSubscribers(community: string): Promise<Subscription[] | null>;
|
|
3105
|
+
declare function getRelationshipBetweenAccounts(follower: string, following: string): Promise<AccountRelationship | null>;
|
|
3106
|
+
declare function getProfiles(accounts: string[], observer?: string): Promise<Profile[]>;
|
|
3107
|
+
|
|
3003
3108
|
declare function signUp(username: string, email: string, referral: string): Promise<ApiResponse<Record<string, unknown>>>;
|
|
3004
3109
|
declare function subscribeEmail(email: string): Promise<ApiResponse<Record<string, unknown>>>;
|
|
3005
3110
|
declare function usrActivity(code: string | undefined, ty: number, bl?: string | number, tx?: string | number): Promise<void>;
|
|
@@ -3037,4 +3142,40 @@ interface HsTokenRenewResponse {
|
|
|
3037
3142
|
|
|
3038
3143
|
declare function hsTokenRenew(code: string): Promise<HsTokenRenewResponse>;
|
|
3039
3144
|
|
|
3040
|
-
|
|
3145
|
+
type EngineOrderBookEntry = {
|
|
3146
|
+
txId: string;
|
|
3147
|
+
timestamp: number;
|
|
3148
|
+
account: string;
|
|
3149
|
+
symbol: string;
|
|
3150
|
+
quantity: string;
|
|
3151
|
+
price: string;
|
|
3152
|
+
tokensLocked?: string;
|
|
3153
|
+
};
|
|
3154
|
+
interface HiveEngineOpenOrder {
|
|
3155
|
+
id: string;
|
|
3156
|
+
type: "buy" | "sell";
|
|
3157
|
+
account: string;
|
|
3158
|
+
symbol: string;
|
|
3159
|
+
quantity: string;
|
|
3160
|
+
price: string;
|
|
3161
|
+
total: string;
|
|
3162
|
+
timestamp: number;
|
|
3163
|
+
}
|
|
3164
|
+
declare function getHiveEngineOrderBook<T = EngineOrderBookEntry>(symbol: string, limit?: number): Promise<{
|
|
3165
|
+
buy: T[];
|
|
3166
|
+
sell: T[];
|
|
3167
|
+
}>;
|
|
3168
|
+
declare function getHiveEngineTradeHistory<T = Record<string, unknown>>(symbol: string, limit?: number): Promise<T[]>;
|
|
3169
|
+
declare function getHiveEngineOpenOrders<T = HiveEngineOpenOrder>(account: string, symbol: string, limit?: number): Promise<T[]>;
|
|
3170
|
+
declare function getHiveEngineMetrics<T = Record<string, unknown>>(symbol?: string, account?: string): Promise<T[]>;
|
|
3171
|
+
declare function getHiveEngineTokensMarket<T = Record<string, unknown>>(account?: string, symbol?: string): Promise<T[]>;
|
|
3172
|
+
declare function getHiveEngineTokensBalances<T = Record<string, unknown>>(username: string): Promise<T[]>;
|
|
3173
|
+
declare function getHiveEngineTokensMetadata<T = Record<string, unknown>>(tokens: string[]): Promise<T[]>;
|
|
3174
|
+
declare function getHiveEngineTokenTransactions<T = Record<string, unknown>>(username: string, symbol: string, limit: number, offset: number): Promise<T[]>;
|
|
3175
|
+
declare function getHiveEngineTokenMetrics<T = Record<string, unknown>>(symbol: string, interval?: string): Promise<T[]>;
|
|
3176
|
+
declare function getHiveEngineUnclaimedRewards<T = Record<string, unknown>>(username: string): Promise<Record<string, T>>;
|
|
3177
|
+
|
|
3178
|
+
declare function getSpkWallet<T = Record<string, unknown>>(username: string): Promise<T>;
|
|
3179
|
+
declare function getSpkMarkets<T = Record<string, unknown>>(): Promise<T>;
|
|
3180
|
+
|
|
3181
|
+
export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, type AccountBookmark, type AccountFavorite, type AccountFollowStats, type AccountNotification, type AccountProfile, type AccountRelationship, type AccountReputation, type AccountSearchResult, type Announcement, type ApiBookmarkNotification, type ApiDelegationsNotification, type ApiFavoriteNotification, type ApiFollowNotification, type ApiInactiveNotification, type ApiMentionNotification, type ApiNotification, type ApiNotificationSetting, type ApiReblogNotification, type ApiReferralNotification, type ApiReplyNotification, type ApiResponse, type ApiSpinNotification, type ApiTransferNotification, type ApiVoteNotification, type Asset, type AuthContext, type AuthorReward, type BlogEntry, type BoostPlusAccountPrice, type BuildProfileMetadataArgs, CONFIG, type CancelTransferFromSavings, type CantAfford, type CheckUsernameWalletsPendingResponse, type ClaimRewardBalance, type CollateralizedConversionRequest, type CollateralizedConvert, type CommentBenefactor, type CommentPayoutUpdate, type CommentReward, type Communities, type Community, type CommunityRole, type CommunityTeam, type CommunityType, ConfigManager, type ConversionRequest, type CurationDuration, type CurationItem, type CurationReward, type CurrencyRates, type DelegateVestingShares, type DelegatedVestingShare, type DeletedEntry, type Draft, type DraftMetadata, type DynamicProps, index as EcencyAnalytics, EcencyQueriesManager, type EffectiveCommentVote, type Entry$1 as Entry, type EntryBeneficiaryRoute, type EntryHeader, type EntryStat, type EntryVote, type FillCollateralizedConvertRequest, type FillConvertRequest, type FillOrder, type FillRecurrentTransfers, type FillVestingWithdraw, type Follow, type Fragment, type FriendSearchResult, type FriendsPageParam, type FriendsRow, type FullAccount, type GameClaim, type GetGameStatus, type GetRecoveriesEmailResponse, type HiveEngineOpenOrder, type HiveHbdStats, HiveSignerIntegration, type HsTokenRenewResponse, type IncomingRcDelegation, type IncomingRcResponse, type Interest, type JsonMetadata, type JsonPollMetadata, type Keys, type LeaderBoardDuration, type LeaderBoardItem, type LimitOrderCancel, type LimitOrderCreate, type MarketCandlestickDataItem, type MarketData, type MarketStatistics, NaiMap, NotificationFilter, NotificationViewType, type Notifications, NotifyTypes, type OpenOrdersData, type OperationGroup, type OrdersData, type OrdersDataItem, type PageStatsResponse, type Payer, type PointTransaction, type Points, type PostTip, type PostTipsResponse, type ProducerReward, type Profile, type ProfileTokens, type PromotePrice, type Proposal, type ProposalPay, type ProposalVote, type ProposalVoteRow, ROLES, type RcDirectDelegation, type RcDirectDelegationsResponse, type RcStats, type Reblog, type ReceivedVestingShare, type Recoveries, type RecurrentTransfers, type ReferralItem, type ReferralItems, type ReferralStat, type ReturnVestingDelegation, type RewardedCommunity, type SavingsWithdrawRequest, type Schedule, type SearchResponse, type SearchResult, type SetWithdrawRoute, SortOrder, type StatsResponse, type Subscription, Symbol, type TagSearchResult, type ThreadItemEntry, ThreeSpeakIntegration, type ThreeSpeakVideo, type Transaction, type Transfer, type TransferToSavings, type TransferToVesting, type TrendingTag, type UpdateProposalVotes, type UserImage, type ValidatePostCreatingOptions, type Vote, type VoteHistoryPage, type VoteHistoryPageParam, type VoteProxy, type WalletMetadataCandidate, type WaveEntry, type WaveTrendingTag, type WithdrawRoute, type WithdrawVesting, type Witness, type WsBookmarkNotification, type WsDelegationsNotification, type WsFavoriteNotification, type WsFollowNotification, type WsInactiveNotification, type WsMentionNotification, type WsNotification, type WsReblogNotification, type WsReferralNotification, type WsReplyNotification, type WsSpinNotification, type WsTransferNotification, type WsVoteNotification, addDraft, addImage, addSchedule, bridgeApiCall, broadcastJson, buildProfileMetadata, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, deleteDraft, deleteImage, deleteSchedule, downVotingPower, encodeObj, extractAccountProfile, getAccountFullQueryOptions, getAccountNotificationsInfiniteQueryOptions, getAccountPendingRecoveryQueryOptions, getAccountPosts, getAccountPostsInfiniteQueryOptions, getAccountPostsQueryOptions, getAccountRcQueryOptions, getAccountRecoveriesQueryOptions, getAccountReputationsQueryOptions, getAccountSubscriptionsQueryOptions, getAccountVoteHistoryInfiniteQueryOptions, getAccountsQueryOptions, getActiveAccountBookmarksQueryOptions, getActiveAccountFavouritesQueryOptions, getAnnouncementsQueryOptions, getBoostPlusAccountPricesQueryOptions, getBoostPlusPricesQueryOptions, getBotsQueryOptions, getBoundFetch, getChainPropertiesQueryOptions, getCollateralizedConversionRequestsQueryOptions, getCommentHistoryQueryOptions, getCommunities, getCommunitiesQueryOptions, getCommunity, getCommunityContextQueryOptions, getCommunityPermissions, getCommunityQueryOptions, getCommunitySubscribersQueryOptions, getCommunityType, getContentQueryOptions, getContentRepliesQueryOptions, getControversialRisingInfiniteQueryOptions, getConversionRequestsQueryOptions, getCurrencyRate, getCurrencyRates, getCurrencyTokenRate, getDeletedEntryQueryOptions, getDiscoverCurationQueryOptions, getDiscoverLeaderboardQueryOptions, getDiscussion, getDiscussionQueryOptions, getDiscussionsQueryOptions, getDraftsQueryOptions, getDynamicPropsQueryOptions, getEntryActiveVotesQueryOptions, getFollowCountQueryOptions, getFollowingQueryOptions, getFragmentsQueryOptions, getFriendsInfiniteQueryOptions, getGalleryImagesQueryOptions, getGameStatusCheckQueryOptions, getHiveEngineMetrics, getHiveEngineOpenOrders, getHiveEngineOrderBook, getHiveEngineTokenMetrics, getHiveEngineTokenTransactions, getHiveEngineTokensBalances, getHiveEngineTokensMarket, getHiveEngineTokensMetadata, getHiveEngineTradeHistory, getHiveEngineUnclaimedRewards, getHiveHbdStatsQueryOptions, getHivePoshLinksQueryOptions, getHivePrice, getImagesQueryOptions, getIncomingRcQueryOptions, getMarketData, getMarketDataQueryOptions, getMarketHistoryQueryOptions, getMarketStatisticsQueryOptions, getMutedUsersQueryOptions, getNormalizePostQueryOptions, getNotificationSetting, getNotifications, getNotificationsInfiniteQueryOptions, getNotificationsSettingsQueryOptions, getNotificationsUnreadCountQueryOptions, getOpenOrdersQueryOptions, getOrderBookQueryOptions, getOutgoingRcDelegationsInfiniteQueryOptions, getPageStatsQueryOptions, getPointsQueryOptions, getPost, getPostHeader, getPostHeaderQueryOptions, getPostQueryOptions, getPostTipsQueryOptions, getPostsRanked, getPostsRankedInfiniteQueryOptions, getPostsRankedQueryOptions, getProfiles, getProfilesQueryOptions, getPromotePriceQueryOptions, getPromotedPost, getPromotedPostsQuery, getProposalQueryOptions, getProposalVotesInfiniteQueryOptions, getProposalsQueryOptions, getQueryClient, getRcStatsQueryOptions, getReblogsQueryOptions, getReceivedVestingSharesQueryOptions, getReferralsInfiniteQueryOptions, getReferralsStatsQueryOptions, getRelationshipBetweenAccounts, getRelationshipBetweenAccountsQueryOptions, getRewardedCommunitiesQueryOptions, getSavingsWithdrawFromQueryOptions, getSchedulesQueryOptions, getSearchAccountQueryOptions, getSearchAccountsByUsernameQueryOptions, getSearchApiInfiniteQueryOptions, getSearchFriendsQueryOptions, getSearchPathQueryOptions, getSearchTopicsQueryOptions, getSimilarEntriesQueryOptions, getSpkMarkets, getSpkWallet, getStatsQueryOptions, getSubscribers, getSubscriptions, getTradeHistoryQueryOptions, getTransactionsInfiniteQueryOptions, getTrendingTagsQueryOptions, getTrendingTagsWithStatsQueryOptions, getUserProposalVotesQueryOptions, getVestingDelegationsQueryOptions, getVisibleFirstLevelThreadItems, getWavesByHostQueryOptions, getWavesByTagQueryOptions, getWavesFollowingQueryOptions, getWavesTrendingTagsQueryOptions, getWithdrawRoutesQueryOptions, getWitnessesInfiniteQueryOptions, hsTokenRenew, isCommunity, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, markNotifications, moveSchedule, normalizePost, normalizeWaveEntryFromApi, onboardEmail, parseAccounts, parseAsset, parseProfileMetadata, powerRechargeTime, rcPower, resolvePost, roleMap, saveNotificationSetting, search, searchAccount, searchPath, searchQueryOptions, searchTag, signUp, sortDiscussions, subscribeEmail, toEntryArray, updateDraft, uploadImage, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddFragment, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useEditFragment, useGameClaim, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain, usrActivity, validatePostCreating, votingPower, votingValue };
|