mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-19 10:18:05 +00:00
fix: use base64 for get_program_accounts
This commit is contained in:
@@ -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
|
# Retrieve the accounts that match the filter
|
||||||
response = await client.get_program_accounts(
|
response = await client.get_program_accounts(
|
||||||
amm_program_id, # AMM program ID
|
amm_program_id, # AMM program ID
|
||||||
encoding="jsonParsed",
|
encoding="base64",
|
||||||
filters=filters
|
filters=filters
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user