@qntx/wallet-engine 0.12.0 → 0.14.0

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.
Files changed (81) hide show
  1. package/README.md +1057 -20
  2. package/dist/apps-fiat24.d.mts +202 -0
  3. package/dist/apps-fiat24.mjs +1378 -0
  4. package/dist/apps-fiat24.mjs.map +1 -0
  5. package/dist/apps-hyperliquid.d.mts +549 -0
  6. package/dist/apps-hyperliquid.mjs +2742 -0
  7. package/dist/apps-hyperliquid.mjs.map +1 -0
  8. package/dist/apps-polymarket.d.mts +729 -0
  9. package/dist/apps-polymarket.mjs +3786 -0
  10. package/dist/apps-polymarket.mjs.map +1 -0
  11. package/dist/apps.d.mts +136 -0
  12. package/dist/apps.mjs +535 -0
  13. package/dist/apps.mjs.map +1 -0
  14. package/dist/connect-BY1C5ZRI.mjs +210 -0
  15. package/dist/connect-BY1C5ZRI.mjs.map +1 -0
  16. package/dist/connect.d.mts +17 -9
  17. package/dist/connect.mjs +3 -185
  18. package/dist/controller-DpNVHVsj.d.mts +2295 -0
  19. package/dist/controller-rMnaxKAH.mjs +46 -0
  20. package/dist/controller-rMnaxKAH.mjs.map +1 -0
  21. package/dist/decimal-COJ4g8qy.mjs +38 -0
  22. package/dist/decimal-COJ4g8qy.mjs.map +1 -0
  23. package/dist/eligibility-BfM9ybYZ.mjs +48 -0
  24. package/dist/eligibility-BfM9ybYZ.mjs.map +1 -0
  25. package/dist/engine-Dic_kkEr.d.mts +1829 -0
  26. package/dist/errors-B8W-hoYW.d.mts +7 -0
  27. package/dist/errors-horUy5k1.mjs +24 -0
  28. package/dist/errors-horUy5k1.mjs.map +1 -0
  29. package/dist/gateway-contract.d.mts +3 -362
  30. package/dist/gateway-contract.mjs +1531 -81
  31. package/dist/gateway-contract.mjs.map +1 -1
  32. package/dist/idb.d.mts +5 -0
  33. package/dist/idb.mjs +122 -46
  34. package/dist/idb.mjs.map +1 -1
  35. package/dist/index-vBgfOFIh.d.mts +2227 -0
  36. package/dist/index.d.mts +58 -515
  37. package/dist/index.mjs +22314 -4901
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/json-BDwV38cj.mjs +15 -0
  40. package/dist/json-BDwV38cj.mjs.map +1 -0
  41. package/dist/link-Ceq8Dggp.mjs +139 -0
  42. package/dist/link-Ceq8Dggp.mjs.map +1 -0
  43. package/dist/primitives-DbSHLZKq.mjs +31 -0
  44. package/dist/primitives-DbSHLZKq.mjs.map +1 -0
  45. package/dist/push-message-AQuzoNFY.d.mts +84 -0
  46. package/dist/push-message-kbnH1A5w.mjs +142 -0
  47. package/dist/push-message-kbnH1A5w.mjs.map +1 -0
  48. package/dist/push.d.mts +13 -0
  49. package/dist/push.mjs +70 -0
  50. package/dist/push.mjs.map +1 -0
  51. package/dist/qr.d.mts +292 -0
  52. package/dist/qr.mjs +1725 -0
  53. package/dist/qr.mjs.map +1 -0
  54. package/dist/registry-CbtwcxkX.mjs +374 -0
  55. package/dist/registry-CbtwcxkX.mjs.map +1 -0
  56. package/dist/risk-DyABgg4W.mjs +757 -0
  57. package/dist/risk-DyABgg4W.mjs.map +1 -0
  58. package/dist/session-CNJFLarP.mjs +18 -0
  59. package/dist/session-CNJFLarP.mjs.map +1 -0
  60. package/dist/socket-ChG9JRT_.mjs +110 -0
  61. package/dist/socket-ChG9JRT_.mjs.map +1 -0
  62. package/dist/spi-BrTw5s98.d.mts +3 -0
  63. package/dist/timer-Cdk5rGM2.mjs +43 -0
  64. package/dist/timer-Cdk5rGM2.mjs.map +1 -0
  65. package/dist/types-BpvioFGo.d.mts +258 -0
  66. package/dist/types-DbftVZ3I.mjs +90 -0
  67. package/dist/types-DbftVZ3I.mjs.map +1 -0
  68. package/dist/walletconnect.d.mts +86 -0
  69. package/dist/walletconnect.mjs +1507 -0
  70. package/dist/walletconnect.mjs.map +1 -0
  71. package/dist/webln-BgrtPXpG.mjs +2593 -0
  72. package/dist/webln-BgrtPXpG.mjs.map +1 -0
  73. package/dist/webln-Bllk_xJ2.d.mts +666 -0
  74. package/package.json +94 -19
  75. package/dist/connect.mjs.map +0 -1
  76. package/dist/errors-DpkJneDe.d.mts +0 -1696
  77. package/dist/registry-Deo5WQe1.d.mts +0 -25
  78. package/dist/registry-wYrcuFNc.mjs +0 -99
  79. package/dist/registry-wYrcuFNc.mjs.map +0 -1
  80. package/dist/webln-DzsI7jVb.mjs +0 -3629
  81. package/dist/webln-DzsI7jVb.mjs.map +0 -1
