@privy-io/api-types 0.17.0 → 0.18.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.
- package/CHANGELOG.md +15 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +1 -1
- package/resources/accounts.d.ts +1 -1
- package/resources/apps.d.mts +3 -3
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +3 -3
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +31 -1
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +31 -1
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/onramps.d.mts +4 -4
- package/resources/onramps.d.ts +4 -4
- package/resources/swaps.d.mts +2 -1
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +2 -1
- package/resources/swaps.d.ts.map +1 -1
- package/resources/users.d.mts +9 -2
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +9 -2
- package/resources/users.d.ts.map +1 -1
- package/resources/wallets/actions.d.mts +8 -8
- package/resources/wallets/actions.d.ts +8 -8
- package/resources/wallets/balance.d.mts +4 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +4 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/transactions.d.mts +1 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +1 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +67 -55
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +67 -55
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +22 -15
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +22 -15
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +7 -4
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +7 -4
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +12 -0
- package/src/resources/accounts.ts +1 -1
- package/src/resources/apps.ts +3 -3
- package/src/resources/client-auth.ts +42 -0
- package/src/resources/index.ts +6 -0
- package/src/resources/onramps.ts +4 -4
- package/src/resources/swaps.ts +2 -1
- package/src/resources/users.ts +11 -1
- package/src/resources/wallets/actions.ts +8 -8
- package/src/resources/wallets/balance.ts +4 -2
- package/src/resources/wallets/transactions.ts +1 -0
- package/src/resources/wallets/wallets.ts +70 -51
- package/src/resources/webhooks.ts +22 -15
- package/src/resources/yield.ts +7 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -385,7 +385,7 @@ export interface CustomTokenTransferSource {
|
|
|
385
385
|
asset_address: string;
|
|
386
386
|
/**
|
|
387
387
|
* The blockchain network on which to perform the transfer. Supported chains
|
|
388
|
-
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
388
|
+
* include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
389
389
|
* respective testnets.
|
|
390
390
|
*/
|
|
391
391
|
chain: string;
|
|
@@ -465,7 +465,7 @@ export interface EthereumPersonalSignRpcInput {
|
|
|
465
465
|
params: EthereumPersonalSignRpcInputParams;
|
|
466
466
|
address?: string;
|
|
467
467
|
/**
|
|
468
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
468
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
469
469
|
*/
|
|
470
470
|
caip2?: AppsAPI.Caip2;
|
|
471
471
|
chain_type?: 'ethereum';
|
|
@@ -526,7 +526,7 @@ export interface EthereumSecp256k1SignRpcInput {
|
|
|
526
526
|
*/
|
|
527
527
|
export interface EthereumSecp256k1SignRpcInputParams {
|
|
528
528
|
/**
|
|
529
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
529
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
530
530
|
* bytes).
|
|
531
531
|
*/
|
|
532
532
|
hash: Hex;
|
|
@@ -547,7 +547,7 @@ export interface EthereumSecp256k1SignRpcResponse {
|
|
|
547
547
|
export interface EthereumSecp256k1SignRpcResponseData {
|
|
548
548
|
encoding: 'hex';
|
|
549
549
|
/**
|
|
550
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
550
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
551
551
|
* bytes).
|
|
552
552
|
*/
|
|
553
553
|
signature: Hex;
|
|
@@ -558,7 +558,7 @@ export interface EthereumSecp256k1SignRpcResponseData {
|
|
|
558
558
|
export interface EthereumSendCallsCall {
|
|
559
559
|
to: string;
|
|
560
560
|
/**
|
|
561
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
561
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
562
562
|
* bytes).
|
|
563
563
|
*/
|
|
564
564
|
data?: Hex;
|
|
@@ -574,7 +574,7 @@ export interface EthereumSendCallsCall {
|
|
|
574
574
|
*/
|
|
575
575
|
export interface EthereumSendCallsRpcInput {
|
|
576
576
|
/**
|
|
577
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
577
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
578
578
|
*/
|
|
579
579
|
caip2: AppsAPI.Caip2;
|
|
580
580
|
method: 'wallet_sendCalls';
|
|
@@ -585,7 +585,7 @@ export interface EthereumSendCallsRpcInput {
|
|
|
585
585
|
address?: string;
|
|
586
586
|
chain_type?: 'ethereum';
|
|
587
587
|
/**
|
|
588
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
588
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
589
589
|
* bytes).
|
|
590
590
|
*/
|
|
591
591
|
experimental_data_suffix?: Hex;
|
|
@@ -613,7 +613,7 @@ export interface EthereumSendCallsRpcResponse {
|
|
|
613
613
|
*/
|
|
614
614
|
export interface EthereumSendCallsRpcResponseData {
|
|
615
615
|
/**
|
|
616
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
616
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
617
617
|
*/
|
|
618
618
|
caip2: AppsAPI.Caip2;
|
|
619
619
|
transaction_id: string;
|
|
@@ -623,7 +623,7 @@ export interface EthereumSendCallsRpcResponseData {
|
|
|
623
623
|
*/
|
|
624
624
|
export interface EthereumSendTransactionRpcInput {
|
|
625
625
|
/**
|
|
626
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
626
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
627
627
|
*/
|
|
628
628
|
caip2: AppsAPI.Caip2;
|
|
629
629
|
method: 'eth_sendTransaction';
|
|
@@ -634,7 +634,7 @@ export interface EthereumSendTransactionRpcInput {
|
|
|
634
634
|
address?: string;
|
|
635
635
|
chain_type?: 'ethereum';
|
|
636
636
|
/**
|
|
637
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
637
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
638
638
|
* bytes).
|
|
639
639
|
*/
|
|
640
640
|
experimental_data_suffix?: Hex;
|
|
@@ -667,7 +667,7 @@ export interface EthereumSendTransactionRpcResponse {
|
|
|
667
667
|
*/
|
|
668
668
|
export interface EthereumSendTransactionRpcResponseData {
|
|
669
669
|
/**
|
|
670
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
670
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
671
671
|
*/
|
|
672
672
|
caip2: AppsAPI.Caip2;
|
|
673
673
|
hash: string;
|
|
@@ -697,12 +697,12 @@ export interface EthereumSign7702Authorization {
|
|
|
697
697
|
*/
|
|
698
698
|
nonce: Quantity;
|
|
699
699
|
/**
|
|
700
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
700
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
701
701
|
* bytes).
|
|
702
702
|
*/
|
|
703
703
|
r: Hex;
|
|
704
704
|
/**
|
|
705
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
705
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
706
706
|
* bytes).
|
|
707
707
|
*/
|
|
708
708
|
s: Hex;
|
|
@@ -810,7 +810,7 @@ export interface EthereumSignTypedDataRpcInput {
|
|
|
810
810
|
params: EthereumSignTypedDataRpcInputParams;
|
|
811
811
|
address?: string;
|
|
812
812
|
/**
|
|
813
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
813
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
814
814
|
*/
|
|
815
815
|
caip2?: AppsAPI.Caip2;
|
|
816
816
|
chain_type?: 'ethereum';
|
|
@@ -1116,7 +1116,7 @@ export interface HpkeImportConfig {
|
|
|
1116
1116
|
info?: string;
|
|
1117
1117
|
}
|
|
1118
1118
|
/**
|
|
1119
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1119
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1120
1120
|
* bytes).
|
|
1121
1121
|
*/
|
|
1122
1122
|
export type Hex = string;
|
|
@@ -1133,13 +1133,13 @@ export interface IntentBinding {
|
|
|
1133
1133
|
*/
|
|
1134
1134
|
export interface NamedTokenTransferSource {
|
|
1135
1135
|
/**
|
|
1136
|
-
* The asset to transfer. Supported: 'usdc', 'usdb', 'usdt'
|
|
1137
|
-
* (native Ethereum), 'sol' (native Solana).
|
|
1136
|
+
* The asset to transfer. Supported: 'usdc', 'usdb', 'usdt', 'pathusd'
|
|
1137
|
+
* (stablecoins), 'eth' (native Ethereum), 'sol' (native Solana).
|
|
1138
1138
|
*/
|
|
1139
1139
|
asset: string;
|
|
1140
1140
|
/**
|
|
1141
1141
|
* The blockchain network on which to perform the transfer. Supported chains
|
|
1142
|
-
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
1142
|
+
* include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
1143
1143
|
* respective testnets.
|
|
1144
1144
|
*/
|
|
1145
1145
|
chain: string;
|
|
@@ -1305,7 +1305,7 @@ export interface RawSignBytesParams {
|
|
|
1305
1305
|
*/
|
|
1306
1306
|
export interface RawSignHashParams {
|
|
1307
1307
|
/**
|
|
1308
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1308
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1309
1309
|
* bytes).
|
|
1310
1310
|
*/
|
|
1311
1311
|
hash: Hex;
|
|
@@ -1340,7 +1340,7 @@ export interface RawSignResponse {
|
|
|
1340
1340
|
export interface RawSignResponseData {
|
|
1341
1341
|
encoding: 'hex';
|
|
1342
1342
|
/**
|
|
1343
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1343
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1344
1344
|
* bytes).
|
|
1345
1345
|
*/
|
|
1346
1346
|
signature: Hex;
|
|
@@ -1443,7 +1443,7 @@ export type SolanaRpcResponse = SolanaSignMessageRpcResponse | SolanaSignTransac
|
|
|
1443
1443
|
*/
|
|
1444
1444
|
export interface SolanaSignAndSendTransactionRpcInput {
|
|
1445
1445
|
/**
|
|
1446
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
1446
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
1447
1447
|
*/
|
|
1448
1448
|
caip2: AppsAPI.Caip2;
|
|
1449
1449
|
method: 'signAndSendTransaction';
|
|
@@ -1480,7 +1480,7 @@ export interface SolanaSignAndSendTransactionRpcResponse {
|
|
|
1480
1480
|
*/
|
|
1481
1481
|
export interface SolanaSignAndSendTransactionRpcResponseData {
|
|
1482
1482
|
/**
|
|
1483
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
1483
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
1484
1484
|
*/
|
|
1485
1485
|
caip2: AppsAPI.Caip2;
|
|
1486
1486
|
hash: string;
|
|
@@ -2189,7 +2189,7 @@ export interface TempoAaAuthorization {
|
|
|
2189
2189
|
*/
|
|
2190
2190
|
nonce: Quantity;
|
|
2191
2191
|
/**
|
|
2192
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2192
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2193
2193
|
* bytes).
|
|
2194
2194
|
*/
|
|
2195
2195
|
signature: Hex;
|
|
@@ -2200,7 +2200,7 @@ export interface TempoAaAuthorization {
|
|
|
2200
2200
|
export interface TempoCall {
|
|
2201
2201
|
to: string;
|
|
2202
2202
|
/**
|
|
2203
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2203
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2204
2204
|
* bytes).
|
|
2205
2205
|
*/
|
|
2206
2206
|
data?: Hex;
|
|
@@ -2215,12 +2215,12 @@ export interface TempoCall {
|
|
|
2215
2215
|
*/
|
|
2216
2216
|
export interface TempoFeePayerSignature {
|
|
2217
2217
|
/**
|
|
2218
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2218
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2219
2219
|
* bytes).
|
|
2220
2220
|
*/
|
|
2221
2221
|
r: Hex;
|
|
2222
2222
|
/**
|
|
2223
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2223
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2224
2224
|
* bytes).
|
|
2225
2225
|
*/
|
|
2226
2226
|
s: Hex;
|
|
@@ -2255,7 +2255,7 @@ export interface TokenTransferDestination {
|
|
|
2255
2255
|
asset?: string;
|
|
2256
2256
|
/**
|
|
2257
2257
|
* The destination blockchain network. Required for cross-chain transfers (e.g.,
|
|
2258
|
-
* source '
|
|
2258
|
+
* source 'tempo' to destination 'base').
|
|
2259
2259
|
*/
|
|
2260
2260
|
chain?: string;
|
|
2261
2261
|
}
|
|
@@ -2280,7 +2280,7 @@ export interface TotalFeeConfigurationBps {
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* Chains supported for transaction history queries.
|
|
2282
2282
|
*/
|
|
2283
|
-
export type TransactionChainNameInput = 'ethereum' | 'arbitrum' | 'avalanche' | 'base' | 'bsc' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
|
|
2283
|
+
export type TransactionChainNameInput = 'ethereum' | 'arbitrum' | 'avalanche' | 'base' | 'base_sepolia' | 'bsc' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
|
|
2284
2284
|
/**
|
|
2285
2285
|
* Details of a wallet transaction, varying by transaction type.
|
|
2286
2286
|
*/
|
|
@@ -2372,7 +2372,7 @@ export interface TransferQuoteResponse {
|
|
|
2372
2372
|
* Details for a received transfer transaction.
|
|
2373
2373
|
*/
|
|
2374
2374
|
export interface TransferReceivedTransactionDetail {
|
|
2375
|
-
asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'sol' | 'trx' | (string & {});
|
|
2375
|
+
asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'pathusd' | 'sol' | 'trx' | (string & {});
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Supported blockchain network names for wallet balance and transaction queries.
|
|
2378
2378
|
*/
|
|
@@ -2426,7 +2426,7 @@ export interface TransferRequestBody {
|
|
|
2426
2426
|
* Details for a sent transfer transaction.
|
|
2427
2427
|
*/
|
|
2428
2428
|
export interface TransferSentTransactionDetail {
|
|
2429
|
-
asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'sol' | 'trx' | (string & {});
|
|
2429
|
+
asset: 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'pathusd' | 'sol' | 'trx' | (string & {});
|
|
2430
2430
|
/**
|
|
2431
2431
|
* Supported blockchain network names for wallet balance and transaction queries.
|
|
2432
2432
|
*/
|
|
@@ -2492,7 +2492,7 @@ export interface TronSendTransactionRpcInput {
|
|
|
2492
2492
|
*/
|
|
2493
2493
|
params: TronSendTransactionRpcInputParams;
|
|
2494
2494
|
/**
|
|
2495
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
2495
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
2496
2496
|
*/
|
|
2497
2497
|
caip2?: AppsAPI.Caip2;
|
|
2498
2498
|
}
|
|
@@ -2522,7 +2522,7 @@ export interface TronSendTransactionRpcResponse {
|
|
|
2522
2522
|
*/
|
|
2523
2523
|
export interface TronSendTransactionRpcResponseData {
|
|
2524
2524
|
/**
|
|
2525
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
2525
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
2526
2526
|
*/
|
|
2527
2527
|
caip2: AppsAPI.Caip2;
|
|
2528
2528
|
hash: string;
|
|
@@ -2640,7 +2640,7 @@ export interface UnsignedStandardEthereumTransaction {
|
|
|
2640
2640
|
*/
|
|
2641
2641
|
chain_id?: Quantity;
|
|
2642
2642
|
/**
|
|
2643
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2643
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2644
2644
|
* bytes).
|
|
2645
2645
|
*/
|
|
2646
2646
|
data?: Hex;
|
|
@@ -2738,54 +2738,60 @@ export interface UnsignedTempoTransaction {
|
|
|
2738
2738
|
*/
|
|
2739
2739
|
export interface UserOperationInput {
|
|
2740
2740
|
/**
|
|
2741
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2741
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2742
2742
|
* bytes).
|
|
2743
2743
|
*/
|
|
2744
2744
|
call_data: Hex;
|
|
2745
2745
|
/**
|
|
2746
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2746
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2747
2747
|
* bytes).
|
|
2748
2748
|
*/
|
|
2749
2749
|
call_gas_limit: Hex;
|
|
2750
2750
|
/**
|
|
2751
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2751
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2752
2752
|
* bytes).
|
|
2753
2753
|
*/
|
|
2754
2754
|
max_fee_per_gas: Hex;
|
|
2755
2755
|
/**
|
|
2756
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2756
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2757
2757
|
* bytes).
|
|
2758
2758
|
*/
|
|
2759
2759
|
max_priority_fee_per_gas: Hex;
|
|
2760
2760
|
/**
|
|
2761
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2761
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2762
2762
|
* bytes).
|
|
2763
2763
|
*/
|
|
2764
2764
|
nonce: Hex;
|
|
2765
2765
|
/**
|
|
2766
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2766
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2767
2767
|
* bytes).
|
|
2768
2768
|
*/
|
|
2769
2769
|
pre_verification_gas: Hex;
|
|
2770
2770
|
sender: string;
|
|
2771
2771
|
/**
|
|
2772
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2772
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2773
2773
|
* bytes).
|
|
2774
2774
|
*/
|
|
2775
2775
|
verification_gas_limit: Hex;
|
|
2776
|
+
factory?: string;
|
|
2777
|
+
/**
|
|
2778
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2779
|
+
* bytes).
|
|
2780
|
+
*/
|
|
2781
|
+
factory_data?: Hex;
|
|
2776
2782
|
paymaster?: string;
|
|
2777
2783
|
/**
|
|
2778
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2784
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2779
2785
|
* bytes).
|
|
2780
2786
|
*/
|
|
2781
2787
|
paymaster_data?: Hex;
|
|
2782
2788
|
/**
|
|
2783
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2789
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2784
2790
|
* bytes).
|
|
2785
2791
|
*/
|
|
2786
2792
|
paymaster_post_op_gas_limit?: Hex;
|
|
2787
2793
|
/**
|
|
2788
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2794
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2789
2795
|
* bytes).
|
|
2790
2796
|
*/
|
|
2791
2797
|
paymaster_verification_gas_limit?: Hex;
|
|
@@ -2907,7 +2913,7 @@ export interface WalletAPIRevokeAuthorizationKeyInput {
|
|
|
2907
2913
|
/**
|
|
2908
2914
|
* A named asset supported across all chains.
|
|
2909
2915
|
*/
|
|
2910
|
-
export type WalletAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'sol' | 'trx';
|
|
2916
|
+
export type WalletAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'pathusd' | 'sol' | 'trx';
|
|
2911
2917
|
/**
|
|
2912
2918
|
* Supported blockchain network names for wallet balance and transaction queries.
|
|
2913
2919
|
*/
|
|
@@ -3120,7 +3126,7 @@ export type WalletEntropyType = 'hd' | 'private-key';
|
|
|
3120
3126
|
/**
|
|
3121
3127
|
* A named asset on Ethereum-compatible chains.
|
|
3122
3128
|
*/
|
|
3123
|
-
export type WalletEthereumAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb';
|
|
3129
|
+
export type WalletEthereumAsset = 'usdc' | 'usdc.e' | 'eth' | 'avax' | 'pol' | 'bnb' | 'usdt' | 'eurc' | 'usdb' | 'pathusd';
|
|
3124
3130
|
/**
|
|
3125
3131
|
* Request body for exporting a wallet private key.
|
|
3126
3132
|
*/
|
|
@@ -3424,7 +3430,8 @@ export declare namespace WalletRpcParams {
|
|
|
3424
3430
|
}
|
|
3425
3431
|
interface EthereumSendTransactionRpcInput {
|
|
3426
3432
|
/**
|
|
3427
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
3433
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
3434
|
+
* for Ethereum).
|
|
3428
3435
|
*/
|
|
3429
3436
|
caip2: AppsAPI.Caip2;
|
|
3430
3437
|
/**
|
|
@@ -3444,8 +3451,8 @@ export declare namespace WalletRpcParams {
|
|
|
3444
3451
|
*/
|
|
3445
3452
|
chain_type?: 'ethereum';
|
|
3446
3453
|
/**
|
|
3447
|
-
* Body param: A hex-encoded string prefixed with '0x', capped at
|
|
3448
|
-
* (
|
|
3454
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
|
|
3455
|
+
* (150,000 bytes).
|
|
3449
3456
|
*/
|
|
3450
3457
|
experimental_data_suffix?: Hex;
|
|
3451
3458
|
/**
|
|
@@ -3490,7 +3497,8 @@ export declare namespace WalletRpcParams {
|
|
|
3490
3497
|
*/
|
|
3491
3498
|
address?: string;
|
|
3492
3499
|
/**
|
|
3493
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
3500
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
3501
|
+
* for Ethereum).
|
|
3494
3502
|
*/
|
|
3495
3503
|
caip2?: AppsAPI.Caip2;
|
|
3496
3504
|
/**
|
|
@@ -3536,7 +3544,8 @@ export declare namespace WalletRpcParams {
|
|
|
3536
3544
|
*/
|
|
3537
3545
|
address?: string;
|
|
3538
3546
|
/**
|
|
3539
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
3547
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
3548
|
+
* for Ethereum).
|
|
3540
3549
|
*/
|
|
3541
3550
|
caip2?: AppsAPI.Caip2;
|
|
3542
3551
|
/**
|
|
@@ -3681,7 +3690,8 @@ export declare namespace WalletRpcParams {
|
|
|
3681
3690
|
}
|
|
3682
3691
|
interface EthereumSendCallsRpcInput {
|
|
3683
3692
|
/**
|
|
3684
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
3693
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
3694
|
+
* for Ethereum).
|
|
3685
3695
|
*/
|
|
3686
3696
|
caip2: AppsAPI.Caip2;
|
|
3687
3697
|
/**
|
|
@@ -3701,8 +3711,8 @@ export declare namespace WalletRpcParams {
|
|
|
3701
3711
|
*/
|
|
3702
3712
|
chain_type?: 'ethereum';
|
|
3703
3713
|
/**
|
|
3704
|
-
* Body param: A hex-encoded string prefixed with '0x', capped at
|
|
3705
|
-
* (
|
|
3714
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
|
|
3715
|
+
* (150,000 bytes).
|
|
3706
3716
|
*/
|
|
3707
3717
|
experimental_data_suffix?: Hex;
|
|
3708
3718
|
/**
|
|
@@ -3768,7 +3778,8 @@ export declare namespace WalletRpcParams {
|
|
|
3768
3778
|
}
|
|
3769
3779
|
interface SolanaSignAndSendTransactionRpcInput {
|
|
3770
3780
|
/**
|
|
3771
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
3781
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
3782
|
+
* for Ethereum).
|
|
3772
3783
|
*/
|
|
3773
3784
|
caip2: AppsAPI.Caip2;
|
|
3774
3785
|
/**
|
|
@@ -4202,7 +4213,8 @@ export declare namespace WalletRpcParams {
|
|
|
4202
4213
|
*/
|
|
4203
4214
|
params: TronSendTransactionRpcInputParams;
|
|
4204
4215
|
/**
|
|
4205
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4216
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4217
|
+
* for Ethereum).
|
|
4206
4218
|
*/
|
|
4207
4219
|
caip2?: AppsAPI.Caip2;
|
|
4208
4220
|
/**
|