i want to buy an nft which is already listed on Magic Eden, is there a way to make it possible ?
i think the transaction would be like this :
instruction = buy(nft_address,receiver_adr,magic_eden_program_id, price) send_tx = client.send_transaction(transaction, sender_keypair)
nft_address : is the address of the nft that i want to buy receiver_adr : my public address magic_eden_program_id : M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K price : the price of the nft on magic eden market place
i have look at Sending solana transactions with python but i don't see how i can use it with magic eden.