from web3 import Web3
w3 = Web3(Web3.HTTPProvider("https://YOUR_QUICKNODE_ENDPOINT_HERE.com"))
resp = w3.provider.make_request(
'bs_getLogs',
[{"address":"0xc78Be425090Dbd437532594D12267C5934Cc6c6f", "paging_options":{"logIndex":"3D", "blockNumber":"6423AC"}, "fromBlock":"earliest", "toBlock":"latest", "topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}]
)
print(resp)
require 'eth'
client = Eth::Client.create "https://YOUR_QUICKNODE_ENDPOINT_HERE.com"
payload = {
"id":1,
"jsonrpc":"2.0",
"method":"bs_getLogs",
"params": [{"address":"0xc78Be425090Dbd437532594D12267C5934Cc6c6f", "paging_options":{"logIndex":"3D", "blockNumber":"6423AC"}, "fromBlock":"earliest", "toBlock":"latest", "topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}]
}
response = client.send(payload.to_json)
puts response
const ethers = require("ethers");
(async () : {
const provider = new ethers.providers.JsonRpcProvider("https://YOUR_QUICKNODE_ENDPOINT_HERE.com");
const network = await provider.send(
"bs_getLogs",
[{"address":"0xc78Be425090Dbd437532594D12267C5934Cc6c6f", "paging_options":{"logIndex":"3D", "blockNumber":"6423AC"}, "fromBlock":"earliest", "toBlock":"latest", "topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}]
);
console.log(network);
})();
curl https://YOUR_QUICKNODE_ENDPOINT_HERE.com \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"bs_getLogs","params": [{"address":"0xc78Be425090Dbd437532594D12267C5934Cc6c6f", "paging_options":{"logIndex":"3D", "blockNumber":"6423AC"}, "fromBlock":"earliest", "toBlock":"latest", "topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"]}],"id":1,"jsonrpc":"2.0"}'