From bf275c338d66f9f3407b7e8853154aac139ae007 Mon Sep 17 00:00:00 2001 From: smypmsa Date: Sun, 30 Mar 2025 12:55:50 +0000 Subject: [PATCH] fix: use base64 for get_program_accounts --- learning-examples/get_pumpswap_pools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learning-examples/get_pumpswap_pools.py b/learning-examples/get_pumpswap_pools.py index c8e9d00..9019950 100644 --- a/learning-examples/get_pumpswap_pools.py +++ b/learning-examples/get_pumpswap_pools.py @@ -27,7 +27,7 @@ async def get_market_address_by_base_mint(base_mint_address: Pubkey, amm_program # Retrieve the accounts that match the filter response = await client.get_program_accounts( amm_program_id, # AMM program ID - encoding="jsonParsed", + encoding="base64", filters=filters )