docs: deprecate jsonParsed for getProgramAccounts (#18816)
Co-authored-by: 0xab <0xalexbai@gmail.com>
This commit is contained in:
parent
c70f8d26af
commit
548cf6a437
|
@ -1646,8 +1646,10 @@ export type GetProgramAccountsFilter = MemcmpFilter | DataSizeFilter;
|
||||||
export type GetProgramAccountsConfig = {
|
export type GetProgramAccountsConfig = {
|
||||||
/** Optional commitment level */
|
/** Optional commitment level */
|
||||||
commitment?: Commitment;
|
commitment?: Commitment;
|
||||||
/** Optional encoding for account data (default base64) */
|
/** Optional encoding for account data (default base64)
|
||||||
encoding?: 'base64' | 'jsonParsed';
|
* To use "jsonParsed" encoding, please refer to `getParsedProgramAccounts` in connection.ts
|
||||||
|
* */
|
||||||
|
encoding?: 'base64';
|
||||||
/** Optional data slice to limit the returned account data */
|
/** Optional data slice to limit the returned account data */
|
||||||
dataSlice?: DataSlice;
|
dataSlice?: DataSlice;
|
||||||
/** Optional array of filters to apply to accounts */
|
/** Optional array of filters to apply to accounts */
|
||||||
|
|
Loading…
Reference in New Issue