@radix-effects/tx-tool 0.0.2 → 0.0.3
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/dist/index.d.ts +76 -76
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,27 +3,27 @@ import * as _radixdlt_radix_engine_toolkit0 from "@radixdlt/radix-engine-toolkit
|
|
|
3
3
|
import { PublicKey, SignatureWithPublicKey } from "@radixdlt/radix-engine-toolkit";
|
|
4
4
|
import { Cause, Context, Duration, Effect, Layer, Option, ParseResult, Redacted, Schedule, Schema } from "effect";
|
|
5
5
|
import { FileSystem, HttpBody, HttpClient } from "@effect/platform";
|
|
6
|
-
import * as
|
|
6
|
+
import * as _radix_effects_gateway25 from "@radix-effects/gateway";
|
|
7
7
|
import { GatewayApiClient, GetFungibleBalance, GetLedgerStateService } from "@radix-effects/gateway";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
8
|
+
import * as effect_Brand25 from "effect/Brand";
|
|
9
|
+
import * as effect_Cause11 from "effect/Cause";
|
|
10
10
|
import * as effect_Types13 from "effect/Types";
|
|
11
|
-
import * as
|
|
11
|
+
import * as effect_ConfigError2 from "effect/ConfigError";
|
|
12
12
|
import * as _effect_platform_HttpClientError0 from "@effect/platform/HttpClientError";
|
|
13
13
|
import * as _effect_platform_Error0 from "@effect/platform/Error";
|
|
14
|
-
import * as
|
|
14
|
+
import * as effect_Layer14 from "effect/Layer";
|
|
15
15
|
import * as effect_ParseResult0 from "effect/ParseResult";
|
|
16
|
-
import * as
|
|
16
|
+
import * as _radixdlt_babylon_gateway_api_sdk0 from "@radixdlt/babylon-gateway-api-sdk";
|
|
17
17
|
import { TransactionPreviewOperationRequest, TransactionStatusResponse } from "@radixdlt/babylon-gateway-api-sdk";
|
|
18
18
|
|
|
19
19
|
//#region src/manifests/addFeePayer.d.ts
|
|
20
20
|
declare const addFeePayer: (input: {
|
|
21
21
|
account: Account;
|
|
22
22
|
amount: Amount;
|
|
23
|
-
}) => string &
|
|
23
|
+
}) => string & effect_Brand25.Brand<"TransactionManifestString">;
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/manifests/createBadge.d.ts
|
|
26
|
-
declare const createBadge: (account: Account, initialSupply?: number) => string &
|
|
26
|
+
declare const createBadge: (account: Account, initialSupply?: number) => string & effect_Brand25.Brand<"TransactionManifestString">;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/manifests/createFungibleToken.d.ts
|
|
29
29
|
declare const createFungibleTokenManifest: (input: {
|
|
@@ -31,10 +31,10 @@ declare const createFungibleTokenManifest: (input: {
|
|
|
31
31
|
symbol: string;
|
|
32
32
|
initialSupply: Amount;
|
|
33
33
|
account: Account;
|
|
34
|
-
}) => string &
|
|
34
|
+
}) => string & effect_Brand25.Brand<"TransactionManifestString">;
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region src/manifests/faucet.d.ts
|
|
37
|
-
declare const faucet: (accountAddress: AccountAddress) => Effect.Effect<string &
|
|
37
|
+
declare const faucet: (accountAddress: AccountAddress) => Effect.Effect<string & effect_Brand25.Brand<"TransactionManifestString">, effect_Cause11.UnknownException, never>;
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/manifests/manifestHelper.d.ts
|
|
40
40
|
declare const ManifestHelper_base: Effect.Service.Class<ManifestHelper, "ManifestHelper", {
|
|
@@ -42,15 +42,15 @@ declare const ManifestHelper_base: Effect.Service.Class<ManifestHelper, "Manifes
|
|
|
42
42
|
addFeePayer: (input: {
|
|
43
43
|
account: Account;
|
|
44
44
|
amount: Amount;
|
|
45
|
-
}) => Effect.Effect<string &
|
|
45
|
+
}) => Effect.Effect<string & effect_Brand25.Brand<"TransactionManifestString">, never, never>;
|
|
46
46
|
}, never, never>;
|
|
47
47
|
}>;
|
|
48
48
|
declare class ManifestHelper extends ManifestHelper_base {}
|
|
49
49
|
declare namespace schemas_d_exports {
|
|
50
50
|
export { Badge, BadgeDecodedSchema, BadgeSchema, Base64FromHexSchema, Ed25519PrivateKey, Ed25519PrivateKeySchema, Ed25519PublicKey, Ed25519PublicKeySchema, Ed25519SignatureWithPublicKey, Ed25519SignatureWithPublicKeyEncoded, Ed25519SignatureWithPublicKeySchema, HexFromBase64Schema, Manifest, ManifestEncoded, ManifestSchema, TransactionHeader$1 as TransactionHeader, TransactionHeaderSchema, TransactionIntent, TransactionIntentEncoded, TransactionIntentSchema, TransactionMessage, TransactionMessageSchema };
|
|
51
51
|
}
|
|
52
|
-
declare const Base64FromHexSchema: Schema.Schema<string &
|
|
53
|
-
declare const HexFromBase64Schema: Schema.Schema<string &
|
|
52
|
+
declare const Base64FromHexSchema: Schema.Schema<string & effect_Brand25.Brand<"Base64String">, string, never>;
|
|
53
|
+
declare const HexFromBase64Schema: Schema.Schema<string & effect_Brand25.Brand<"HexString">, string, never>;
|
|
54
54
|
declare const Ed25519PublicKeySchema: Schema.Schema<{
|
|
55
55
|
readonly curve: _radixdlt_radix_engine_toolkit0.Curve;
|
|
56
56
|
readonly bytes: Uint8Array;
|
|
@@ -75,22 +75,22 @@ declare const Ed25519PrivateKeySchema: Schema.Schema<{
|
|
|
75
75
|
type Ed25519PrivateKey = typeof Ed25519PrivateKeySchema.Type;
|
|
76
76
|
declare const ManifestSchema: Schema.Schema<{
|
|
77
77
|
readonly instructions: {
|
|
78
|
+
readonly value: string & effect_Brand25.Brand<"TransactionManifestString">;
|
|
78
79
|
readonly kind: "String";
|
|
79
|
-
readonly value: string & effect_Brand28.Brand<"TransactionManifestString">;
|
|
80
80
|
};
|
|
81
81
|
readonly blobs: Uint8Array<ArrayBufferLike>[];
|
|
82
82
|
}, string, never>;
|
|
83
83
|
type Manifest = typeof ManifestSchema.Type;
|
|
84
84
|
type ManifestEncoded = TransactionManifestString;
|
|
85
85
|
declare const TransactionMessageSchema: Schema.Schema<{
|
|
86
|
-
readonly kind: "PlainText";
|
|
87
86
|
readonly value: {
|
|
88
87
|
readonly message: {
|
|
88
|
+
readonly value: string & effect_Brand25.Brand<"TransactionMessageString">;
|
|
89
89
|
readonly kind: "String";
|
|
90
|
-
readonly value: string & effect_Brand28.Brand<"TransactionMessageString">;
|
|
91
90
|
};
|
|
92
91
|
readonly mimeType: "text/plain";
|
|
93
92
|
};
|
|
93
|
+
readonly kind: "PlainText";
|
|
94
94
|
} | {
|
|
95
95
|
readonly kind: "None";
|
|
96
96
|
}, string | undefined, never>;
|
|
@@ -132,21 +132,21 @@ declare const TransactionIntentSchema: Schema.Struct<{
|
|
|
132
132
|
tipPercentage: typeof Schema.Number;
|
|
133
133
|
}>;
|
|
134
134
|
message: Schema.Schema<{
|
|
135
|
-
readonly kind: "PlainText";
|
|
136
135
|
readonly value: {
|
|
137
136
|
readonly message: {
|
|
137
|
+
readonly value: string & effect_Brand25.Brand<"TransactionMessageString">;
|
|
138
138
|
readonly kind: "String";
|
|
139
|
-
readonly value: string & effect_Brand28.Brand<"TransactionMessageString">;
|
|
140
139
|
};
|
|
141
140
|
readonly mimeType: "text/plain";
|
|
142
141
|
};
|
|
142
|
+
readonly kind: "PlainText";
|
|
143
143
|
} | {
|
|
144
144
|
readonly kind: "None";
|
|
145
145
|
}, string | undefined, never>;
|
|
146
146
|
manifest: Schema.Schema<{
|
|
147
147
|
readonly instructions: {
|
|
148
|
+
readonly value: string & effect_Brand25.Brand<"TransactionManifestString">;
|
|
148
149
|
readonly kind: "String";
|
|
149
|
-
readonly value: string & effect_Brand28.Brand<"TransactionManifestString">;
|
|
150
150
|
};
|
|
151
151
|
readonly blobs: Uint8Array<ArrayBufferLike>[];
|
|
152
152
|
}, string, never>;
|
|
@@ -178,7 +178,7 @@ declare const BadgeSchema: Schema.transformOrFail<Schema.Struct<{
|
|
|
178
178
|
type Badge = typeof BadgeSchema.Type;
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region src/signer/signer.d.ts
|
|
181
|
-
declare const FailedToSignTransactionError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
181
|
+
declare const FailedToSignTransactionError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
182
182
|
readonly _tag: "FailedToSignTransactionError";
|
|
183
183
|
} & Readonly<A>;
|
|
184
184
|
declare class FailedToSignTransactionError extends FailedToSignTransactionError_base<{
|
|
@@ -189,7 +189,7 @@ declare const Signer_base: Context.TagClass<Signer, "Signer", {
|
|
|
189
189
|
publicKey: () => Effect.Effect<PublicKey, never, never>;
|
|
190
190
|
}>;
|
|
191
191
|
declare class Signer extends Signer_base {
|
|
192
|
-
static VaultLive: Layer.Layer<Signer,
|
|
192
|
+
static VaultLive: Layer.Layer<Signer, effect_ConfigError2.ConfigError, never>;
|
|
193
193
|
static makePrivateKeySigner: (privateKey: Redacted.Redacted<HexString>) => Layer.Layer<Signer, never, never>;
|
|
194
194
|
}
|
|
195
195
|
//#endregion
|
|
@@ -197,13 +197,13 @@ declare class Signer extends Signer_base {
|
|
|
197
197
|
declare const Vault_base: Effect.Service.Class<Vault, "Vault", {
|
|
198
198
|
readonly dependencies: readonly [Layer.Layer<HttpClient.HttpClient, never, never>, Layer.Layer<FileSystem.FileSystem, never, never>];
|
|
199
199
|
readonly effect: Effect.Effect<{
|
|
200
|
-
getPublicKey: () => Effect.Effect<string &
|
|
200
|
+
getPublicKey: () => Effect.Effect<string & effect_Brand25.Brand<"HexString">, never, never>;
|
|
201
201
|
toSignatureWithPublicKey: (hash: HexString) => Effect.Effect<{
|
|
202
202
|
readonly curve: _radixdlt_radix_engine_toolkit0.Curve;
|
|
203
203
|
readonly signature: Uint8Array;
|
|
204
204
|
readonly publicKey: Uint8Array;
|
|
205
|
-
},
|
|
206
|
-
},
|
|
205
|
+
}, ParseResult.ParseError | effect_ConfigError2.ConfigError | _effect_platform_HttpClientError0.HttpClientError | _effect_platform_Error0.PlatformError | HttpBody.HttpBodyError, never>;
|
|
206
|
+
}, effect_ConfigError2.ConfigError, HttpClient.HttpClient | FileSystem.FileSystem>;
|
|
207
207
|
}>;
|
|
208
208
|
declare class Vault extends Vault_base {}
|
|
209
209
|
//#endregion
|
|
@@ -216,7 +216,7 @@ declare const createAccount: (input?: Partial<{
|
|
|
216
216
|
sign: (hash: string) => string;
|
|
217
217
|
publicKeyHex: string;
|
|
218
218
|
privateKeyHex: string;
|
|
219
|
-
},
|
|
219
|
+
}, effect_Cause11.UnknownException, never>;
|
|
220
220
|
//#endregion
|
|
221
221
|
//#region src/test-helpers/disableTestClock.d.ts
|
|
222
222
|
declare const DisableTestClock: <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
|
|
@@ -239,13 +239,13 @@ declare const NotaryKeyPair_base: Effect.Service.Class<NotaryKeyPair, "NotaryKey
|
|
|
239
239
|
declare class NotaryKeyPair extends NotaryKeyPair_base {}
|
|
240
240
|
//#endregion
|
|
241
241
|
//#region src/compileTransaction.d.ts
|
|
242
|
-
declare const FailedToCompileTransactionError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
242
|
+
declare const FailedToCompileTransactionError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
243
243
|
readonly _tag: "FailedToCompileTransactionError";
|
|
244
244
|
} & Readonly<A>;
|
|
245
245
|
declare class FailedToCompileTransactionError extends FailedToCompileTransactionError_base<{
|
|
246
246
|
error: unknown;
|
|
247
247
|
}> {}
|
|
248
|
-
declare const FailedToNotarizeTransactionError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
248
|
+
declare const FailedToNotarizeTransactionError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
249
249
|
readonly _tag: "FailedToNotarizeTransactionError";
|
|
250
250
|
} & Readonly<A>;
|
|
251
251
|
declare class FailedToNotarizeTransactionError extends FailedToNotarizeTransactionError_base<{
|
|
@@ -271,21 +271,21 @@ declare const CompileTransactionInputSchema: Schema.Struct<{
|
|
|
271
271
|
tipPercentage: typeof Schema.Number;
|
|
272
272
|
}>;
|
|
273
273
|
message: Schema.Schema<{
|
|
274
|
-
readonly kind: "PlainText";
|
|
275
274
|
readonly value: {
|
|
276
275
|
readonly message: {
|
|
276
|
+
readonly value: string & effect_Brand25.Brand<"TransactionMessageString">;
|
|
277
277
|
readonly kind: "String";
|
|
278
|
-
readonly value: string & effect_Brand28.Brand<"TransactionMessageString">;
|
|
279
278
|
};
|
|
280
279
|
readonly mimeType: "text/plain";
|
|
281
280
|
};
|
|
281
|
+
readonly kind: "PlainText";
|
|
282
282
|
} | {
|
|
283
283
|
readonly kind: "None";
|
|
284
284
|
}, string | undefined, never>;
|
|
285
285
|
manifest: Schema.Schema<{
|
|
286
286
|
readonly instructions: {
|
|
287
|
+
readonly value: string & effect_Brand25.Brand<"TransactionManifestString">;
|
|
287
288
|
readonly kind: "String";
|
|
288
|
-
readonly value: string & effect_Brand28.Brand<"TransactionManifestString">;
|
|
289
289
|
};
|
|
290
290
|
readonly blobs: Uint8Array<ArrayBufferLike>[];
|
|
291
291
|
}, string, never>;
|
|
@@ -302,20 +302,20 @@ declare const CompileTransactionInputSchema: Schema.Struct<{
|
|
|
302
302
|
}>;
|
|
303
303
|
type CompileTransactionInput = typeof CompileTransactionInputSchema.Type;
|
|
304
304
|
declare const CompileTransaction_base: Effect.Service.Class<CompileTransaction, "CompileTransaction", {
|
|
305
|
-
readonly dependencies: readonly [
|
|
305
|
+
readonly dependencies: readonly [effect_Layer14.Layer<NotaryKeyPair, never, Signer>];
|
|
306
306
|
readonly effect: Effect.Effect<(input: CompileTransactionInput) => Effect.Effect<Uint8Array<ArrayBufferLike>, FailedToNotarizeTransactionError | FailedToCompileTransactionError, never>, never, NotaryKeyPair>;
|
|
307
307
|
}>;
|
|
308
308
|
declare class CompileTransaction extends CompileTransaction_base {}
|
|
309
309
|
//#endregion
|
|
310
310
|
//#region src/epoch.d.ts
|
|
311
|
-
declare const InvalidEndEpochError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
311
|
+
declare const InvalidEndEpochError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
312
312
|
readonly _tag: "InvalidEndEpochError";
|
|
313
313
|
} & Readonly<A>;
|
|
314
314
|
declare class InvalidEndEpochError extends InvalidEndEpochError_base<{
|
|
315
315
|
message: string;
|
|
316
316
|
transactionId: TransactionId;
|
|
317
317
|
}> {}
|
|
318
|
-
declare const InvalidStartEpochError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
318
|
+
declare const InvalidStartEpochError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
319
319
|
readonly _tag: "InvalidStartEpochError";
|
|
320
320
|
} & Readonly<A>;
|
|
321
321
|
declare class InvalidStartEpochError extends InvalidStartEpochError_base<{
|
|
@@ -323,19 +323,19 @@ declare class InvalidStartEpochError extends InvalidStartEpochError_base<{
|
|
|
323
323
|
transactionId: TransactionId;
|
|
324
324
|
}> {}
|
|
325
325
|
declare const EpochService_base: Effect.Service.Class<EpochService, "EpochService", {
|
|
326
|
-
readonly dependencies: readonly [
|
|
326
|
+
readonly dependencies: readonly [effect_Layer14.Layer<GetLedgerStateService, never, _radix_effects_gateway25.GatewayApiClient>];
|
|
327
327
|
readonly effect: Effect.Effect<{
|
|
328
|
-
getCurrentEpoch: () => Effect.Effect<number &
|
|
328
|
+
getCurrentEpoch: () => Effect.Effect<number & effect_Brand25.Brand<"Epoch">, _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError, never>;
|
|
329
329
|
verifyEpochBounds: (input: {
|
|
330
330
|
transactionId: TransactionId;
|
|
331
331
|
transactionIntent: TransactionIntent;
|
|
332
|
-
}) => Effect.Effect<undefined,
|
|
332
|
+
}) => Effect.Effect<undefined, _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | InvalidEndEpochError | InvalidStartEpochError, never>;
|
|
333
333
|
}, never, GetLedgerStateService>;
|
|
334
334
|
}>;
|
|
335
335
|
declare class EpochService extends EpochService_base {}
|
|
336
336
|
//#endregion
|
|
337
337
|
//#region src/transactionHeader.d.ts
|
|
338
|
-
declare const InvalidEpochError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
338
|
+
declare const InvalidEpochError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
339
339
|
readonly _tag: "InvalidEpochError";
|
|
340
340
|
} & Readonly<A>;
|
|
341
341
|
declare class InvalidEpochError extends InvalidEpochError_base<{
|
|
@@ -350,11 +350,11 @@ type CreateTransactionHeaderInput = {
|
|
|
350
350
|
notaryIsSignatory?: boolean;
|
|
351
351
|
};
|
|
352
352
|
declare const TransactionHeader_base: Effect.Service.Class<TransactionHeader, "TransactionHeader", {
|
|
353
|
-
readonly dependencies: readonly [
|
|
353
|
+
readonly dependencies: readonly [effect_Layer14.Layer<GetLedgerStateService, never, _radix_effects_gateway25.GatewayApiClient>, effect_Layer14.Layer<NotaryKeyPair, never, Signer>, effect_Layer14.Layer<EpochService, never, _radix_effects_gateway25.GatewayApiClient>];
|
|
354
354
|
readonly effect: Effect.Effect<(input: CreateTransactionHeaderInput) => Effect.Effect<{
|
|
355
|
-
readonly networkId: number &
|
|
356
|
-
readonly startEpochInclusive: number &
|
|
357
|
-
readonly endEpochExclusive: number &
|
|
355
|
+
readonly networkId: number & effect_Brand25.Brand<"NetworkId">;
|
|
356
|
+
readonly startEpochInclusive: number & effect_Brand25.Brand<"Epoch">;
|
|
357
|
+
readonly endEpochExclusive: number & effect_Brand25.Brand<"Epoch">;
|
|
358
358
|
readonly notaryPublicKey: {
|
|
359
359
|
readonly curve: _radixdlt_radix_engine_toolkit0.Curve;
|
|
360
360
|
readonly bytes: Uint8Array;
|
|
@@ -364,21 +364,21 @@ declare const TransactionHeader_base: Effect.Service.Class<TransactionHeader, "T
|
|
|
364
364
|
hex: () => string;
|
|
365
365
|
readonly publicKey: Uint8Array;
|
|
366
366
|
};
|
|
367
|
-
readonly nonce: number &
|
|
367
|
+
readonly nonce: number & effect_Brand25.Brand<"Nonce">;
|
|
368
368
|
readonly notaryIsSignatory: boolean;
|
|
369
369
|
readonly tipPercentage: number;
|
|
370
|
-
},
|
|
370
|
+
}, InvalidEpochError | _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError, never>, never, NotaryKeyPair | EpochService>;
|
|
371
371
|
}>;
|
|
372
372
|
declare class TransactionHeader extends TransactionHeader_base {}
|
|
373
373
|
//#endregion
|
|
374
374
|
//#region src/staticallyValidateManifest.d.ts
|
|
375
|
-
declare const FailedToStaticallyValidateManifestError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
375
|
+
declare const FailedToStaticallyValidateManifestError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
376
376
|
readonly _tag: "FailedToStaticallyValidateManifestError";
|
|
377
377
|
} & Readonly<A>;
|
|
378
378
|
declare class FailedToStaticallyValidateManifestError extends FailedToStaticallyValidateManifestError_base<{
|
|
379
379
|
error: unknown;
|
|
380
380
|
}> {}
|
|
381
|
-
declare const InvalidManifestError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
381
|
+
declare const InvalidManifestError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
382
382
|
readonly _tag: "InvalidManifestError";
|
|
383
383
|
} & Readonly<A>;
|
|
384
384
|
declare class InvalidManifestError extends InvalidManifestError_base<{
|
|
@@ -388,7 +388,7 @@ declare const StaticallyValidateManifest_base: Effect.Service.Class<StaticallyVa
|
|
|
388
388
|
readonly effect: Effect.Effect<(input: {
|
|
389
389
|
manifest: Manifest;
|
|
390
390
|
networkId: NetworkId;
|
|
391
|
-
}) => Effect.Effect<undefined,
|
|
391
|
+
}) => Effect.Effect<undefined, FailedToStaticallyValidateManifestError | InvalidManifestError, never>, never, never>;
|
|
392
392
|
}>;
|
|
393
393
|
declare class StaticallyValidateManifest extends StaticallyValidateManifest_base {}
|
|
394
394
|
//#endregion
|
|
@@ -402,24 +402,24 @@ declare const CreateTransactionIntentInputSchema: Schema.Struct<{
|
|
|
402
402
|
}>;
|
|
403
403
|
type CreateTransactionIntentInput = typeof CreateTransactionIntentInputSchema.Type;
|
|
404
404
|
declare const CreateTransactionIntent_base: Effect.Service.Class<CreateTransactionIntent, "CreateTransactionIntent", {
|
|
405
|
-
readonly dependencies: readonly [
|
|
405
|
+
readonly dependencies: readonly [effect_Layer14.Layer<StaticallyValidateManifest, never, never>, effect_Layer14.Layer<TransactionHeader, never, GatewayApiClient | Signer>];
|
|
406
406
|
readonly effect: Effect.Effect<(input: CreateTransactionIntentInput) => Effect.Effect<{
|
|
407
407
|
readonly message: {
|
|
408
|
-
readonly kind: "PlainText";
|
|
409
408
|
readonly value: {
|
|
410
409
|
readonly message: {
|
|
410
|
+
readonly value: string & effect_Brand25.Brand<"TransactionMessageString">;
|
|
411
411
|
readonly kind: "String";
|
|
412
|
-
readonly value: string & effect_Brand28.Brand<"TransactionMessageString">;
|
|
413
412
|
};
|
|
414
413
|
readonly mimeType: "text/plain";
|
|
415
414
|
};
|
|
415
|
+
readonly kind: "PlainText";
|
|
416
416
|
} | {
|
|
417
417
|
readonly kind: "None";
|
|
418
418
|
};
|
|
419
419
|
readonly header: {
|
|
420
|
-
readonly networkId: number &
|
|
421
|
-
readonly startEpochInclusive: number &
|
|
422
|
-
readonly endEpochExclusive: number &
|
|
420
|
+
readonly networkId: number & effect_Brand25.Brand<"NetworkId">;
|
|
421
|
+
readonly startEpochInclusive: number & effect_Brand25.Brand<"Epoch">;
|
|
422
|
+
readonly endEpochExclusive: number & effect_Brand25.Brand<"Epoch">;
|
|
423
423
|
readonly notaryPublicKey: {
|
|
424
424
|
readonly curve: _radixdlt_radix_engine_toolkit0.Curve;
|
|
425
425
|
readonly bytes: Uint8Array;
|
|
@@ -429,23 +429,23 @@ declare const CreateTransactionIntent_base: Effect.Service.Class<CreateTransacti
|
|
|
429
429
|
hex: () => string;
|
|
430
430
|
readonly publicKey: Uint8Array;
|
|
431
431
|
};
|
|
432
|
-
readonly nonce: number &
|
|
432
|
+
readonly nonce: number & effect_Brand25.Brand<"Nonce">;
|
|
433
433
|
readonly notaryIsSignatory: boolean;
|
|
434
434
|
readonly tipPercentage: number;
|
|
435
435
|
};
|
|
436
436
|
readonly manifest: {
|
|
437
437
|
readonly instructions: {
|
|
438
|
+
readonly value: string & effect_Brand25.Brand<"TransactionManifestString">;
|
|
438
439
|
readonly kind: "String";
|
|
439
|
-
readonly value: string & effect_Brand28.Brand<"TransactionManifestString">;
|
|
440
440
|
};
|
|
441
441
|
readonly blobs: Uint8Array<ArrayBufferLike>[];
|
|
442
442
|
};
|
|
443
|
-
},
|
|
443
|
+
}, InvalidEpochError | _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | FailedToStaticallyValidateManifestError | InvalidManifestError | effect_ParseResult0.ParseError, never>, never, TransactionHeader | GatewayApiClient | StaticallyValidateManifest>;
|
|
444
444
|
}>;
|
|
445
445
|
declare class CreateTransactionIntent extends CreateTransactionIntent_base {}
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region src/intentHash.d.ts
|
|
448
|
-
declare const FailedToCreateIntentHashError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
448
|
+
declare const FailedToCreateIntentHashError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
449
449
|
readonly _tag: "FailedToCreateIntentHashError";
|
|
450
450
|
} & Readonly<A>;
|
|
451
451
|
declare class FailedToCreateIntentHashError extends FailedToCreateIntentHashError_base<{
|
|
@@ -454,15 +454,15 @@ declare class FailedToCreateIntentHashError extends FailedToCreateIntentHashErro
|
|
|
454
454
|
declare const IntentHashService_base: Effect.Service.Class<IntentHashService, "IntentHashService", {
|
|
455
455
|
readonly effect: Effect.Effect<{
|
|
456
456
|
create: (input: TransactionIntent) => Effect.Effect<{
|
|
457
|
-
id: string &
|
|
458
|
-
hash: string &
|
|
457
|
+
id: string & effect_Brand25.Brand<"TransactionId">;
|
|
458
|
+
hash: string & effect_Brand25.Brand<"HexString">;
|
|
459
459
|
}, FailedToCreateIntentHashError, never>;
|
|
460
460
|
}, never, never>;
|
|
461
461
|
}>;
|
|
462
462
|
declare class IntentHashService extends IntentHashService_base {}
|
|
463
463
|
//#endregion
|
|
464
464
|
//#region src/previewTransaction.d.ts
|
|
465
|
-
declare const TransactionPreviewError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
465
|
+
declare const TransactionPreviewError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
466
466
|
readonly _tag: "TransactionPreviewError";
|
|
467
467
|
} & Readonly<A>;
|
|
468
468
|
declare class TransactionPreviewError extends TransactionPreviewError_base<{
|
|
@@ -471,7 +471,7 @@ declare class TransactionPreviewError extends TransactionPreviewError_base<{
|
|
|
471
471
|
declare const PreviewTransaction_base: Effect.Service.Class<PreviewTransaction, "PreviewTransaction", {
|
|
472
472
|
readonly effect: Effect.Effect<(input: {
|
|
473
473
|
payload: TransactionPreviewOperationRequest["transactionPreviewRequest"];
|
|
474
|
-
}) => Effect.Effect<
|
|
474
|
+
}) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk0.TransactionPreviewResponse, _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | TransactionPreviewError, never>, never, GatewayApiClient>;
|
|
475
475
|
}>;
|
|
476
476
|
declare class PreviewTransaction extends PreviewTransaction_base {}
|
|
477
477
|
//#endregion
|
|
@@ -479,12 +479,12 @@ declare class PreviewTransaction extends PreviewTransaction_base {}
|
|
|
479
479
|
declare const SubmitTransaction_base: Effect.Service.Class<SubmitTransaction, "SubmitTransaction", {
|
|
480
480
|
readonly effect: Effect.Effect<(input: {
|
|
481
481
|
compiledTransaction: Uint8Array<ArrayBufferLike>;
|
|
482
|
-
}) => Effect.Effect<
|
|
482
|
+
}) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk0.TransactionSubmitResponse, _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError, never>, never, GatewayApiClient>;
|
|
483
483
|
}>;
|
|
484
484
|
declare class SubmitTransaction extends SubmitTransaction_base {}
|
|
485
485
|
//#endregion
|
|
486
486
|
//#region src/transactionStatus.d.ts
|
|
487
|
-
declare const TransactionNotResolvedError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
487
|
+
declare const TransactionNotResolvedError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
488
488
|
readonly _tag: "TransactionNotResolvedError";
|
|
489
489
|
} & Readonly<A>;
|
|
490
490
|
declare class TransactionNotResolvedError extends TransactionNotResolvedError_base<{
|
|
@@ -493,7 +493,7 @@ declare class TransactionNotResolvedError extends TransactionNotResolvedError_ba
|
|
|
493
493
|
message: null | undefined | string;
|
|
494
494
|
transactionId: TransactionId;
|
|
495
495
|
}> {}
|
|
496
|
-
declare const TransactionFailedError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
496
|
+
declare const TransactionFailedError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
497
497
|
readonly _tag: "TransactionFailedError";
|
|
498
498
|
} & Readonly<A>;
|
|
499
499
|
declare class TransactionFailedError extends TransactionFailedError_base<{
|
|
@@ -502,7 +502,7 @@ declare class TransactionFailedError extends TransactionFailedError_base<{
|
|
|
502
502
|
message: null | undefined | string;
|
|
503
503
|
transactionId: TransactionId;
|
|
504
504
|
}> {}
|
|
505
|
-
declare const TimeoutError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) =>
|
|
505
|
+
declare const TimeoutError_base: new <A extends Record<string, any> = {}>(args: effect_Types13.Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }) => effect_Cause11.YieldableError & {
|
|
506
506
|
readonly _tag: "TimeoutError";
|
|
507
507
|
} & Readonly<A>;
|
|
508
508
|
declare class TimeoutError extends TimeoutError_base<{
|
|
@@ -514,7 +514,7 @@ declare const TransactionStatus_base: Effect.Service.Class<TransactionStatus, "T
|
|
|
514
514
|
id: TransactionId;
|
|
515
515
|
retryPolicy?: Schedule.Schedule<number, unknown, never>;
|
|
516
516
|
timeout?: Duration.Duration;
|
|
517
|
-
}) => Effect.Effect<TransactionStatusResponse,
|
|
517
|
+
}) => Effect.Effect<TransactionStatusResponse, _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | TransactionFailedError | TransactionNotResolvedError | TimeoutError, never>;
|
|
518
518
|
}, never, GatewayApiClient>;
|
|
519
519
|
}>;
|
|
520
520
|
declare class TransactionStatus extends TransactionStatus_base {}
|
|
@@ -552,7 +552,7 @@ declare class InsufficientXrdBalanceError extends InsufficientXrdBalanceError_ba
|
|
|
552
552
|
message: string;
|
|
553
553
|
}> {}
|
|
554
554
|
declare const TransactionHelper_base: Effect.Service.Class<TransactionHelper, "TransactionHelper", {
|
|
555
|
-
readonly dependencies: readonly [
|
|
555
|
+
readonly dependencies: readonly [effect_Layer14.Layer<CreateTransactionIntent, never, GatewayApiClient | Signer>, effect_Layer14.Layer<CompileTransaction, never, Signer>, effect_Layer14.Layer<SubmitTransaction, never, GatewayApiClient>, effect_Layer14.Layer<TransactionStatus, never, GatewayApiClient>, effect_Layer14.Layer<ManifestHelper, never, never>, effect_Layer14.Layer<IntentHashService, never, never>, effect_Layer14.Layer<EpochService, never, GatewayApiClient>, effect_Layer14.Layer<GetFungibleBalance, effect_ConfigError2.ConfigError, GatewayApiClient>, effect_Layer14.Layer<GetLedgerStateService, never, GatewayApiClient>];
|
|
556
556
|
readonly effect: Effect.Effect<{
|
|
557
557
|
submitTransaction: (input: {
|
|
558
558
|
manifest: TransactionManifestString;
|
|
@@ -562,31 +562,31 @@ declare const TransactionHelper_base: Effect.Service.Class<TransactionHelper, "T
|
|
|
562
562
|
};
|
|
563
563
|
transactionIntent?: TransactionIntent;
|
|
564
564
|
}) => Effect.Effect<{
|
|
565
|
-
statusResponse:
|
|
566
|
-
id: string &
|
|
567
|
-
},
|
|
565
|
+
statusResponse: _radixdlt_babylon_gateway_api_sdk0.TransactionStatusResponse;
|
|
566
|
+
id: string & effect_Brand25.Brand<"TransactionId">;
|
|
567
|
+
}, FailedToSignTransactionError | _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | FailedToStaticallyValidateManifestError | InvalidManifestError | FailedToCreateIntentHashError | InvalidEndEpochError | InvalidStartEpochError | InsufficientXrdBalanceError | TransactionFailedError | TransactionNotResolvedError | TimeoutError, never>;
|
|
568
568
|
getCommittedDetails: (input: {
|
|
569
569
|
id: TransactionId;
|
|
570
|
-
}) => Effect.Effect<
|
|
570
|
+
}) => Effect.Effect<_radixdlt_babylon_gateway_api_sdk0.TransactionCommittedDetailsResponse, _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError, never>;
|
|
571
571
|
createBadge: (input: {
|
|
572
572
|
account: Account;
|
|
573
573
|
feePayer: Account;
|
|
574
574
|
initialSupply?: number;
|
|
575
|
-
}) => Effect.Effect<string &
|
|
575
|
+
}) => Effect.Effect<string & effect_Brand25.Brand<"FungibleResourceAddress">, FailedToSignTransactionError | _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | FailedToStaticallyValidateManifestError | InvalidManifestError | FailedToCreateIntentHashError | InvalidEndEpochError | InvalidStartEpochError | InsufficientXrdBalanceError | TransactionFailedError | TransactionNotResolvedError | TimeoutError, never>;
|
|
576
576
|
createFungibleToken: (input: {
|
|
577
577
|
account: Account;
|
|
578
578
|
feePayer: Account;
|
|
579
579
|
name: string;
|
|
580
580
|
symbol: string;
|
|
581
581
|
initialSupply: Amount;
|
|
582
|
-
}) => Effect.Effect<string &
|
|
582
|
+
}) => Effect.Effect<string & effect_Brand25.Brand<"FungibleResourceAddress">, FailedToSignTransactionError | _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | FailedToStaticallyValidateManifestError | InvalidManifestError | FailedToCreateIntentHashError | InvalidEndEpochError | InvalidStartEpochError | InsufficientXrdBalanceError | TransactionFailedError | TransactionNotResolvedError | TimeoutError, never>;
|
|
583
583
|
faucet: (input: {
|
|
584
584
|
account: Account;
|
|
585
585
|
}) => Effect.Effect<{
|
|
586
|
-
statusResponse:
|
|
587
|
-
id: string &
|
|
588
|
-
},
|
|
589
|
-
}, Cause.UnknownException,
|
|
586
|
+
statusResponse: _radixdlt_babylon_gateway_api_sdk0.TransactionStatusResponse;
|
|
587
|
+
id: string & effect_Brand25.Brand<"TransactionId">;
|
|
588
|
+
}, FailedToSignTransactionError | _radix_effects_gateway25.AccountLockerNotFoundError | _radix_effects_gateway25.InvalidRequestError | _radix_effects_gateway25.EntityNotFoundError | _radix_effects_gateway25.InternalServerError | _radix_effects_gateway25.InvalidEntityError | _radix_effects_gateway25.InvalidTransactionError | _radix_effects_gateway25.NotSyncedUpError | _radix_effects_gateway25.TransactionNotFoundError | _radix_effects_gateway25.ErrorResponse | _radix_effects_gateway25.RateLimitExceededError | _radix_effects_gateway25.ResponseError | _radix_effects_gateway25.UnknownGatewayError | FailedToStaticallyValidateManifestError | InvalidManifestError | FailedToCreateIntentHashError | InvalidEndEpochError | InvalidStartEpochError | InsufficientXrdBalanceError | Cause.UnknownException | TransactionFailedError | TransactionNotResolvedError | TimeoutError, never>;
|
|
589
|
+
}, Cause.UnknownException, GetLedgerStateService | GatewayApiClient | Signer | EpochService | IntentHashService | CreateTransactionIntent | SubmitTransaction | CompileTransaction | TransactionStatus | ManifestHelper | GetFungibleBalance>;
|
|
590
590
|
}>;
|
|
591
591
|
declare class TransactionHelper extends TransactionHelper_base {}
|
|
592
592
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@radix-effects/tx-tool",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"bignumber.js": "^9.2.1",
|
|
25
25
|
"effect": "^3.14.1",
|
|
26
26
|
"@radix-effects/gateway": "0.4.2",
|
|
27
|
-
"@radix-effects/shared": "0.0.
|
|
27
|
+
"@radix-effects/shared": "0.0.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@effect/vitest": "^0.25.1",
|