@leather.io/rpc 2.16.2 → 2.16.4
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.cjs +24 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +408 -24
- package/dist/index.d.ts +408 -24
- package/dist/index.js +24 -15
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -3073,7 +3073,7 @@ declare const stxGetAddresses: {
|
|
|
3073
3073
|
|
|
3074
3074
|
declare const stxTransferSip9Nft: {
|
|
3075
3075
|
method: "stx_transferSip9Nft";
|
|
3076
|
-
params: z.ZodObject<{
|
|
3076
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
3077
3077
|
recipient: z.ZodString;
|
|
3078
3078
|
asset: z.ZodString;
|
|
3079
3079
|
assetId: z.ZodString;
|
|
@@ -3085,7 +3085,31 @@ declare const stxTransferSip9Nft: {
|
|
|
3085
3085
|
recipient: z.ZodString;
|
|
3086
3086
|
asset: z.ZodString;
|
|
3087
3087
|
assetId: z.ZodString;
|
|
3088
|
-
}, z.ZodTypeAny, "passthrough"
|
|
3088
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
3089
|
+
address: z.ZodOptional<z.ZodString>;
|
|
3090
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
3091
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
3092
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
3093
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3094
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
3095
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
3096
|
+
}, "strip", z.ZodTypeAny, {
|
|
3097
|
+
network?: string | undefined;
|
|
3098
|
+
address?: string | undefined;
|
|
3099
|
+
fee?: number | undefined;
|
|
3100
|
+
nonce?: number | undefined;
|
|
3101
|
+
postConditions?: string[] | undefined;
|
|
3102
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3103
|
+
sponsored?: boolean | undefined;
|
|
3104
|
+
}, {
|
|
3105
|
+
network?: string | undefined;
|
|
3106
|
+
address?: string | undefined;
|
|
3107
|
+
fee?: number | undefined;
|
|
3108
|
+
nonce?: number | undefined;
|
|
3109
|
+
postConditions?: string[] | undefined;
|
|
3110
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3111
|
+
sponsored?: boolean | undefined;
|
|
3112
|
+
}>>;
|
|
3089
3113
|
result: z.ZodObject<{
|
|
3090
3114
|
txid: z.ZodString;
|
|
3091
3115
|
transaction: z.ZodString;
|
|
@@ -3110,7 +3134,7 @@ declare const stxTransferSip9Nft: {
|
|
|
3110
3134
|
id: z.ZodString;
|
|
3111
3135
|
}, {
|
|
3112
3136
|
method: z.ZodLiteral<"stx_transferSip9Nft">;
|
|
3113
|
-
params: z.ZodObject<{
|
|
3137
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
3114
3138
|
recipient: z.ZodString;
|
|
3115
3139
|
asset: z.ZodString;
|
|
3116
3140
|
assetId: z.ZodString;
|
|
@@ -3122,7 +3146,31 @@ declare const stxTransferSip9Nft: {
|
|
|
3122
3146
|
recipient: z.ZodString;
|
|
3123
3147
|
asset: z.ZodString;
|
|
3124
3148
|
assetId: z.ZodString;
|
|
3125
|
-
}, z.ZodTypeAny, "passthrough"
|
|
3149
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
3150
|
+
address: z.ZodOptional<z.ZodString>;
|
|
3151
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
3152
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
3153
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
3154
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3155
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
3156
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
3157
|
+
}, "strip", z.ZodTypeAny, {
|
|
3158
|
+
network?: string | undefined;
|
|
3159
|
+
address?: string | undefined;
|
|
3160
|
+
fee?: number | undefined;
|
|
3161
|
+
nonce?: number | undefined;
|
|
3162
|
+
postConditions?: string[] | undefined;
|
|
3163
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3164
|
+
sponsored?: boolean | undefined;
|
|
3165
|
+
}, {
|
|
3166
|
+
network?: string | undefined;
|
|
3167
|
+
address?: string | undefined;
|
|
3168
|
+
fee?: number | undefined;
|
|
3169
|
+
nonce?: number | undefined;
|
|
3170
|
+
postConditions?: string[] | undefined;
|
|
3171
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3172
|
+
sponsored?: boolean | undefined;
|
|
3173
|
+
}>>;
|
|
3126
3174
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3127
3175
|
params: {
|
|
3128
3176
|
recipient: string;
|
|
@@ -3130,6 +3178,14 @@ declare const stxTransferSip9Nft: {
|
|
|
3130
3178
|
assetId: string;
|
|
3131
3179
|
} & {
|
|
3132
3180
|
[k: string]: unknown;
|
|
3181
|
+
} & {
|
|
3182
|
+
network?: string | undefined;
|
|
3183
|
+
address?: string | undefined;
|
|
3184
|
+
fee?: number | undefined;
|
|
3185
|
+
nonce?: number | undefined;
|
|
3186
|
+
postConditions?: string[] | undefined;
|
|
3187
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3188
|
+
sponsored?: boolean | undefined;
|
|
3133
3189
|
};
|
|
3134
3190
|
id: string;
|
|
3135
3191
|
method: "stx_transferSip9Nft";
|
|
@@ -3141,6 +3197,14 @@ declare const stxTransferSip9Nft: {
|
|
|
3141
3197
|
assetId: string;
|
|
3142
3198
|
} & {
|
|
3143
3199
|
[k: string]: unknown;
|
|
3200
|
+
} & {
|
|
3201
|
+
network?: string | undefined;
|
|
3202
|
+
address?: string | undefined;
|
|
3203
|
+
fee?: number | undefined;
|
|
3204
|
+
nonce?: number | undefined;
|
|
3205
|
+
postConditions?: string[] | undefined;
|
|
3206
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3207
|
+
sponsored?: boolean | undefined;
|
|
3144
3208
|
};
|
|
3145
3209
|
id: string;
|
|
3146
3210
|
method: "stx_transferSip9Nft";
|
|
@@ -3208,7 +3272,7 @@ declare const stxTransferSip9Nft: {
|
|
|
3208
3272
|
|
|
3209
3273
|
declare const stxTransferSip10Ft: {
|
|
3210
3274
|
method: "stx_transferSip10Ft";
|
|
3211
|
-
params: z.ZodObject<{
|
|
3275
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
3212
3276
|
recipient: z.ZodString;
|
|
3213
3277
|
asset: z.ZodString;
|
|
3214
3278
|
amount: z.ZodNumber;
|
|
@@ -3220,7 +3284,31 @@ declare const stxTransferSip10Ft: {
|
|
|
3220
3284
|
recipient: z.ZodString;
|
|
3221
3285
|
asset: z.ZodString;
|
|
3222
3286
|
amount: z.ZodNumber;
|
|
3223
|
-
}, z.ZodTypeAny, "passthrough"
|
|
3287
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
3288
|
+
address: z.ZodOptional<z.ZodString>;
|
|
3289
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
3290
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
3291
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
3292
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3293
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
3294
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
3295
|
+
}, "strip", z.ZodTypeAny, {
|
|
3296
|
+
network?: string | undefined;
|
|
3297
|
+
address?: string | undefined;
|
|
3298
|
+
fee?: number | undefined;
|
|
3299
|
+
nonce?: number | undefined;
|
|
3300
|
+
postConditions?: string[] | undefined;
|
|
3301
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3302
|
+
sponsored?: boolean | undefined;
|
|
3303
|
+
}, {
|
|
3304
|
+
network?: string | undefined;
|
|
3305
|
+
address?: string | undefined;
|
|
3306
|
+
fee?: number | undefined;
|
|
3307
|
+
nonce?: number | undefined;
|
|
3308
|
+
postConditions?: string[] | undefined;
|
|
3309
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3310
|
+
sponsored?: boolean | undefined;
|
|
3311
|
+
}>>;
|
|
3224
3312
|
result: z.ZodObject<{
|
|
3225
3313
|
txid: z.ZodString;
|
|
3226
3314
|
transaction: z.ZodString;
|
|
@@ -3245,7 +3333,7 @@ declare const stxTransferSip10Ft: {
|
|
|
3245
3333
|
id: z.ZodString;
|
|
3246
3334
|
}, {
|
|
3247
3335
|
method: z.ZodLiteral<"stx_transferSip10Ft">;
|
|
3248
|
-
params: z.ZodObject<{
|
|
3336
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
3249
3337
|
recipient: z.ZodString;
|
|
3250
3338
|
asset: z.ZodString;
|
|
3251
3339
|
amount: z.ZodNumber;
|
|
@@ -3257,7 +3345,31 @@ declare const stxTransferSip10Ft: {
|
|
|
3257
3345
|
recipient: z.ZodString;
|
|
3258
3346
|
asset: z.ZodString;
|
|
3259
3347
|
amount: z.ZodNumber;
|
|
3260
|
-
}, z.ZodTypeAny, "passthrough"
|
|
3348
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
3349
|
+
address: z.ZodOptional<z.ZodString>;
|
|
3350
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
3351
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
3352
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
3353
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3354
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
3355
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
3356
|
+
}, "strip", z.ZodTypeAny, {
|
|
3357
|
+
network?: string | undefined;
|
|
3358
|
+
address?: string | undefined;
|
|
3359
|
+
fee?: number | undefined;
|
|
3360
|
+
nonce?: number | undefined;
|
|
3361
|
+
postConditions?: string[] | undefined;
|
|
3362
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3363
|
+
sponsored?: boolean | undefined;
|
|
3364
|
+
}, {
|
|
3365
|
+
network?: string | undefined;
|
|
3366
|
+
address?: string | undefined;
|
|
3367
|
+
fee?: number | undefined;
|
|
3368
|
+
nonce?: number | undefined;
|
|
3369
|
+
postConditions?: string[] | undefined;
|
|
3370
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3371
|
+
sponsored?: boolean | undefined;
|
|
3372
|
+
}>>;
|
|
3261
3373
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3262
3374
|
params: {
|
|
3263
3375
|
amount: number;
|
|
@@ -3265,6 +3377,14 @@ declare const stxTransferSip10Ft: {
|
|
|
3265
3377
|
asset: string;
|
|
3266
3378
|
} & {
|
|
3267
3379
|
[k: string]: unknown;
|
|
3380
|
+
} & {
|
|
3381
|
+
network?: string | undefined;
|
|
3382
|
+
address?: string | undefined;
|
|
3383
|
+
fee?: number | undefined;
|
|
3384
|
+
nonce?: number | undefined;
|
|
3385
|
+
postConditions?: string[] | undefined;
|
|
3386
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3387
|
+
sponsored?: boolean | undefined;
|
|
3268
3388
|
};
|
|
3269
3389
|
id: string;
|
|
3270
3390
|
method: "stx_transferSip10Ft";
|
|
@@ -3276,6 +3396,14 @@ declare const stxTransferSip10Ft: {
|
|
|
3276
3396
|
asset: string;
|
|
3277
3397
|
} & {
|
|
3278
3398
|
[k: string]: unknown;
|
|
3399
|
+
} & {
|
|
3400
|
+
network?: string | undefined;
|
|
3401
|
+
address?: string | undefined;
|
|
3402
|
+
fee?: number | undefined;
|
|
3403
|
+
nonce?: number | undefined;
|
|
3404
|
+
postConditions?: string[] | undefined;
|
|
3405
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3406
|
+
sponsored?: boolean | undefined;
|
|
3279
3407
|
};
|
|
3280
3408
|
id: string;
|
|
3281
3409
|
method: "stx_transferSip10Ft";
|
|
@@ -3343,7 +3471,7 @@ declare const stxTransferSip10Ft: {
|
|
|
3343
3471
|
|
|
3344
3472
|
declare const stxTransferStx: {
|
|
3345
3473
|
method: "stx_transferStx";
|
|
3346
|
-
params: z.ZodObject<{
|
|
3474
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
3347
3475
|
recipient: z.ZodString;
|
|
3348
3476
|
amount: z.ZodNumber;
|
|
3349
3477
|
memo: z.ZodOptional<z.ZodString>;
|
|
@@ -3355,7 +3483,31 @@ declare const stxTransferStx: {
|
|
|
3355
3483
|
recipient: z.ZodString;
|
|
3356
3484
|
amount: z.ZodNumber;
|
|
3357
3485
|
memo: z.ZodOptional<z.ZodString>;
|
|
3358
|
-
}, z.ZodTypeAny, "passthrough"
|
|
3486
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
3487
|
+
address: z.ZodOptional<z.ZodString>;
|
|
3488
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
3489
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
3490
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
3491
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3492
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
3493
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
3494
|
+
}, "strip", z.ZodTypeAny, {
|
|
3495
|
+
network?: string | undefined;
|
|
3496
|
+
address?: string | undefined;
|
|
3497
|
+
fee?: number | undefined;
|
|
3498
|
+
nonce?: number | undefined;
|
|
3499
|
+
postConditions?: string[] | undefined;
|
|
3500
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3501
|
+
sponsored?: boolean | undefined;
|
|
3502
|
+
}, {
|
|
3503
|
+
network?: string | undefined;
|
|
3504
|
+
address?: string | undefined;
|
|
3505
|
+
fee?: number | undefined;
|
|
3506
|
+
nonce?: number | undefined;
|
|
3507
|
+
postConditions?: string[] | undefined;
|
|
3508
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3509
|
+
sponsored?: boolean | undefined;
|
|
3510
|
+
}>>;
|
|
3359
3511
|
result: z.ZodObject<{
|
|
3360
3512
|
txid: z.ZodString;
|
|
3361
3513
|
transaction: z.ZodString;
|
|
@@ -3380,7 +3532,7 @@ declare const stxTransferStx: {
|
|
|
3380
3532
|
id: z.ZodString;
|
|
3381
3533
|
}, {
|
|
3382
3534
|
method: z.ZodLiteral<"stx_transferStx">;
|
|
3383
|
-
params: z.ZodObject<{
|
|
3535
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
3384
3536
|
recipient: z.ZodString;
|
|
3385
3537
|
amount: z.ZodNumber;
|
|
3386
3538
|
memo: z.ZodOptional<z.ZodString>;
|
|
@@ -3392,7 +3544,31 @@ declare const stxTransferStx: {
|
|
|
3392
3544
|
recipient: z.ZodString;
|
|
3393
3545
|
amount: z.ZodNumber;
|
|
3394
3546
|
memo: z.ZodOptional<z.ZodString>;
|
|
3395
|
-
}, z.ZodTypeAny, "passthrough"
|
|
3547
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
3548
|
+
address: z.ZodOptional<z.ZodString>;
|
|
3549
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
3550
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
3551
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
3552
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3553
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
3554
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
3555
|
+
}, "strip", z.ZodTypeAny, {
|
|
3556
|
+
network?: string | undefined;
|
|
3557
|
+
address?: string | undefined;
|
|
3558
|
+
fee?: number | undefined;
|
|
3559
|
+
nonce?: number | undefined;
|
|
3560
|
+
postConditions?: string[] | undefined;
|
|
3561
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3562
|
+
sponsored?: boolean | undefined;
|
|
3563
|
+
}, {
|
|
3564
|
+
network?: string | undefined;
|
|
3565
|
+
address?: string | undefined;
|
|
3566
|
+
fee?: number | undefined;
|
|
3567
|
+
nonce?: number | undefined;
|
|
3568
|
+
postConditions?: string[] | undefined;
|
|
3569
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3570
|
+
sponsored?: boolean | undefined;
|
|
3571
|
+
}>>;
|
|
3396
3572
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
3397
3573
|
params: {
|
|
3398
3574
|
amount: number;
|
|
@@ -3400,6 +3576,14 @@ declare const stxTransferStx: {
|
|
|
3400
3576
|
memo?: string | undefined;
|
|
3401
3577
|
} & {
|
|
3402
3578
|
[k: string]: unknown;
|
|
3579
|
+
} & {
|
|
3580
|
+
network?: string | undefined;
|
|
3581
|
+
address?: string | undefined;
|
|
3582
|
+
fee?: number | undefined;
|
|
3583
|
+
nonce?: number | undefined;
|
|
3584
|
+
postConditions?: string[] | undefined;
|
|
3585
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3586
|
+
sponsored?: boolean | undefined;
|
|
3403
3587
|
};
|
|
3404
3588
|
id: string;
|
|
3405
3589
|
method: "stx_transferStx";
|
|
@@ -3411,6 +3595,14 @@ declare const stxTransferStx: {
|
|
|
3411
3595
|
memo?: string | undefined;
|
|
3412
3596
|
} & {
|
|
3413
3597
|
[k: string]: unknown;
|
|
3598
|
+
} & {
|
|
3599
|
+
network?: string | undefined;
|
|
3600
|
+
address?: string | undefined;
|
|
3601
|
+
fee?: number | undefined;
|
|
3602
|
+
nonce?: number | undefined;
|
|
3603
|
+
postConditions?: string[] | undefined;
|
|
3604
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
3605
|
+
sponsored?: boolean | undefined;
|
|
3414
3606
|
};
|
|
3415
3607
|
id: string;
|
|
3416
3608
|
method: "stx_transferStx";
|
|
@@ -6462,7 +6654,7 @@ declare const endpoints: {
|
|
|
6462
6654
|
};
|
|
6463
6655
|
readonly stxTransferSip10Ft: {
|
|
6464
6656
|
method: "stx_transferSip10Ft";
|
|
6465
|
-
params: z.ZodObject<{
|
|
6657
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
6466
6658
|
recipient: z.ZodString;
|
|
6467
6659
|
asset: z.ZodString;
|
|
6468
6660
|
amount: z.ZodNumber;
|
|
@@ -6474,7 +6666,31 @@ declare const endpoints: {
|
|
|
6474
6666
|
recipient: z.ZodString;
|
|
6475
6667
|
asset: z.ZodString;
|
|
6476
6668
|
amount: z.ZodNumber;
|
|
6477
|
-
}, z.ZodTypeAny, "passthrough"
|
|
6669
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6670
|
+
address: z.ZodOptional<z.ZodString>;
|
|
6671
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
6672
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
6673
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
6674
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6675
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
6676
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
6677
|
+
}, "strip", z.ZodTypeAny, {
|
|
6678
|
+
network?: string | undefined;
|
|
6679
|
+
address?: string | undefined;
|
|
6680
|
+
fee?: number | undefined;
|
|
6681
|
+
nonce?: number | undefined;
|
|
6682
|
+
postConditions?: string[] | undefined;
|
|
6683
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6684
|
+
sponsored?: boolean | undefined;
|
|
6685
|
+
}, {
|
|
6686
|
+
network?: string | undefined;
|
|
6687
|
+
address?: string | undefined;
|
|
6688
|
+
fee?: number | undefined;
|
|
6689
|
+
nonce?: number | undefined;
|
|
6690
|
+
postConditions?: string[] | undefined;
|
|
6691
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6692
|
+
sponsored?: boolean | undefined;
|
|
6693
|
+
}>>;
|
|
6478
6694
|
result: z.ZodObject<{
|
|
6479
6695
|
txid: z.ZodString;
|
|
6480
6696
|
transaction: z.ZodString;
|
|
@@ -6499,7 +6715,7 @@ declare const endpoints: {
|
|
|
6499
6715
|
id: z.ZodString;
|
|
6500
6716
|
}, {
|
|
6501
6717
|
method: z.ZodLiteral<"stx_transferSip10Ft">;
|
|
6502
|
-
params: z.ZodObject<{
|
|
6718
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
6503
6719
|
recipient: z.ZodString;
|
|
6504
6720
|
asset: z.ZodString;
|
|
6505
6721
|
amount: z.ZodNumber;
|
|
@@ -6511,7 +6727,31 @@ declare const endpoints: {
|
|
|
6511
6727
|
recipient: z.ZodString;
|
|
6512
6728
|
asset: z.ZodString;
|
|
6513
6729
|
amount: z.ZodNumber;
|
|
6514
|
-
}, z.ZodTypeAny, "passthrough"
|
|
6730
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6731
|
+
address: z.ZodOptional<z.ZodString>;
|
|
6732
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
6733
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
6734
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
6735
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6736
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
6737
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
6738
|
+
}, "strip", z.ZodTypeAny, {
|
|
6739
|
+
network?: string | undefined;
|
|
6740
|
+
address?: string | undefined;
|
|
6741
|
+
fee?: number | undefined;
|
|
6742
|
+
nonce?: number | undefined;
|
|
6743
|
+
postConditions?: string[] | undefined;
|
|
6744
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6745
|
+
sponsored?: boolean | undefined;
|
|
6746
|
+
}, {
|
|
6747
|
+
network?: string | undefined;
|
|
6748
|
+
address?: string | undefined;
|
|
6749
|
+
fee?: number | undefined;
|
|
6750
|
+
nonce?: number | undefined;
|
|
6751
|
+
postConditions?: string[] | undefined;
|
|
6752
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6753
|
+
sponsored?: boolean | undefined;
|
|
6754
|
+
}>>;
|
|
6515
6755
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
6516
6756
|
params: {
|
|
6517
6757
|
amount: number;
|
|
@@ -6519,6 +6759,14 @@ declare const endpoints: {
|
|
|
6519
6759
|
asset: string;
|
|
6520
6760
|
} & {
|
|
6521
6761
|
[k: string]: unknown;
|
|
6762
|
+
} & {
|
|
6763
|
+
network?: string | undefined;
|
|
6764
|
+
address?: string | undefined;
|
|
6765
|
+
fee?: number | undefined;
|
|
6766
|
+
nonce?: number | undefined;
|
|
6767
|
+
postConditions?: string[] | undefined;
|
|
6768
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6769
|
+
sponsored?: boolean | undefined;
|
|
6522
6770
|
};
|
|
6523
6771
|
id: string;
|
|
6524
6772
|
method: "stx_transferSip10Ft";
|
|
@@ -6530,6 +6778,14 @@ declare const endpoints: {
|
|
|
6530
6778
|
asset: string;
|
|
6531
6779
|
} & {
|
|
6532
6780
|
[k: string]: unknown;
|
|
6781
|
+
} & {
|
|
6782
|
+
network?: string | undefined;
|
|
6783
|
+
address?: string | undefined;
|
|
6784
|
+
fee?: number | undefined;
|
|
6785
|
+
nonce?: number | undefined;
|
|
6786
|
+
postConditions?: string[] | undefined;
|
|
6787
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6788
|
+
sponsored?: boolean | undefined;
|
|
6533
6789
|
};
|
|
6534
6790
|
id: string;
|
|
6535
6791
|
method: "stx_transferSip10Ft";
|
|
@@ -6596,7 +6852,7 @@ declare const endpoints: {
|
|
|
6596
6852
|
};
|
|
6597
6853
|
readonly stxTransferSip9Nft: {
|
|
6598
6854
|
method: "stx_transferSip9Nft";
|
|
6599
|
-
params: z.ZodObject<{
|
|
6855
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
6600
6856
|
recipient: z.ZodString;
|
|
6601
6857
|
asset: z.ZodString;
|
|
6602
6858
|
assetId: z.ZodString;
|
|
@@ -6608,7 +6864,31 @@ declare const endpoints: {
|
|
|
6608
6864
|
recipient: z.ZodString;
|
|
6609
6865
|
asset: z.ZodString;
|
|
6610
6866
|
assetId: z.ZodString;
|
|
6611
|
-
}, z.ZodTypeAny, "passthrough"
|
|
6867
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6868
|
+
address: z.ZodOptional<z.ZodString>;
|
|
6869
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
6870
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
6871
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
6872
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6873
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
6874
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
6875
|
+
}, "strip", z.ZodTypeAny, {
|
|
6876
|
+
network?: string | undefined;
|
|
6877
|
+
address?: string | undefined;
|
|
6878
|
+
fee?: number | undefined;
|
|
6879
|
+
nonce?: number | undefined;
|
|
6880
|
+
postConditions?: string[] | undefined;
|
|
6881
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6882
|
+
sponsored?: boolean | undefined;
|
|
6883
|
+
}, {
|
|
6884
|
+
network?: string | undefined;
|
|
6885
|
+
address?: string | undefined;
|
|
6886
|
+
fee?: number | undefined;
|
|
6887
|
+
nonce?: number | undefined;
|
|
6888
|
+
postConditions?: string[] | undefined;
|
|
6889
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6890
|
+
sponsored?: boolean | undefined;
|
|
6891
|
+
}>>;
|
|
6612
6892
|
result: z.ZodObject<{
|
|
6613
6893
|
txid: z.ZodString;
|
|
6614
6894
|
transaction: z.ZodString;
|
|
@@ -6633,7 +6913,7 @@ declare const endpoints: {
|
|
|
6633
6913
|
id: z.ZodString;
|
|
6634
6914
|
}, {
|
|
6635
6915
|
method: z.ZodLiteral<"stx_transferSip9Nft">;
|
|
6636
|
-
params: z.ZodObject<{
|
|
6916
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
6637
6917
|
recipient: z.ZodString;
|
|
6638
6918
|
asset: z.ZodString;
|
|
6639
6919
|
assetId: z.ZodString;
|
|
@@ -6645,7 +6925,31 @@ declare const endpoints: {
|
|
|
6645
6925
|
recipient: z.ZodString;
|
|
6646
6926
|
asset: z.ZodString;
|
|
6647
6927
|
assetId: z.ZodString;
|
|
6648
|
-
}, z.ZodTypeAny, "passthrough"
|
|
6928
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
6929
|
+
address: z.ZodOptional<z.ZodString>;
|
|
6930
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
6931
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
6932
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
6933
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6934
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
6935
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
6936
|
+
}, "strip", z.ZodTypeAny, {
|
|
6937
|
+
network?: string | undefined;
|
|
6938
|
+
address?: string | undefined;
|
|
6939
|
+
fee?: number | undefined;
|
|
6940
|
+
nonce?: number | undefined;
|
|
6941
|
+
postConditions?: string[] | undefined;
|
|
6942
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6943
|
+
sponsored?: boolean | undefined;
|
|
6944
|
+
}, {
|
|
6945
|
+
network?: string | undefined;
|
|
6946
|
+
address?: string | undefined;
|
|
6947
|
+
fee?: number | undefined;
|
|
6948
|
+
nonce?: number | undefined;
|
|
6949
|
+
postConditions?: string[] | undefined;
|
|
6950
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6951
|
+
sponsored?: boolean | undefined;
|
|
6952
|
+
}>>;
|
|
6649
6953
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
6650
6954
|
params: {
|
|
6651
6955
|
recipient: string;
|
|
@@ -6653,6 +6957,14 @@ declare const endpoints: {
|
|
|
6653
6957
|
assetId: string;
|
|
6654
6958
|
} & {
|
|
6655
6959
|
[k: string]: unknown;
|
|
6960
|
+
} & {
|
|
6961
|
+
network?: string | undefined;
|
|
6962
|
+
address?: string | undefined;
|
|
6963
|
+
fee?: number | undefined;
|
|
6964
|
+
nonce?: number | undefined;
|
|
6965
|
+
postConditions?: string[] | undefined;
|
|
6966
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6967
|
+
sponsored?: boolean | undefined;
|
|
6656
6968
|
};
|
|
6657
6969
|
id: string;
|
|
6658
6970
|
method: "stx_transferSip9Nft";
|
|
@@ -6664,6 +6976,14 @@ declare const endpoints: {
|
|
|
6664
6976
|
assetId: string;
|
|
6665
6977
|
} & {
|
|
6666
6978
|
[k: string]: unknown;
|
|
6979
|
+
} & {
|
|
6980
|
+
network?: string | undefined;
|
|
6981
|
+
address?: string | undefined;
|
|
6982
|
+
fee?: number | undefined;
|
|
6983
|
+
nonce?: number | undefined;
|
|
6984
|
+
postConditions?: string[] | undefined;
|
|
6985
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
6986
|
+
sponsored?: boolean | undefined;
|
|
6667
6987
|
};
|
|
6668
6988
|
id: string;
|
|
6669
6989
|
method: "stx_transferSip9Nft";
|
|
@@ -6730,7 +7050,7 @@ declare const endpoints: {
|
|
|
6730
7050
|
};
|
|
6731
7051
|
readonly stxTransferStx: {
|
|
6732
7052
|
method: "stx_transferStx";
|
|
6733
|
-
params: z.ZodObject<{
|
|
7053
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
6734
7054
|
recipient: z.ZodString;
|
|
6735
7055
|
amount: z.ZodNumber;
|
|
6736
7056
|
memo: z.ZodOptional<z.ZodString>;
|
|
@@ -6742,7 +7062,31 @@ declare const endpoints: {
|
|
|
6742
7062
|
recipient: z.ZodString;
|
|
6743
7063
|
amount: z.ZodNumber;
|
|
6744
7064
|
memo: z.ZodOptional<z.ZodString>;
|
|
6745
|
-
}, z.ZodTypeAny, "passthrough"
|
|
7065
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7066
|
+
address: z.ZodOptional<z.ZodString>;
|
|
7067
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
7068
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
7069
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
7070
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7071
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
7072
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
7073
|
+
}, "strip", z.ZodTypeAny, {
|
|
7074
|
+
network?: string | undefined;
|
|
7075
|
+
address?: string | undefined;
|
|
7076
|
+
fee?: number | undefined;
|
|
7077
|
+
nonce?: number | undefined;
|
|
7078
|
+
postConditions?: string[] | undefined;
|
|
7079
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
7080
|
+
sponsored?: boolean | undefined;
|
|
7081
|
+
}, {
|
|
7082
|
+
network?: string | undefined;
|
|
7083
|
+
address?: string | undefined;
|
|
7084
|
+
fee?: number | undefined;
|
|
7085
|
+
nonce?: number | undefined;
|
|
7086
|
+
postConditions?: string[] | undefined;
|
|
7087
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
7088
|
+
sponsored?: boolean | undefined;
|
|
7089
|
+
}>>;
|
|
6746
7090
|
result: z.ZodObject<{
|
|
6747
7091
|
txid: z.ZodString;
|
|
6748
7092
|
transaction: z.ZodString;
|
|
@@ -6767,7 +7111,7 @@ declare const endpoints: {
|
|
|
6767
7111
|
id: z.ZodString;
|
|
6768
7112
|
}, {
|
|
6769
7113
|
method: z.ZodLiteral<"stx_transferStx">;
|
|
6770
|
-
params: z.ZodObject<{
|
|
7114
|
+
params: z.ZodIntersection<z.ZodObject<{
|
|
6771
7115
|
recipient: z.ZodString;
|
|
6772
7116
|
amount: z.ZodNumber;
|
|
6773
7117
|
memo: z.ZodOptional<z.ZodString>;
|
|
@@ -6779,7 +7123,31 @@ declare const endpoints: {
|
|
|
6779
7123
|
recipient: z.ZodString;
|
|
6780
7124
|
amount: z.ZodNumber;
|
|
6781
7125
|
memo: z.ZodOptional<z.ZodString>;
|
|
6782
|
-
}, z.ZodTypeAny, "passthrough"
|
|
7126
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
7127
|
+
address: z.ZodOptional<z.ZodString>;
|
|
7128
|
+
network: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"mainnet">, z.ZodLiteral<"testnet">, z.ZodLiteral<"regtest">, z.ZodLiteral<"devnet">, z.ZodLiteral<"mocknet">, z.ZodString]>>;
|
|
7129
|
+
fee: z.ZodOptional<z.ZodNumber>;
|
|
7130
|
+
nonce: z.ZodOptional<z.ZodNumber>;
|
|
7131
|
+
postConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7132
|
+
postConditionMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"allow">, z.ZodLiteral<"deny">]>>;
|
|
7133
|
+
sponsored: z.ZodOptional<z.ZodBoolean>;
|
|
7134
|
+
}, "strip", z.ZodTypeAny, {
|
|
7135
|
+
network?: string | undefined;
|
|
7136
|
+
address?: string | undefined;
|
|
7137
|
+
fee?: number | undefined;
|
|
7138
|
+
nonce?: number | undefined;
|
|
7139
|
+
postConditions?: string[] | undefined;
|
|
7140
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
7141
|
+
sponsored?: boolean | undefined;
|
|
7142
|
+
}, {
|
|
7143
|
+
network?: string | undefined;
|
|
7144
|
+
address?: string | undefined;
|
|
7145
|
+
fee?: number | undefined;
|
|
7146
|
+
nonce?: number | undefined;
|
|
7147
|
+
postConditions?: string[] | undefined;
|
|
7148
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
7149
|
+
sponsored?: boolean | undefined;
|
|
7150
|
+
}>>;
|
|
6783
7151
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
6784
7152
|
params: {
|
|
6785
7153
|
amount: number;
|
|
@@ -6787,6 +7155,14 @@ declare const endpoints: {
|
|
|
6787
7155
|
memo?: string | undefined;
|
|
6788
7156
|
} & {
|
|
6789
7157
|
[k: string]: unknown;
|
|
7158
|
+
} & {
|
|
7159
|
+
network?: string | undefined;
|
|
7160
|
+
address?: string | undefined;
|
|
7161
|
+
fee?: number | undefined;
|
|
7162
|
+
nonce?: number | undefined;
|
|
7163
|
+
postConditions?: string[] | undefined;
|
|
7164
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
7165
|
+
sponsored?: boolean | undefined;
|
|
6790
7166
|
};
|
|
6791
7167
|
id: string;
|
|
6792
7168
|
method: "stx_transferStx";
|
|
@@ -6798,6 +7174,14 @@ declare const endpoints: {
|
|
|
6798
7174
|
memo?: string | undefined;
|
|
6799
7175
|
} & {
|
|
6800
7176
|
[k: string]: unknown;
|
|
7177
|
+
} & {
|
|
7178
|
+
network?: string | undefined;
|
|
7179
|
+
address?: string | undefined;
|
|
7180
|
+
fee?: number | undefined;
|
|
7181
|
+
nonce?: number | undefined;
|
|
7182
|
+
postConditions?: string[] | undefined;
|
|
7183
|
+
postConditionMode?: "allow" | "deny" | undefined;
|
|
7184
|
+
sponsored?: boolean | undefined;
|
|
6801
7185
|
};
|
|
6802
7186
|
id: string;
|
|
6803
7187
|
method: "stx_transferStx";
|