@@ -0,0 +1,7 @@
1
+ /** EIP-1193 / EIP-1474 / EIP-3326 error: `code` is what the page's promise rejects with. */
2
+ declare class ProviderError extends Error {
3
+ readonly code: number;
4
+ constructor(code: number, message: string);
5
+ }
6
+ export { ProviderError as t };
7
+ //# sourceMappingURL=errors-B8W-hoYW.d.mts.map
@@ -0,0 +1,24 @@
1
+ import { ChainError } from "@qntx/wallet-chains";
2
+ // src/errors.ts
3
+ /** Typed engine errors: store codes are `closed` and `invalid-input`. */
4
+ var EngineStoreError = class extends Error {
5
+ code;
6
+ constructor(code, message) {
7
+ super(message);
8
+ this.name = "EngineStoreError";
9
+ this.code = code;
10
+ }
11
+ };
12
+ const errorMessage = (error) => error instanceof Error ? error.message : String(error);
13
+ /** An NFT send refusal: `code` stays `invalid-request`, `reason` names which guard fired. */
14
+ var NftTransferError = class extends ChainError {
15
+ reason;
16
+ constructor(reason, message) {
17
+ super("invalid-request", message);
18
+ this.name = "NftTransferError";
19
+ this.reason = reason;
20
+ }
21
+ };
22
+ export { NftTransferError as n, errorMessage as r, EngineStoreError as t };
23
+
24
+ //# sourceMappingURL=errors-horUy5k1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors-horUy5k1.mjs","names":[],"sources":["../src/errors.ts"],"sourcesContent":["import { ChainError } from \"@qntx/wallet-chains\";\n\nexport type EngineErrorCode = \"closed\" | \"invalid-input\";\n\n/** Typed engine errors: store codes are `closed` and `invalid-input`. */\nexport class EngineStoreError extends Error {\n readonly code: EngineErrorCode;\n\n constructor(code: EngineErrorCode, message: string) {\n super(message);\n this.name = \"EngineStoreError\";\n this.code = code;\n }\n}\n\nexport const errorMessage = (error: unknown): string =>\n error instanceof Error ? error.message : String(error);\n\n/** Why an NFT transfer preparation refused, surfaced for callers that branch on it. */\nexport type NftRefusal =\n | \"not-nft\"\n | \"not-owned\"\n | \"insufficient-balance\"\n | \"programmable\"\n | \"frozen\"\n | \"not-found\";\n\n/** An NFT send refusal: `code` stays `invalid-request`, `reason` names which guard fired. */\nexport class NftTransferError extends ChainError {\n readonly reason: NftRefusal;\n\n constructor(reason: NftRefusal, message: string) {\n super(\"invalid-request\", message);\n this.name = \"NftTransferError\";\n this.reason = reason;\n }\n}\n"],"mappings":";;;AAKA,IAAa,mBAAb,cAAsC,MAAM;CAC1C;CAEA,YAAY,MAAuB,SAAiB;EAClD,MAAM,OAAO;EACb,KAAK,OAAO;EACZ,KAAK,OAAO;CACd;AACF;AAEA,MAAa,gBAAgB,UAC3B,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;;AAYvD,IAAa,mBAAb,cAAsC,WAAW;CAC/C;CAEA,YAAY,QAAoB,SAAiB;EAC/C,MAAM,mBAAmB,OAAO;EAChC,KAAK,OAAO;EACZ,KAAK,SAAS;CAChB;AACF"}
@@ -1,362 +1,3 @@
1
- import { a as networkById, i as SOLANA_NETWORKS, n as NETWORKS, r as NetworkInfo, t as BITCOIN_NETWORKS } from "./registry-Deo5WQe1.mjs";
2
- import * as z from "zod/mini";
3
- export declare const INSTALL_ID_HEADER = "x-install-id";
4
- export declare const PROVIDERS_HEADER = "x-gateway-providers";
5
- /** 128 random bits as lowercase hex — generated once per install, unrelated to wallet secrets. */
6
- export declare const installId: z.ZodMiniString<string>;
7
- /** CAIP-2 chain id: `namespace:reference`. */
8
- export declare const caip2: z.ZodMiniString<string>;
9
- export type Caip2 = z.infer<typeof caip2>;
10
- export type InstallId = z.infer<typeof installId>;
11
- export declare const GATEWAY_ERRORS: readonly ["invalid-request", "unknown-network", "not-found", "rate-limited", "unavailable", "internal"];
12
- export declare const gatewayError: z.ZodMiniObject<{
13
- error: z.ZodMiniEnum<{
14
- internal: "internal";
15
- "invalid-request": "invalid-request";
16
- "not-found": "not-found";
17
- "rate-limited": "rate-limited";
18
- unavailable: "unavailable";
19
- "unknown-network": "unknown-network";
20
- }>;
21
- }, z.core.$strip>;
22
- export type GatewayErrorCode = (typeof GATEWAY_ERRORS)[number];
23
- export type HttpMethod = "GET" | "POST" | "DELETE";
24
- export type Endpoint<Req extends z.ZodMiniType, Res extends z.ZodMiniType> = {
25
- readonly method: HttpMethod;
26
- readonly path: string;
27
- readonly request: Req;
28
- readonly response: Res;
29
- };
30
- /** One gateway route: its verb, versioned path template, and request/response schemas. */
31
- export declare function endpoint<Req extends z.ZodMiniType, Res extends z.ZodMiniType>(method: HttpMethod, path: `/v1/${string}`, request: Req, response: Res): Endpoint<Req, Res>;
32
- /** `value` typed by `schema`, or `undefined` when it does not satisfy it. */
33
- export declare function parseWith<S extends z.ZodMiniType>(schema: S, value: unknown): z.output<S> | undefined;
34
- /** Whether `value` satisfies `schema` — lets consumers validate without importing zod. */
35
- export declare function accepts(schema: z.ZodMiniType, value: unknown): boolean;
36
- export declare const healthRequest: z.ZodMiniUndefined;
37
- export declare const healthResponse: z.ZodMiniObject<{
38
- status: z.ZodMiniLiteral<"ok">;
39
- }, z.core.$strip>;
40
- export declare const health: Endpoint<z.ZodMiniUndefined, z.ZodMiniObject<{
41
- status: z.ZodMiniLiteral<"ok">;
42
- }, z.core.$strip>>;
43
- /** One JSON-RPC call plus nothing else: batches may carry at most this many entries. */
44
- export declare const RPC_BATCH_MAX = 20;
45
- /** Read-only EVM methods plus `eth_sendRawTransaction`. Anything not listed is rejected. */
46
- export declare const EVM_RPC_METHODS: readonly ["eth_blobBaseFee", "eth_blockNumber", "eth_call", "eth_chainId", "eth_createAccessList", "eth_estimateGas", "eth_feeHistory", "eth_gasPrice", "eth_getBalance", "eth_getBlockByHash", "eth_getBlockByNumber", "eth_getBlockReceipts", "eth_getBlockTransactionCountByHash", "eth_getBlockTransactionCountByNumber", "eth_getCode", "eth_getProof", "eth_getStorageAt", "eth_getTransactionByBlockHashAndIndex", "eth_getTransactionByBlockNumberAndIndex", "eth_getTransactionByHash", "eth_getTransactionCount", "eth_getTransactionReceipt", "eth_maxPriorityFeePerGas", "eth_sendRawTransaction", "eth_simulateV1", "net_version", "web3_clientVersion"];
47
- /** Read-only Solana methods plus `sendTransaction`. Anything not listed is rejected. */
48
- export declare const SOLANA_RPC_METHODS: readonly ["getAccountInfo", "getBalance", "getBlock", "getBlockHeight", "getBlockTime", "getEpochInfo", "getFeeForMessage", "getGenesisHash", "getLatestBlockhash", "getMinimumBalanceForRentExemption", "getMultipleAccounts", "getRecentPrioritizationFees", "getSignatureStatuses", "getSignaturesForAddress", "getSlot", "getTokenAccountBalance", "getTokenAccountsByOwner", "getTokenSupply", "getTransaction", "getVersion", "isBlockhashValid", "sendTransaction", "simulateTransaction"];
49
- export type EvmRpcMethod = (typeof EVM_RPC_METHODS)[number];
50
- export type SolanaRpcMethod = (typeof SOLANA_RPC_METHODS)[number];
51
- export declare const jsonRpcId: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
52
- /** Method-agnostic wire shape of a call or batch (the gateway narrows by family). */
53
- export declare const rpcRequest: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
54
- jsonrpc: z.ZodMiniLiteral<"2.0">;
55
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
56
- method: z.ZodMiniString<string>;
57
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
58
- }, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
59
- jsonrpc: z.ZodMiniLiteral<"2.0">;
60
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
61
- method: z.ZodMiniString<string>;
62
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
63
- }, z.core.$strip>>]>;
64
- export declare const evmRpcRequest: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
65
- jsonrpc: z.ZodMiniLiteral<"2.0">;
66
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
67
- method: z.ZodMiniEnum<{
68
- eth_blobBaseFee: "eth_blobBaseFee";
69
- eth_blockNumber: "eth_blockNumber";
70
- eth_call: "eth_call";
71
- eth_chainId: "eth_chainId";
72
- eth_createAccessList: "eth_createAccessList";
73
- eth_estimateGas: "eth_estimateGas";
74
- eth_feeHistory: "eth_feeHistory";
75
- eth_gasPrice: "eth_gasPrice";
76
- eth_getBalance: "eth_getBalance";
77
- eth_getBlockByHash: "eth_getBlockByHash";
78
- eth_getBlockByNumber: "eth_getBlockByNumber";
79
- eth_getBlockReceipts: "eth_getBlockReceipts";
80
- eth_getBlockTransactionCountByHash: "eth_getBlockTransactionCountByHash";
81
- eth_getBlockTransactionCountByNumber: "eth_getBlockTransactionCountByNumber";
82
- eth_getCode: "eth_getCode";
83
- eth_getProof: "eth_getProof";
84
- eth_getStorageAt: "eth_getStorageAt";
85
- eth_getTransactionByBlockHashAndIndex: "eth_getTransactionByBlockHashAndIndex";
86
- eth_getTransactionByBlockNumberAndIndex: "eth_getTransactionByBlockNumberAndIndex";
87
- eth_getTransactionByHash: "eth_getTransactionByHash";
88
- eth_getTransactionCount: "eth_getTransactionCount";
89
- eth_getTransactionReceipt: "eth_getTransactionReceipt";
90
- eth_maxPriorityFeePerGas: "eth_maxPriorityFeePerGas";
91
- eth_sendRawTransaction: "eth_sendRawTransaction";
92
- eth_simulateV1: "eth_simulateV1";
93
- net_version: "net_version";
94
- web3_clientVersion: "web3_clientVersion";
95
- }>;
96
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
97
- }, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
98
- jsonrpc: z.ZodMiniLiteral<"2.0">;
99
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
100
- method: z.ZodMiniEnum<{
101
- eth_blobBaseFee: "eth_blobBaseFee";
102
- eth_blockNumber: "eth_blockNumber";
103
- eth_call: "eth_call";
104
- eth_chainId: "eth_chainId";
105
- eth_createAccessList: "eth_createAccessList";
106
- eth_estimateGas: "eth_estimateGas";
107
- eth_feeHistory: "eth_feeHistory";
108
- eth_gasPrice: "eth_gasPrice";
109
- eth_getBalance: "eth_getBalance";
110
- eth_getBlockByHash: "eth_getBlockByHash";
111
- eth_getBlockByNumber: "eth_getBlockByNumber";
112
- eth_getBlockReceipts: "eth_getBlockReceipts";
113
- eth_getBlockTransactionCountByHash: "eth_getBlockTransactionCountByHash";
114
- eth_getBlockTransactionCountByNumber: "eth_getBlockTransactionCountByNumber";
115
- eth_getCode: "eth_getCode";
116
- eth_getProof: "eth_getProof";
117
- eth_getStorageAt: "eth_getStorageAt";
118
- eth_getTransactionByBlockHashAndIndex: "eth_getTransactionByBlockHashAndIndex";
119
- eth_getTransactionByBlockNumberAndIndex: "eth_getTransactionByBlockNumberAndIndex";
120
- eth_getTransactionByHash: "eth_getTransactionByHash";
121
- eth_getTransactionCount: "eth_getTransactionCount";
122
- eth_getTransactionReceipt: "eth_getTransactionReceipt";
123
- eth_maxPriorityFeePerGas: "eth_maxPriorityFeePerGas";
124
- eth_sendRawTransaction: "eth_sendRawTransaction";
125
- eth_simulateV1: "eth_simulateV1";
126
- net_version: "net_version";
127
- web3_clientVersion: "web3_clientVersion";
128
- }>;
129
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
130
- }, z.core.$strip>>]>;
131
- export declare const solanaRpcRequest: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
132
- jsonrpc: z.ZodMiniLiteral<"2.0">;
133
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
134
- method: z.ZodMiniEnum<{
135
- getAccountInfo: "getAccountInfo";
136
- getBalance: "getBalance";
137
- getBlock: "getBlock";
138
- getBlockHeight: "getBlockHeight";
139
- getBlockTime: "getBlockTime";
140
- getEpochInfo: "getEpochInfo";
141
- getFeeForMessage: "getFeeForMessage";
142
- getGenesisHash: "getGenesisHash";
143
- getLatestBlockhash: "getLatestBlockhash";
144
- getMinimumBalanceForRentExemption: "getMinimumBalanceForRentExemption";
145
- getMultipleAccounts: "getMultipleAccounts";
146
- getRecentPrioritizationFees: "getRecentPrioritizationFees";
147
- getSignatureStatuses: "getSignatureStatuses";
148
- getSignaturesForAddress: "getSignaturesForAddress";
149
- getSlot: "getSlot";
150
- getTokenAccountBalance: "getTokenAccountBalance";
151
- getTokenAccountsByOwner: "getTokenAccountsByOwner";
152
- getTokenSupply: "getTokenSupply";
153
- getTransaction: "getTransaction";
154
- getVersion: "getVersion";
155
- isBlockhashValid: "isBlockhashValid";
156
- sendTransaction: "sendTransaction";
157
- simulateTransaction: "simulateTransaction";
158
- }>;
159
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
160
- }, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
161
- jsonrpc: z.ZodMiniLiteral<"2.0">;
162
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
163
- method: z.ZodMiniEnum<{
164
- getAccountInfo: "getAccountInfo";
165
- getBalance: "getBalance";
166
- getBlock: "getBlock";
167
- getBlockHeight: "getBlockHeight";
168
- getBlockTime: "getBlockTime";
169
- getEpochInfo: "getEpochInfo";
170
- getFeeForMessage: "getFeeForMessage";
171
- getGenesisHash: "getGenesisHash";
172
- getLatestBlockhash: "getLatestBlockhash";
173
- getMinimumBalanceForRentExemption: "getMinimumBalanceForRentExemption";
174
- getMultipleAccounts: "getMultipleAccounts";
175
- getRecentPrioritizationFees: "getRecentPrioritizationFees";
176
- getSignatureStatuses: "getSignatureStatuses";
177
- getSignaturesForAddress: "getSignaturesForAddress";
178
- getSlot: "getSlot";
179
- getTokenAccountBalance: "getTokenAccountBalance";
180
- getTokenAccountsByOwner: "getTokenAccountsByOwner";
181
- getTokenSupply: "getTokenSupply";
182
- getTransaction: "getTransaction";
183
- getVersion: "getVersion";
184
- isBlockhashValid: "isBlockhashValid";
185
- sendTransaction: "sendTransaction";
186
- simulateTransaction: "simulateTransaction";
187
- }>;
188
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
189
- }, z.core.$strip>>]>;
190
- export declare const jsonRpcResponse: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
191
- jsonrpc: z.ZodMiniLiteral<"2.0">;
192
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
193
- result: z.ZodMiniUnknown;
194
- }, z.core.$strip>, z.ZodMiniObject<{
195
- jsonrpc: z.ZodMiniLiteral<"2.0">;
196
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
197
- error: z.ZodMiniObject<{
198
- code: z.ZodMiniInt;
199
- message: z.ZodMiniString<string>;
200
- data: z.ZodMiniOptional<z.ZodMiniUnknown>;
201
- }, z.core.$strip>;
202
- }, z.core.$strip>]>;
203
- export declare const rpcResponse: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
204
- jsonrpc: z.ZodMiniLiteral<"2.0">;
205
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
206
- result: z.ZodMiniUnknown;
207
- }, z.core.$strip>, z.ZodMiniObject<{
208
- jsonrpc: z.ZodMiniLiteral<"2.0">;
209
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
210
- error: z.ZodMiniObject<{
211
- code: z.ZodMiniInt;
212
- message: z.ZodMiniString<string>;
213
- data: z.ZodMiniOptional<z.ZodMiniUnknown>;
214
- }, z.core.$strip>;
215
- }, z.core.$strip>]>, z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
216
- jsonrpc: z.ZodMiniLiteral<"2.0">;
217
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
218
- result: z.ZodMiniUnknown;
219
- }, z.core.$strip>, z.ZodMiniObject<{
220
- jsonrpc: z.ZodMiniLiteral<"2.0">;
221
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
222
- error: z.ZodMiniObject<{
223
- code: z.ZodMiniInt;
224
- message: z.ZodMiniString<string>;
225
- data: z.ZodMiniOptional<z.ZodMiniUnknown>;
226
- }, z.core.$strip>;
227
- }, z.core.$strip>]>>]>;
228
- export declare const rpc: Endpoint<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
229
- jsonrpc: z.ZodMiniLiteral<"2.0">;
230
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
231
- method: z.ZodMiniString<string>;
232
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
233
- }, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
234
- jsonrpc: z.ZodMiniLiteral<"2.0">;
235
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
236
- method: z.ZodMiniString<string>;
237
- params: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniUnknown>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>]>>;
238
- }, z.core.$strip>>]>, z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
239
- jsonrpc: z.ZodMiniLiteral<"2.0">;
240
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
241
- result: z.ZodMiniUnknown;
242
- }, z.core.$strip>, z.ZodMiniObject<{
243
- jsonrpc: z.ZodMiniLiteral<"2.0">;
244
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
245
- error: z.ZodMiniObject<{
246
- code: z.ZodMiniInt;
247
- message: z.ZodMiniString<string>;
248
- data: z.ZodMiniOptional<z.ZodMiniUnknown>;
249
- }, z.core.$strip>;
250
- }, z.core.$strip>]>, z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
251
- jsonrpc: z.ZodMiniLiteral<"2.0">;
252
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
253
- result: z.ZodMiniUnknown;
254
- }, z.core.$strip>, z.ZodMiniObject<{
255
- jsonrpc: z.ZodMiniLiteral<"2.0">;
256
- id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>, z.ZodMiniNull]>;
257
- error: z.ZodMiniObject<{
258
- code: z.ZodMiniInt;
259
- message: z.ZodMiniString<string>;
260
- data: z.ZodMiniOptional<z.ZodMiniUnknown>;
261
- }, z.core.$strip>;
262
- }, z.core.$strip>]>>]>>;
263
- /** The JSON-RPC URL path for one network. */
264
- export declare const rpcPath: (caip2: string) => string;
265
- type EsploraRoute = {
266
- readonly method: "GET" | "POST";
267
- readonly pattern: RegExp;
268
- };
269
- /** The Esplora surface the engine uses; every other path is rejected. */
270
- export declare const ESPLORA_ROUTES: ReadonlyArray<EsploraRoute>;
271
- /** `path` is the Esplora path after `/v1/esplora/:caip2`, with a leading slash and no query. */
272
- export declare const esploraPathAllowed: (method: string, path: string) => boolean;
273
- export declare const esploraGet: Endpoint<z.ZodMiniUndefined, z.ZodMiniUnknown>;
274
- /** The Esplora base path for one network; allow-listed paths are appended to it. */
275
- export declare const esploraBasePath: (caip2: string) => string;
276
- export declare const esploraPost: Endpoint<z.ZodMiniString<string>, z.ZodMiniString<string>>;
277
- export declare const servedNetworksRequest: z.ZodMiniUndefined;
278
- /** The networks the gateway actually serves, in its configured order. */
279
- export declare const servedNetworksResponse: z.ZodMiniObject<{
280
- networks: z.ZodMiniArray<z.ZodMiniString<string>>;
281
- }, z.core.$strip>;
282
- export declare const servedNetworks: Endpoint<z.ZodMiniUndefined, z.ZodMiniObject<{
283
- networks: z.ZodMiniArray<z.ZodMiniString<string>>;
284
- }, z.core.$strip>>;
285
- export declare const networksPath: string;
286
- export declare const PHISHING_HASH_BYTES = 8;
287
- export declare const PHISHING_MAX_PATH_SEGMENTS = 8;
288
- /** One list entry as its lookup key, or `undefined` when the entry is not a usable host or path. */
289
- export declare function phishingKey(entry: string): string | undefined;
290
- /** The first 8 bytes of SHA-256 over the UTF-8 key. */
291
- export declare function phishingHash(key: string): Uint8Array;
292
- /** Lookup keys for a page URL, most specific first; empty for anything but http(s). */
293
- export declare function phishingCandidates(url: string): ReadonlyArray<string>;
294
- export declare const phishingListRequest: z.ZodMiniObject<{
295
- since: z.ZodMiniOptional<z.ZodMiniString<string>>;
296
- }, z.core.$strip>;
297
- export declare const phishingListResponse: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
298
- kind: z.ZodMiniLiteral<"current">;
299
- version: z.ZodMiniNumber<number>;
300
- }, z.core.$strip>, z.ZodMiniObject<{
301
- kind: z.ZodMiniLiteral<"diff">;
302
- from: z.ZodMiniNumber<number>;
303
- version: z.ZodMiniNumber<number>;
304
- deny: z.ZodMiniObject<{
305
- add: z.ZodMiniString<string>;
306
- remove: z.ZodMiniString<string>;
307
- }, z.core.$strip>;
308
- allow: z.ZodMiniObject<{
309
- add: z.ZodMiniString<string>;
310
- remove: z.ZodMiniString<string>;
311
- }, z.core.$strip>;
312
- }, z.core.$strip>, z.ZodMiniObject<{
313
- kind: z.ZodMiniLiteral<"snapshot">;
314
- version: z.ZodMiniNumber<number>;
315
- deny: z.ZodMiniString<string>;
316
- allow: z.ZodMiniString<string>;
317
- }, z.core.$strip>], "kind">;
318
- export type PhishingListResponse = z.infer<typeof phishingListResponse>;
319
- export declare const phishingList: Endpoint<z.ZodMiniObject<{
320
- since: z.ZodMiniOptional<z.ZodMiniString<string>>;
321
- }, z.core.$strip>, z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
322
- kind: z.ZodMiniLiteral<"current">;
323
- version: z.ZodMiniNumber<number>;
324
- }, z.core.$strip>, z.ZodMiniObject<{
325
- kind: z.ZodMiniLiteral<"diff">;
326
- from: z.ZodMiniNumber<number>;
327
- version: z.ZodMiniNumber<number>;
328
- deny: z.ZodMiniObject<{
329
- add: z.ZodMiniString<string>;
330
- remove: z.ZodMiniString<string>;
331
- }, z.core.$strip>;
332
- allow: z.ZodMiniObject<{
333
- add: z.ZodMiniString<string>;
334
- remove: z.ZodMiniString<string>;
335
- }, z.core.$strip>;
336
- }, z.core.$strip>, z.ZodMiniObject<{
337
- kind: z.ZodMiniLiteral<"snapshot">;
338
- version: z.ZodMiniNumber<number>;
339
- deny: z.ZodMiniString<string>;
340
- allow: z.ZodMiniString<string>;
341
- }, z.core.$strip>], "kind">>;
342
- export declare const phishingListPath: string;
343
- /** Strictly ascending 8-byte hashes, concatenated: a sorted set. */
344
- export type HashList = Uint8Array;
345
- declare const size: (list: HashList) => number;
346
- export declare const hashCount: typeof size;
347
- /**
348
- * A base64 hash list, or `undefined` when it is not whole 8-byte hashes in strictly ascending
349
- * order.
350
- */
351
- export declare function decodeHashList(encoded: string): HashList | undefined;
352
- /** The sorted set of `hashes`, duplicates removed. */
353
- export declare function hashList(hashes: Iterable<Uint8Array>): HashList;
354
- export declare const encodeHashList: (list: HashList) => string;
355
- export declare function contains(list: HashList, hash: Uint8Array): boolean;
356
- export declare const union: (a: HashList, b: HashList) => HashList;
357
- /** The hashes of `a` that are not in `b`. */
358
- export declare const difference: (a: HashList, b: HashList) => HashList;
359
- /** `(list − remove) ∪ add`. */
360
- export declare const applyDiff: (list: HashList, add: HashList, remove: HashList) => HashList;
361
- export { BITCOIN_NETWORKS, NETWORKS, type NetworkInfo, SOLANA_NETWORKS, networkById };
362
- //# sourceMappingURL=gateway-contract.d.mts.map
1
+ import { $ as nftCollectionResponse, $i as GatewayErrorCode, $n as phishingList, $r as tronAccountResponse, $t as priceFamily, A as NFT_STANDARDS, Ai as RPC_PROOF_KEYS_MAX, An as bridgeQuoteResponse, Ar as TronBroadcast, At as TokenListResponse, B as NftItemRequest, Bi as logsFilterViolation, Bn as contains, Br as TronLog, Bt as MAX_PRICE_ASSETS, C as pushWatch, Ci as FEE_HISTORY_BLOCKS_MAX, Cn as SwapQuoteRequest, Cr as TRON_INDEXER_LIMIT_MAX, Ct as approvals, D as NFT_DESCRIPTION_MAX, Di as LOGS_TOPIC_ALTERNATIVES_MAX, Dn as ZEROX_NATIVE_TOKEN, Dr as TronAccountResource, Dt as TOKEN_LIST_MAX_ENTRIES, E as NFT_DATA_URI_MAX, Ei as LOGS_BLOCK_RANGE_MAX, En as SwapQuoteSolanaResponse, Er as TronAccount, Et as approvalsResponse, F as NftCollectionRequest, Fi as containsBroadcast, Fn as swapQuoteSolana, Fr as TronIndexerAccount, Ft as tokenListResponse, G as nftAddressFits, Gi as solanaRpcRequest, Gn as hashList, Gr as TronNodePath, Gt as PricesRequest, H as NftMediaRef, Hi as rpcPath, Hn as difference, Hr as TronMaybeBlock, Ht as PRICE_FAMILIES, I as NftDetail, Ii as evmRpcRequest, In as swapQuoteSolanaRequest, Ir as TronIndexerPage, It as tokenName, J as nftCollection, Ji as healthResponse, Jn as PHISHING_MAX_PATH_SEGMENTS, Jr as TronWitnessList, Jt as fiatPrice, K as nftAttribute, Ki as health, Kn as union, Kr as TronReward, Kt as PricesResponse, L as NftFloor, Li as jsonRpcId, Ln as swapQuoteSolanaResponse, Lr as TronIndexerPath, Lt as tokenSymbol, M as NftAttribute, Mi as RPC_SIMULATE_CALLS_MAX, Mn as swapQuote, Mr as TronChainParameters, Mt as tokenList, N as NftCollection, Ni as SOLANA_RPC_METHODS, Nn as swapQuoteRequest, Nr as TronConstantCall, Nt as tokenListEntry, O as NFT_NAME_MAX, Oi as RPC_BATCH_MAX, On as bridgeQuote, Or as TronAssetIssue, Ot as TOKEN_LIST_SOURCES, P as NftCollectionRef, Pi as SolanaRpcMethod, Pn as swapQuoteResponse, Pr as TronDelegatedResource, Pt as tokenListPath, Q as nftCollectionRequest, Qi as GATEWAY_ERRORS, Qn as phishingKey, Qr as tronAccountResource, Qt as priceAssetId, R as NftFloorRequest, Ri as jsonRpcRequestId, Rn as HashList, Rr as TronIndexerTransactionRow, Rt as FIAT_CURRENCIES, S as pushUnsubscribe, Si as EvmRpcMethod, Sn as SOLANA_MAINNET, Sr as TRON_BROADCAST_PATH, St as approvalCandidate, T as NFT_ATTRIBUTE_TEXT_MAX, Ti as LOGS_ADDRESS_MAX, Tn as SwapQuoteSolanaRequest, Tr as TRON_NODE_PATHS, Tt as approvalsRequest, U as NftPage, Ui as rpcRequest, Un as encodeHashList, Ur as TronMaybeTransaction, Ut as PriceFamily, V as NftItemsRequest, Vi as rpc, Vn as decodeHashList, Vr as TronMaybeAccount, Vt as NATIVE_SLIP44, W as NftStandard, Wi as rpcResponse, Wn as hashCount, Wr as TronMaybeTransactionInfo, Wt as PriceQuote, X as nftCollectionPath, Xi as Caip2, Xn as phishingCandidates, Xr as tron, Xt as percentChange, Y as nftCollectionFits, Yi as CLIENT_ID_HEADER, Yn as PhishingListResponse, Yr as isTronIndexerPath, Yt as nativeAssetId, Z as nftCollectionRef, Zi as ClientId, Zn as phishingHash, Zr as tronAccount, Zt as priceAssetFamily, _ as pushSubscribe, _i as tronTransactionInfoResponse, _n as historyRequest, _r as esploraGet, _t as nftTokenId, a as PUSH_FAMILIES, aa as APP_ID, ai as tronChainParameters, an as tokenAssetId, ar as servedNetworksRequest, at as nftFloorResponse, b as pushSubscriptionResponse, bi as tronWitnessListResponse, bn as BridgeQuoteRequest, br as TronJsonParseError, bt as ApprovalsRequest, c as PUSH_TTL_MS, ca as appAvailability, ci as tronIndexerPageResponse, cn as HISTORY_PAGE_MAX, cr as FeeModel, ct as nftItemPath, d as PushSubscriptionRequest, da as eligibilityResponse, di as tronLog, dn as HistoryRequest, dr as NetworkInfo, dt as nftItems, ea as PROVIDERS_HEADER, ei as tronAssetIssueResponse, en as priceQuote, er as phishingListPath, et as nftCursor, f as PushSubscriptionResponse, fa as Endpoint, fi as tronMaybeBlockResponse, fn as HistoryResponse, fr as SOLANA_NETWORKS, ft as nftItemsPath, g as pushSecret, ga as parseWith, gi as tronTransactionInfo, gn as historyPath, gr as esploraBasePath, gt as nftPageFits, h as pushPath, ha as endpoint, hi as tronRewardResponse, hn as historyItem, hr as ESPLORA_ROUTES, ht as nftPage, i as PUSH_AUTH_SCHEME, ia as gatewayError, ii as tronCanDelegateMaxSizeResponse, in as pricesResponse, ir as servedNetworks, it as nftFloorRequest, j as NFT_URL_MAX, ji as RPC_SIMULATE_BLOCKS_MAX, jn as solanaInstruction, jr as TronCanDelegateMaxSize, jt as TokenListSource, k as NFT_PAGE_MAX, ki as RPC_BROADCAST_METHODS, kn as bridgeQuoteRequest, kr as TronBlock, kt as TokenListEntry, l as PushFamily, la as eligibility, li as tronIndexerTransaction, ln as HISTORY_TRANSFERS_MAX, lr as GasPricing, lt as nftItemRequest, m as pushCapabilities, ma as accepts, mi as tronPathEntry, mn as history, mr as networkById, mt as nftMediaRef, n as PUSH_APNS_BODY_KEY, na as caip2, ni as tronBlockResponse, nn as pricesPath, nr as phishingListResponse, nt as nftFloor, o as PUSH_NETWORKS_MAX, oa as AppAvailability, oi as tronConstantCallResponse, on as HISTORY_CURSOR_MAX, or as servedNetworksResponse, ot as nftItem, p as PushTransactionRequest, pa as HttpMethod, pi as tronPathAllowed, pn as HistoryTransfer, pr as TRON_NETWORKS, pt as nftItemsRequest, q as nftBalance, qi as healthRequest, qn as PHISHING_HASH_BYTES, qr as TronUnfreezeCount, qt as fiatCurrency, r as PUSH_APNS_TITLE_KEY, ra as clientId, ri as tronBroadcastResponse, rn as pricesRequest, rr as networksPath, rt as nftFloorPath, s as PUSH_PLATFORMS, sa as EligibilityResponse, si as tronDelegatedResourceResponse, sn as HISTORY_ITEMS_MAX, sr as BITCOIN_NETWORKS, st as nftItemFits, t as PUSH_ADDRESSES_MAX, ta as PROVIDER_PIN_HEADER, ti as tronBasePath, tn as prices, tr as phishingListRequest, tt as nftDetail, u as PushPlatform, ua as eligibilityRequest, ui as tronIndexerTrc20, un as HistoryItem, ur as NETWORKS, ut as nftItemSchema, v as pushSubscriptionId, vi as tronTransactionResponse, vn as historyResponse, vr as esploraPathAllowed, vt as APPROVAL_CANDIDATES_MAX, w as NFT_ATTRIBUTES_MAX, wi as FEE_HISTORY_PERCENTILES_MAX, wn as SwapQuoteResponse, wr as TRON_INDEXER_PATHS, wt as approvalsPath, x as pushTransactionRequest, xi as EVM_RPC_METHODS, xn as BridgeQuoteResponse, xr as parseTronJson, xt as ApprovalsResponse, y as pushSubscriptionRequest, yi as tronUnfreezeCountResponse, yn as historyTransfer, yr as esploraPost, yt as ApprovalCandidate, z as NftItem, zi as jsonRpcResponse, zn as applyDiff, zr as TronIndexerTrc20Row, zt as FiatCurrency } from "./index-vBgfOFIh.mjs";
2
+ import { _ as serializePushPlaintext, a as PUSH_ID_DOMAIN, c as PUSH_VERSION, d as PushPlaintext, f as PushTransfer, g as pushEventInput, h as pushAad, i as PUSH_EVENT_KINDS, l as PushEventKind, m as parsePushPlaintext, n as PUSH_BLOB_MAX, o as PUSH_KEYS_MAX, p as parsePushMessage, r as PUSH_EVENT_DOMAIN, s as PUSH_PLAINTEXT_MAX, t as PUSH_AAD_PREFIX, u as PushMessage } from "./push-message-AQuzoNFY.mjs";
3
+ export { APPROVAL_CANDIDATES_MAX, APP_ID, AppAvailability, ApprovalCandidate, ApprovalsRequest, ApprovalsResponse, BITCOIN_NETWORKS, BridgeQuoteRequest, BridgeQuoteResponse, CLIENT_ID_HEADER, Caip2, ClientId, ESPLORA_ROUTES, EVM_RPC_METHODS, EligibilityResponse, Endpoint, EvmRpcMethod, FEE_HISTORY_BLOCKS_MAX, FEE_HISTORY_PERCENTILES_MAX, FIAT_CURRENCIES, type FeeModel, FiatCurrency, GATEWAY_ERRORS, type GasPricing, GatewayErrorCode, HISTORY_CURSOR_MAX, HISTORY_ITEMS_MAX, HISTORY_PAGE_MAX, HISTORY_TRANSFERS_MAX, HashList, HistoryItem, HistoryRequest, HistoryResponse, HistoryTransfer, HttpMethod, LOGS_ADDRESS_MAX, LOGS_BLOCK_RANGE_MAX, LOGS_TOPIC_ALTERNATIVES_MAX, MAX_PRICE_ASSETS, NATIVE_SLIP44, NETWORKS, NFT_ATTRIBUTES_MAX, NFT_ATTRIBUTE_TEXT_MAX, NFT_DATA_URI_MAX, NFT_DESCRIPTION_MAX, NFT_NAME_MAX, NFT_PAGE_MAX, NFT_STANDARDS, NFT_URL_MAX, type NetworkInfo, NftAttribute, NftCollection, NftCollectionRef, NftCollectionRequest, NftDetail, NftFloor, NftFloorRequest, NftItem, NftItemRequest, NftItemsRequest, NftMediaRef, NftPage, NftStandard, PHISHING_HASH_BYTES, PHISHING_MAX_PATH_SEGMENTS, PRICE_FAMILIES, PROVIDERS_HEADER, PROVIDER_PIN_HEADER, PUSH_AAD_PREFIX, PUSH_ADDRESSES_MAX, PUSH_APNS_BODY_KEY, PUSH_APNS_TITLE_KEY, PUSH_AUTH_SCHEME, PUSH_BLOB_MAX, PUSH_EVENT_DOMAIN, PUSH_EVENT_KINDS, PUSH_FAMILIES, PUSH_ID_DOMAIN, PUSH_KEYS_MAX, PUSH_NETWORKS_MAX, PUSH_PLAINTEXT_MAX, PUSH_PLATFORMS, PUSH_TTL_MS, PUSH_VERSION, PhishingListResponse, PriceFamily, PriceQuote, PricesRequest, PricesResponse, PushEventKind, PushFamily, PushMessage, PushPlaintext, PushPlatform, PushSubscriptionRequest, PushSubscriptionResponse, PushTransactionRequest, PushTransfer, RPC_BATCH_MAX, RPC_BROADCAST_METHODS, RPC_PROOF_KEYS_MAX, RPC_SIMULATE_BLOCKS_MAX, RPC_SIMULATE_CALLS_MAX, SOLANA_MAINNET, SOLANA_NETWORKS, SOLANA_RPC_METHODS, SolanaRpcMethod, SwapQuoteRequest, SwapQuoteResponse, SwapQuoteSolanaRequest, SwapQuoteSolanaResponse, TOKEN_LIST_MAX_ENTRIES, TOKEN_LIST_SOURCES, TRON_BROADCAST_PATH, TRON_INDEXER_LIMIT_MAX, TRON_INDEXER_PATHS, TRON_NETWORKS, TRON_NODE_PATHS, TokenListEntry, TokenListResponse, TokenListSource, TronAccount, TronAccountResource, TronAssetIssue, TronBlock, TronBroadcast, TronCanDelegateMaxSize, TronChainParameters, TronConstantCall, TronDelegatedResource, TronIndexerAccount, TronIndexerPage, TronIndexerPath, TronIndexerTransactionRow, TronIndexerTrc20Row, TronJsonParseError, TronLog, TronMaybeAccount, TronMaybeBlock, TronMaybeTransaction, TronMaybeTransactionInfo, TronNodePath, TronReward, TronUnfreezeCount, TronWitnessList, ZEROX_NATIVE_TOKEN, accepts, appAvailability, applyDiff, approvalCandidate, approvals, approvalsPath, approvalsRequest, approvalsResponse, bridgeQuote, bridgeQuoteRequest, bridgeQuoteResponse, caip2, clientId, contains, containsBroadcast, decodeHashList, difference, eligibility, eligibilityRequest, eligibilityResponse, encodeHashList, endpoint, esploraBasePath, esploraGet, esploraPathAllowed, esploraPost, evmRpcRequest, fiatCurrency, fiatPrice, gatewayError, hashCount, hashList, health, healthRequest, healthResponse, history, historyItem, historyPath, historyRequest, historyResponse, historyTransfer, isTronIndexerPath, jsonRpcId, jsonRpcRequestId, jsonRpcResponse, logsFilterViolation, nativeAssetId, networkById, networksPath, nftAddressFits, nftAttribute, nftBalance, nftCollection, nftCollectionFits, nftCollectionPath, nftCollectionRef, nftCollectionRequest, nftCollectionResponse, nftCursor, nftDetail, nftFloor, nftFloorPath, nftFloorRequest, nftFloorResponse, nftItem, nftItemFits, nftItemPath, nftItemRequest, nftItemSchema, nftItems, nftItemsPath, nftItemsRequest, nftMediaRef, nftPage, nftPageFits, nftTokenId, parsePushMessage, parsePushPlaintext, parseTronJson, parseWith, percentChange, phishingCandidates, phishingHash, phishingKey, phishingList, phishingListPath, phishingListRequest, phishingListResponse, priceAssetFamily, priceAssetId, priceFamily, priceQuote, prices, pricesPath, pricesRequest, pricesResponse, pushAad, pushCapabilities, pushEventInput, pushPath, pushSecret, pushSubscribe, pushSubscriptionId, pushSubscriptionRequest, pushSubscriptionResponse, pushTransactionRequest, pushUnsubscribe, pushWatch, rpc, rpcPath, rpcRequest, rpcResponse, serializePushPlaintext, servedNetworks, servedNetworksRequest, servedNetworksResponse, solanaInstruction, solanaRpcRequest, swapQuote, swapQuoteRequest, swapQuoteResponse, swapQuoteSolana, swapQuoteSolanaRequest, swapQuoteSolanaResponse, tokenAssetId, tokenList, tokenListEntry, tokenListPath, tokenListResponse, tokenName, tokenSymbol, tron, tronAccount, tronAccountResource, tronAccountResponse, tronAssetIssueResponse, tronBasePath, tronBlockResponse, tronBroadcastResponse, tronCanDelegateMaxSizeResponse, tronChainParameters, tronConstantCallResponse, tronDelegatedResourceResponse, tronIndexerPageResponse, tronIndexerTransaction, tronIndexerTrc20, tronLog, tronMaybeBlockResponse, tronPathAllowed, tronPathEntry, tronRewardResponse, tronTransactionInfo, tronTransactionInfoResponse, tronTransactionResponse, tronUnfreezeCountResponse, tronWitnessListResponse, union };