@solana/rpc-api 2.2.0 → 2.3.0-canary-20250708185953
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.
|
@@ -23,21 +23,21 @@ type SimulateTransactionConfigBase = Readonly<{
|
|
|
23
23
|
*/
|
|
24
24
|
minContextSlot?: Slot;
|
|
25
25
|
}>;
|
|
26
|
-
type SigVerifyAndReplaceRecentBlockhashConfig = Readonly<{
|
|
26
|
+
type SigVerifyAndReplaceRecentBlockhashConfig<TReplaceBlockhash extends boolean | undefined = false | undefined> = TReplaceBlockhash extends true ? Readonly<{
|
|
27
27
|
/** if `true` the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with `sigVerify`) */
|
|
28
28
|
replaceRecentBlockhash: true;
|
|
29
29
|
/** if `true` the transaction signatures will be verified (conflicts with `replaceRecentBlockhash`) */
|
|
30
30
|
sigVerify?: false;
|
|
31
|
-
}>
|
|
31
|
+
}> : Readonly<{
|
|
32
32
|
/** if `true` the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with `sigVerify`) */
|
|
33
|
-
replaceRecentBlockhash?:
|
|
33
|
+
replaceRecentBlockhash?: boolean;
|
|
34
34
|
/** if `true` the transaction signatures will be verified (conflicts with `replaceRecentBlockhash`) */
|
|
35
|
-
sigVerify
|
|
35
|
+
sigVerify?: false;
|
|
36
36
|
}> | Readonly<{
|
|
37
37
|
/** if `true` the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with `sigVerify`) */
|
|
38
38
|
replaceRecentBlockhash?: false;
|
|
39
39
|
/** if `true` the transaction signatures will be verified (conflicts with `replaceRecentBlockhash`) */
|
|
40
|
-
sigVerify
|
|
40
|
+
sigVerify: true;
|
|
41
41
|
}>;
|
|
42
42
|
type AccountsConfigWithBase64EncodingZstdCompression = Readonly<{
|
|
43
43
|
accounts: {
|
|
@@ -75,11 +75,6 @@ type SimulateTransactionApiResponseBase = Readonly<{
|
|
|
75
75
|
* blockhash or signature verification failure)
|
|
76
76
|
*/
|
|
77
77
|
logs: string[] | null;
|
|
78
|
-
/**
|
|
79
|
-
* The blockhash that was used to simulate the transaction when `replaceRecentBlockhash` is
|
|
80
|
-
* `true`
|
|
81
|
-
*/
|
|
82
|
-
replacementBlockhash?: TransactionBlockhashLifetime;
|
|
83
78
|
/** The most-recent return data generated by an instruction in the transaction */
|
|
84
79
|
returnData: Readonly<{
|
|
85
80
|
/** The return data itself, as base-64 encoded binary data */
|
|
@@ -95,7 +90,191 @@ type SimulateTransactionApiResponseWithAccounts<T extends AccountInfoBase> = Rea
|
|
|
95
90
|
accounts: (T | null)[];
|
|
96
91
|
}>;
|
|
97
92
|
type SimulateTransactionApiResponseWithInnerInstructions = Readonly<TransactionForFullMetaInnerInstructionsParsed | TransactionForFullMetaInnerInstructionsUnparsed>;
|
|
93
|
+
type SimulateTransactionApiResponseWithReplacementBlockhash = Readonly<{
|
|
94
|
+
/**
|
|
95
|
+
* The blockhash that was used to simulate the transaction when `replaceRecentBlockhash` is
|
|
96
|
+
* `true`
|
|
97
|
+
*/
|
|
98
|
+
replacementBlockhash: TransactionBlockhashLifetime;
|
|
99
|
+
}>;
|
|
98
100
|
export type SimulateTransactionApi = {
|
|
101
|
+
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
102
|
+
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithBase64Encoding & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & WithInnerInstructionsConfig): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData> & SimulateTransactionApiResponseWithInnerInstructions & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
103
|
+
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
104
|
+
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithBase64Encoding & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData> & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
105
|
+
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
106
|
+
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithBase64EncodingZstdCompression & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & WithInnerInstructionsConfig): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData> & SimulateTransactionApiResponseWithInnerInstructions & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
107
|
+
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
108
|
+
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithBase64EncodingZstdCompression & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData> & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
109
|
+
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
110
|
+
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithJsonParsedEncoding & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithJsonData> & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
111
|
+
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
112
|
+
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config?: SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & WithInnerInstructionsConfig): SolanaRpcResponse<Readonly<{
|
|
113
|
+
readonly accounts: null;
|
|
114
|
+
}> & SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithInnerInstructions & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
115
|
+
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
116
|
+
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config?: SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase): SolanaRpcResponse<Readonly<{
|
|
117
|
+
readonly accounts: null;
|
|
118
|
+
}> & SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
119
|
+
/**
|
|
120
|
+
* Simulate sending a transaction, fetch a list of accounts in their post-simulation state,
|
|
121
|
+
* obtain the list of inner instructions run, if any, and replace the transaction's blockhash
|
|
122
|
+
* with the most recent one.
|
|
123
|
+
*
|
|
124
|
+
* If the listed accounts have data, it will be returned in the response as a tuple whose first
|
|
125
|
+
* element is a base64-encoded string.
|
|
126
|
+
*
|
|
127
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
128
|
+
* response.
|
|
129
|
+
*
|
|
130
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
131
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
132
|
+
*
|
|
133
|
+
* {@label accounts-base64--with-inner-instructions--with-replacement-blockhash}
|
|
134
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
135
|
+
*/
|
|
136
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithBase64Encoding & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & WithInnerInstructionsConfig & {
|
|
137
|
+
encoding: 'base64';
|
|
138
|
+
}): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData> & SimulateTransactionApiResponseWithInnerInstructions & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
139
|
+
/**
|
|
140
|
+
* Simulate sending a transaction, fetch a list of accounts in their post-simulation state, and
|
|
141
|
+
* replace the transaction's blockhash with the most recent one.
|
|
142
|
+
*
|
|
143
|
+
* If the listed accounts have data, it will be returned in the response as a tuple whose first
|
|
144
|
+
* element is a base64-encoded string.
|
|
145
|
+
*
|
|
146
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
147
|
+
* response.
|
|
148
|
+
*
|
|
149
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
150
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
151
|
+
*
|
|
152
|
+
* {@label accounts-base64--no-inner-instructions--with-replacement-blockhash}
|
|
153
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
154
|
+
*/
|
|
155
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithBase64Encoding & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & {
|
|
156
|
+
encoding: 'base64';
|
|
157
|
+
}): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData> & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
158
|
+
/**
|
|
159
|
+
* Simulate sending a transaction, fetch a list of accounts in their post-simulation state,
|
|
160
|
+
* obtain the list of inner instructions run, if any, and replace the transaction's blockhash
|
|
161
|
+
* with the most recent one.
|
|
162
|
+
*
|
|
163
|
+
* If the listed accounts have data, it will first be compressed using
|
|
164
|
+
* [ZStandard](https://facebook.github.io/zstd/) and the result will be returned in the response
|
|
165
|
+
* as a tuple whose first element is a base64-encoded string.
|
|
166
|
+
*
|
|
167
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
168
|
+
* response.
|
|
169
|
+
*
|
|
170
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
171
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
172
|
+
*
|
|
173
|
+
* {@label accounts-base64-zstd-compressed--with-inner-instructions--with-replacement-blockhash}
|
|
174
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
175
|
+
*/
|
|
176
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithBase64EncodingZstdCompression & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & WithInnerInstructionsConfig & {
|
|
177
|
+
encoding: 'base64';
|
|
178
|
+
}): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData> & SimulateTransactionApiResponseWithInnerInstructions & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
179
|
+
/**
|
|
180
|
+
* Simulate sending a transaction, fetch a list of accounts in their post-simulation state, and
|
|
181
|
+
* replace the transaction's blockhash with the most recent one.
|
|
182
|
+
*
|
|
183
|
+
* If the listed accounts have data, it will first be compressed using
|
|
184
|
+
* [ZStandard](https://facebook.github.io/zstd/) and the result will be returned in the response
|
|
185
|
+
* as a tuple whose first element is a base64-encoded string.
|
|
186
|
+
*
|
|
187
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
188
|
+
* response.
|
|
189
|
+
*
|
|
190
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
191
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
192
|
+
*
|
|
193
|
+
* {@label accounts-base64-zstd-compressed--no-inner-instructions--with-replacement-blockhash}
|
|
194
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
195
|
+
*/
|
|
196
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithBase64EncodingZstdCompression & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & {
|
|
197
|
+
encoding: 'base64';
|
|
198
|
+
}): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedZStdCompressedData> & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
199
|
+
/**
|
|
200
|
+
* Simulate sending a transaction, fetch a list of accounts in their post-simulation state,
|
|
201
|
+
* obtain the list of inner instructions run, if any, and replace the transaction's blockhash
|
|
202
|
+
* with the most recent one.
|
|
203
|
+
*
|
|
204
|
+
* If the listed accounts have data, the server will attempt to process it using a parser
|
|
205
|
+
* specific to each account's owning program. If successful, the parsed data will be returned in
|
|
206
|
+
* the response as JSON. Otherwise, the raw account data will be returned in the response as a
|
|
207
|
+
* tuple whose first element is a base64-encoded string.
|
|
208
|
+
*
|
|
209
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
210
|
+
* response.
|
|
211
|
+
*
|
|
212
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
213
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
214
|
+
*
|
|
215
|
+
* {@label accounts-parsed--with-inner-instructions--with-replacement-blockhash}
|
|
216
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
217
|
+
*/
|
|
218
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithJsonParsedEncoding & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & WithInnerInstructionsConfig & {
|
|
219
|
+
encoding: 'base64';
|
|
220
|
+
}): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithJsonData> & SimulateTransactionApiResponseWithInnerInstructions & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
221
|
+
/**
|
|
222
|
+
* Simulate sending a transaction, fetch a list of accounts in their post-simulation state, and
|
|
223
|
+
* replace the transaction's blockhash with the most recent one.
|
|
224
|
+
*
|
|
225
|
+
* If the listed accounts have data, the server will attempt to process it using a parser
|
|
226
|
+
* specific to each account's owning program. If successful, the parsed data will be returned in
|
|
227
|
+
* the response as JSON. Otherwise, the raw account data will be returned in the response as a
|
|
228
|
+
* tuple whose first element is a base64-encoded string.
|
|
229
|
+
*
|
|
230
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
231
|
+
* response.
|
|
232
|
+
*
|
|
233
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
234
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
235
|
+
*
|
|
236
|
+
* {@label accounts-parsed--no-inner-instructions--with-replacement-blockhash}
|
|
237
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
238
|
+
*/
|
|
239
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: AccountsConfigWithJsonParsedEncoding & SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & {
|
|
240
|
+
encoding: 'base64';
|
|
241
|
+
}): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithJsonData> & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
242
|
+
/**
|
|
243
|
+
* Simulate sending a transaction, obtain the list of inner instructions run, if any, and
|
|
244
|
+
* replace the transaction's blockhash with the most recent one.
|
|
245
|
+
*
|
|
246
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
247
|
+
* response.
|
|
248
|
+
*
|
|
249
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
250
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
251
|
+
*
|
|
252
|
+
* {@label no-accounts--with-inner-instructions--with-replacement-blockhash}
|
|
253
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
254
|
+
*/
|
|
255
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & WithInnerInstructionsConfig & {
|
|
256
|
+
encoding: 'base64';
|
|
257
|
+
}): SolanaRpcResponse<Readonly<{
|
|
258
|
+
readonly accounts: null;
|
|
259
|
+
}> & SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithInnerInstructions & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
260
|
+
/**
|
|
261
|
+
* Simulate sending a transaction, and replace the transaction's blockhash with the most recent
|
|
262
|
+
* one.
|
|
263
|
+
*
|
|
264
|
+
* The replacement blockhash and the blockheight until which it is valid will be returned in the
|
|
265
|
+
* response.
|
|
266
|
+
*
|
|
267
|
+
* @param base64EncodedWireTransaction A fully signed transaction in wire format, as a base-64
|
|
268
|
+
* encoded string. Use {@link getBase64EncodedWireTransaction} to obtain this.
|
|
269
|
+
*
|
|
270
|
+
* {@label no-accounts--no-inner-instructions--with-replacement-blockhash}
|
|
271
|
+
* @see https://solana.com/docs/rpc/http/simulatetransaction
|
|
272
|
+
*/
|
|
273
|
+
simulateTransaction(base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SigVerifyAndReplaceRecentBlockhashConfig<true> & SimulateTransactionConfigBase & {
|
|
274
|
+
encoding: 'base64';
|
|
275
|
+
}): SolanaRpcResponse<Readonly<{
|
|
276
|
+
readonly accounts: null;
|
|
277
|
+
}> & SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithReplacementBlockhash>;
|
|
99
278
|
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
100
279
|
simulateTransaction(base58EncodedWireTransaction: Base58EncodedBytes, config: AccountsConfigWithBase64Encoding & SigVerifyAndReplaceRecentBlockhashConfig & SimulateTransactionConfigBase & WithInnerInstructionsConfig): SolanaRpcResponse<SimulateTransactionApiResponseBase & SimulateTransactionApiResponseWithAccounts<AccountInfoBase & AccountInfoWithBase64EncodedData> & SimulateTransactionApiResponseWithInnerInstructions>;
|
|
101
280
|
/** @deprecated Set `encoding` to `'base64'` when calling this method */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulateTransaction.d.ts","sourceRoot":"","sources":["../../src/simulateTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EACR,eAAe,EACf,gCAAgC,EAChC,8CAA8C,EAC9C,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,EACzB,UAAU,EACV,IAAI,EACJ,iBAAiB,EACjB,gBAAgB,EAChB,6CAA6C,EAC7C,+CAA+C,EAClD,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEvG,KAAK,6BAA6B,GAAG,QAAQ,CAAC;IAC1C;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC;CACzB,CAAC,CAAC;AAGH,KAAK,wCAAwC,
|
|
1
|
+
{"version":3,"file":"simulateTransaction.d.ts","sourceRoot":"","sources":["../../src/simulateTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EACR,eAAe,EACf,gCAAgC,EAChC,8CAA8C,EAC9C,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,EACzB,UAAU,EACV,IAAI,EACJ,iBAAiB,EACjB,gBAAgB,EAChB,6CAA6C,EAC7C,+CAA+C,EAClD,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,4BAA4B,EAAE,4BAA4B,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AAG,uBAAuB,CAAC,CAC5F,CAAC;IAEF;;;;;;;;OAQG;IACH,mBAAmB,CACf,4BAA4B,EAAE,4BAA4B,EAC1D,MAAM,EAAE,wCAAwC,GAC5C,6BAA6B,GAC7B,2BAA2B,GAAG;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,GACzD,iBAAiB,CAChB,QAAQ,CAAC;QAAE,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;KAAE,CAAC,GACjC,kCAAkC,GAClC,mDAAmD,CAC1D,CAAC;IAEF;;;;;;;;OAQG;IACH,mBAAmB,CACf,4BAA4B,EAAE,4BAA4B,EAC1D,MAAM,EAAE,wCAAwC,GAAG,6BAA6B,GAAG;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,GAC1G,iBAAiB,CAAC,QAAQ,CAAC;QAAE,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAA;KAAE,CAAC,GAAG,kCAAkC,CAAC,CAAC;CACpG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/rpc-api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0-canary-20250708185953",
|
|
4
4
|
"description": "Defines all default Solana RPC methods as types",
|
|
5
5
|
"exports": {
|
|
6
6
|
"edge-light": {
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
"maintained node versions"
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@solana/addresses": "2.
|
|
58
|
-
"@solana/codecs-strings": "2.
|
|
59
|
-
"@solana/codecs-core": "2.
|
|
60
|
-
"@solana/errors": "2.
|
|
61
|
-
"@solana/keys": "2.
|
|
62
|
-
"@solana/rpc-parsed-types": "2.
|
|
63
|
-
"@solana/rpc-spec": "2.
|
|
64
|
-
"@solana/rpc-
|
|
65
|
-
"@solana/rpc-
|
|
66
|
-
"@solana/transaction-messages": "2.
|
|
67
|
-
"@solana/transactions": "2.
|
|
57
|
+
"@solana/addresses": "2.3.0-canary-20250708185953",
|
|
58
|
+
"@solana/codecs-strings": "2.3.0-canary-20250708185953",
|
|
59
|
+
"@solana/codecs-core": "2.3.0-canary-20250708185953",
|
|
60
|
+
"@solana/errors": "2.3.0-canary-20250708185953",
|
|
61
|
+
"@solana/keys": "2.3.0-canary-20250708185953",
|
|
62
|
+
"@solana/rpc-parsed-types": "2.3.0-canary-20250708185953",
|
|
63
|
+
"@solana/rpc-spec": "2.3.0-canary-20250708185953",
|
|
64
|
+
"@solana/rpc-types": "2.3.0-canary-20250708185953",
|
|
65
|
+
"@solana/rpc-transformers": "2.3.0-canary-20250708185953",
|
|
66
|
+
"@solana/transaction-messages": "2.3.0-canary-20250708185953",
|
|
67
|
+
"@solana/transactions": "2.3.0-canary-20250708185953"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"typescript": ">=5.3.3"
|