solana

Python: request url and get contents

Python: request url and get contents Question: I am trying to get transaction history for the following address 9QgXqrgdbVU8KcpfskqJpAXKzbaYQJecgMAruSWoXDkM from the https://explorer.solana.com website. I have tried url="https://explorer.solana.com/address/9QgXqrgdbVU8KcpfskqJpAXKzbaYQJecgMAruSWoXDkM" output = requests.get(url).text print(output) However this gives me raw html output. How can I get the transactions from the url? Asked By: MathMan 99 || Source Answers: The …

Total answers: 1

Sending solana transactions with python

Sending solana transactions with python Question: I want to buy Solana coins and nfts with python and I am not sure, how transactions via the blockchain exactly work. Let’s say I want to do this transaction: https://solscan.io/tx/5fzuhifWuBFRPtRGHRRsWsJVHuoxcgEN4USzNBu3ZS8VxwL6Fdw8BFaqU4iAEGibQpEAJyG19QhB335K1HiRtQWX and this is my code: import solana.system_program as sp from solana.publickey import PublicKey from solana.account import Account from …

Total answers: 1